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