Class ReplicationEndpointDetails
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.router.ReplicationEndpointDetails
- All Implemented Interfaces:
Textualizable,SmartExternalizable,Externalizable,Serializable
public class ReplicationEndpointDetails
extends Object
implements SmartExternalizable, Textualizable
Contains replication endpoint details
- Since:
- 9.0.1
- Author:
- eitany
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ReplicationEndpointDetailscreateBackwardEndpointDetails(String lookupName, Object uniqueId) Deprecated.Should only be used for backward conversion details prior of 9.0.1static ReplicationEndpointDetailscreateMyEndpointDetails(String lookupName, Object uniqueId) booleanlonggetPid()This can return null if the endpoint which generated this is older than 9.0.1 because this code is from 9.0.1 any older version will convert to a semi complete ReplicationEndpointDetailsinthashCode()voidtoString()voidtoText(Textualizer textualizer) voidMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
ReplicationEndpointDetails
public ReplicationEndpointDetails()
-
-
Method Details
-
createMyEndpointDetails
public static ReplicationEndpointDetails createMyEndpointDetails(String lookupName, Object uniqueId) -
cloneWithCurrentVersion
-
createBackwardEndpointDetails
@Deprecated public static ReplicationEndpointDetails createBackwardEndpointDetails(String lookupName, Object uniqueId) Deprecated.Should only be used for backward conversion details prior of 9.0.1 -
getUniqueId
-
getLookupName
-
getConnectionDetails
-
getHostname
-
getPid
public long getPid() -
getPlatformLogicalVersion
This can return null if the endpoint which generated this is older than 9.0.1 because this code is from 9.0.1 any older version will convert to a semi complete ReplicationEndpointDetails -
hashCode
public int hashCode() -
equals
-
toString
-
toText
- Specified by:
toTextin interfaceTextualizable
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-