Class MultiSourceSingleFileIdleStateData
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.backlog.multisourcesinglefile.MultiSourceSingleFileIdleStateData
- All Implemented Interfaces:
IIdleStateData,SmartExternalizable,Externalizable,Serializable
- Since:
- 9.0
- Author:
- idan, eitan
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMultiSourceSingleFileIdleStateData(long lastConfirmedKey, long lastReceivedKey) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
MultiSourceSingleFileIdleStateData
public MultiSourceSingleFileIdleStateData() -
MultiSourceSingleFileIdleStateData
public MultiSourceSingleFileIdleStateData(long lastConfirmedKey, long lastReceivedKey)
-
-
Method Details
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceIIdleStateData
-
getLastConfirmedKey
public long getLastConfirmedKey() -
getLastReceivedKey
public long getLastReceivedKey() -
toString
-
size
public long size()- Specified by:
sizein interfaceIIdleStateData
-