public class ClusterTopologyState extends Object implements Externalizable
Constructor and Description |
---|
ClusterTopologyState() |
ClusterTopologyState(ClusterTopologyState other) |
ClusterTopologyState(int generation,
int numOfPartitions) |
Modifier and Type | Method and Description |
---|---|
void |
addGeneration(int generation,
int numOfPartitions,
int basePartitionToUpdate) |
void |
deletePartitionGeneration(int partitionId) |
int |
getCurrentGeneration() |
int |
getGenerationForPartition(int partitionId) |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
updateGeneration(int currentGeneration) |
void |
updatePartitionsGeneration(int from,
int to,
int generation) |
void |
writeExternal(ObjectOutput out) |
public ClusterTopologyState()
public ClusterTopologyState(int generation, int numOfPartitions)
public ClusterTopologyState(ClusterTopologyState other)
public void addGeneration(int generation, int numOfPartitions, int basePartitionToUpdate)
public void updatePartitionsGeneration(int from, int to, int generation)
public int getCurrentGeneration()
public int getGenerationForPartition(int partitionId)
public void deletePartitionGeneration(int partitionId)
public void updateGeneration(int currentGeneration)
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.