Class AbstractReplicationPacket<T>
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.router.AbstractReplicationPacket<T>
- All Implemented Interfaces:
Textualizable,SmartExternalizable,Externalizable,Serializable
- Direct Known Subclasses:
AbstractGroupNameReplicationPacket,FetchEndpointDetailsPacket,NextReplicaStatePacket,PingPacket,QueryRemoteClusterTopologyPacket,ReplicaFetchDataPacket,SinkEstablishConnectionPacket
public abstract class AbstractReplicationPacket<T>
extends Object
implements SmartExternalizable, Textualizable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Taccept(IIncomingReplicationFacade incomingReplicationFacade) Process the replication packet at the target side.voidprotected abstract voidreadExternalImpl(ObjectInput in, PlatformLogicalVersion endpointLogicalVersion) voidsetSourceEndpointDetails(ReplicationEndpointDetails sourceEndpointDetails) toString()voidtoText(Textualizer textualizer) voidprotected abstract voidwriteExternalImpl(ObjectOutput out, PlatformLogicalVersion endpointLogicalVersion) 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
-
AbstractReplicationPacket
public AbstractReplicationPacket()
-
-
Method Details
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
writeExternalImpl
protected abstract void writeExternalImpl(ObjectOutput out, PlatformLogicalVersion endpointLogicalVersion) throws IOException - Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
readExternalImpl
protected abstract void readExternalImpl(ObjectInput in, PlatformLogicalVersion endpointLogicalVersion) throws IOException, ClassNotFoundException - Throws:
IOExceptionClassNotFoundException
-
setSourceEndpointDetails
-
getSourceEndpointDetails
-
getSourceLookupName
-
getSourceUniqueId
-
accept
Process the replication packet at the target side.- Parameters:
sourceMemberLookupName- source of the packetreplicationNode- target replication node- Returns:
- process result
-
toString
-
toText
- Specified by:
toTextin interfaceTextualizable
-
toIdString
-