public class SenderState
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
FAILING |
protected static java.util.HashMap<Member,SenderState> |
memberStates |
static int |
READY |
static int |
SUSPECT |
Modifier and Type | Method and 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() |
public static final int READY
public static final int SUSPECT
public static final int FAILING
protected static java.util.HashMap<Member,SenderState> memberStates
public static SenderState getSenderState(Member member)
public static SenderState getSenderState(Member member, boolean create)
public static void removeSenderState(Member member)
public boolean isSuspect()
public void setSuspect()
public boolean isReady()
public void setReady()
public boolean isFailing()
public void setFailing()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.