public class ActiveElectionState extends GenericEntry implements ServiceControlled, Externalizable
ActiveElectionManager
and modified on Naming service if the candidate service
aquire a new state. The following states are available:
NOTE: This state is ServiceControlled
and can be modified only by service itself.
ActiveElectionManager
,
ActiveElectionState.State
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
ActiveElectionState.State
Service states
|
Constructor and Description |
---|
ActiveElectionState()
public no-args constructor
|
Modifier and Type | Method and Description |
---|---|
Entry |
fromString(String state) |
ActiveElectionState.State |
getState() |
void |
readExternal(ObjectInput in) |
void |
setState(ActiveElectionState.State state) |
void |
writeExternal(ObjectOutput out) |
public String state
public ActiveElectionState.State getState()
public void setState(ActiveElectionState.State state)
public Entry fromString(String state)
fromString
in class GenericEntry
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © GigaSpaces.