public class MVCCGenerationsState extends Object implements SmartExternalizable, ISwapExternalizable, Serializable
Constructor and Description |
---|
MVCCGenerationsState() |
MVCCGenerationsState(long nextGeneration,
long completedGeneration,
Set<Long> uncompletedGenerations) |
Modifier and Type | Method and Description |
---|---|
void |
addUncompletedGeneration(long generation) |
static MVCCGenerationsState |
empty() |
boolean |
equals(Object o) |
long |
getCompletedGeneration() |
Set<Long> |
getCopyOfUncompletedGenerationsSet() |
long |
getNextGeneration() |
int |
hashCode() |
boolean |
isUncompletedGeneration(long generation) |
void |
readExternal(ObjectInput in) |
void |
readFromSwap(ObjectInput in) |
void |
removeFromUncompletedGenerations(Set<Long> completedSet) |
static MVCCGenerationsState |
revertGenerationState(long generationToRevert) |
void |
setCompletedGeneration(long completedGeneration) |
void |
setNextGeneration(long nextGeneration) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
void |
writeToSwap(ObjectOutput out) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
enabledSmartExternalizableWithReference
public MVCCGenerationsState(long nextGeneration, long completedGeneration, Set<Long> uncompletedGenerations)
public MVCCGenerationsState()
public static MVCCGenerationsState empty()
public static MVCCGenerationsState revertGenerationState(long generationToRevert)
public long getNextGeneration()
public void setNextGeneration(long nextGeneration)
public long getCompletedGeneration()
public void setCompletedGeneration(long completedGeneration)
public boolean isUncompletedGeneration(long generation)
public void addUncompletedGeneration(long generation)
public void removeFromUncompletedGenerations(Set<Long> completedSet)
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
public void writeToSwap(ObjectOutput out) throws IOException
writeToSwap
in interface ISwapExternalizable
IOException
public void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap
in interface ISwapExternalizable
IOException
ClassNotFoundException
Copyright © GigaSpaces.