Class CheckSourceChannelPacket
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.router.AbstractReplicationPacket<T>
com.gigaspaces.internal.cluster.node.impl.router.AbstractGroupNameReplicationPacket<Boolean>
com.gigaspaces.internal.cluster.node.impl.packets.CheckSourceChannelPacket
- All Implemented Interfaces:
Textualizable,SmartExternalizable,Externalizable,Serializable
Replication packet that is used by a replication target to check if the source is still
considered as the source of that target
- Since:
- 8.0
- Author:
- eitany
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCheckSourceChannelPacket(String groupName, Object targetUniqueId, boolean checkExistanceOnly) -
Method Summary
Modifier and TypeMethodDescriptionaccept(IIncomingReplicationFacade replicationFacade) Process the replication packet at the target side.voidreadExternalImpl(ObjectInput in, PlatformLogicalVersion endpointLogicalVersion) voidtoText(Textualizer textualizer) voidwriteExternalImpl(ObjectOutput out, PlatformLogicalVersion endpointLogicalVersion) Methods inherited from class com.gigaspaces.internal.cluster.node.impl.router.AbstractGroupNameReplicationPacket
getGroupName, getTargetGroup, readExternal, writeExternalMethods inherited from class com.gigaspaces.internal.cluster.node.impl.router.AbstractReplicationPacket
getSourceEndpointDetails, getSourceLookupName, getSourceUniqueId, setSourceEndpointDetails, toIdString, toStringMethods 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
-
CheckSourceChannelPacket
public CheckSourceChannelPacket() -
CheckSourceChannelPacket
-
-
Method Details
-
accept
Description copied from class:AbstractReplicationPacketProcess the replication packet at the target side.- Specified by:
acceptin classAbstractReplicationPacket<Boolean>- Returns:
- process result
-
readExternalImpl
public void readExternalImpl(ObjectInput in, PlatformLogicalVersion endpointLogicalVersion) throws IOException, ClassNotFoundException - Specified by:
readExternalImplin classAbstractReplicationPacket<Boolean>- Throws:
IOExceptionClassNotFoundException
-
writeExternalImpl
public void writeExternalImpl(ObjectOutput out, PlatformLogicalVersion endpointLogicalVersion) throws IOException - Specified by:
writeExternalImplin classAbstractReplicationPacket<Boolean>- Throws:
IOException
-
toText
- Specified by:
toTextin interfaceTextualizable- Overrides:
toTextin classAbstractGroupNameReplicationPacket<Boolean>
-