public abstract class AbstractReplicationPacket<T> extends Object implements SmartExternalizable, Textualizable
Constructor and Description |
---|
AbstractReplicationPacket() |
Modifier and Type | Method and Description |
---|---|
abstract T |
accept(IIncomingReplicationFacade incomingReplicationFacade)
Process the replication packet at the target side.
|
ReplicationEndpointDetails |
getSourceEndpointDetails() |
String |
getSourceLookupName() |
Object |
getSourceUniqueId() |
void |
readExternal(ObjectInput in) |
protected abstract void |
readExternalImpl(ObjectInput in,
PlatformLogicalVersion endpointLogicalVersion) |
void |
setSourceEndpointDetails(ReplicationEndpointDetails sourceEndpointDetails) |
String |
toIdString() |
String |
toString() |
void |
toText(Textualizer textualizer) |
void |
writeExternal(ObjectOutput out) |
protected abstract void |
writeExternalImpl(ObjectOutput out,
PlatformLogicalVersion endpointLogicalVersion) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
enabledSmartExternalizableWithReference
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
protected abstract void writeExternalImpl(ObjectOutput out, PlatformLogicalVersion endpointLogicalVersion) throws IOException
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
protected abstract void readExternalImpl(ObjectInput in, PlatformLogicalVersion endpointLogicalVersion) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public void setSourceEndpointDetails(ReplicationEndpointDetails sourceEndpointDetails)
public ReplicationEndpointDetails getSourceEndpointDetails()
public String getSourceLookupName()
public Object getSourceUniqueId()
public abstract T accept(IIncomingReplicationFacade incomingReplicationFacade)
sourceMemberLookupName
- source of the packetreplicationNode
- target replication nodepublic void toText(Textualizer textualizer)
toText
in interface Textualizable
public String toIdString()
Copyright © GigaSpaces.