Class DirectPersistencyOverflowListSegment
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.directPersistency.DirectPersistencyOverflowListSegment
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable
the list segment where the ops list is overflowen to persistency
- Since:
- 10.2
- Author:
- yechielf
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlongintlongbooleanisEmpty()booleanisFull()voidvoidintsyncToRedologConfirmation(IDirectPersistencySyncHandler main, long confirmed) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Field Details
-
OVERFLOW_ELEMENT_MAX_SIZE
public static final int OVERFLOW_ELEMENT_MAX_SIZE- See Also:
-
-
Constructor Details
-
DirectPersistencyOverflowListSegment
public DirectPersistencyOverflowListSegment(long generationId, long seq) -
DirectPersistencyOverflowListSegment
public DirectPersistencyOverflowListSegment()
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
isFull
public boolean isFull() -
add
-
remove
-
getNumElements
public int getNumElements() -
syncToRedologConfirmation
-
getGenerationId
public long getGenerationId() -
getSequenceNumber
public long getSequenceNumber() -
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-