Class SenderState
- java.lang.Object
-
- org.apache.catalina.tribes.transport.SenderState
-
public class SenderState extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
FAILING
protected static java.util.concurrent.ConcurrentMap<Member,SenderState>
memberStates
static int
READY
static int
SUSPECT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SenderState
getSenderState(Member member)
static SenderState
getSenderState(Member member, boolean create)
boolean
isFailing()
boolean
isReady()
boolean
isSuspect()
static void
removeSenderState(Member member)
void
setFailing()
void
setReady()
void
setSuspect()
-
-
-
Field Detail
-
READY
public static final int READY
- See Also:
- Constant Field Values
-
SUSPECT
public static final int SUSPECT
- See Also:
- Constant Field Values
-
FAILING
public static final int FAILING
- See Also:
- Constant Field Values
-
memberStates
protected static final java.util.concurrent.ConcurrentMap<Member,SenderState> memberStates
-
-
Method Detail
-
getSenderState
public static SenderState getSenderState(Member member)
-
getSenderState
public static SenderState getSenderState(Member member, boolean create)
-
removeSenderState
public static void removeSenderState(Member member)
-
isSuspect
public boolean isSuspect()
- Returns:
- boolean
-
setSuspect
public void setSuspect()
-
isReady
public boolean isReady()
-
setReady
public void setReady()
-
isFailing
public boolean isFailing()
-
setFailing
public void setFailing()
-
-