Package com.sleepycat.db
Class ReplicationManagerSiteInfo
java.lang.Object
com.sleepycat.db.ReplicationManagerSiteInfo
A simple wrapper class to hold information needed to define a replication site.
ReplicationManagerSiteInfo objects are returned by
Environment.getReplicationManagerSiteList
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe replication site's addressintThe replication site's identifier -
Constructor Summary
ConstructorsConstructorDescriptionReplicationManagerSiteInfo(ReplicationHostAddress hostAddr, int eid) Create a ReplicationManagerSiteInfo with the given information, isConnected defaults to false.ReplicationManagerSiteInfo(ReplicationHostAddress hostAddr, int eid, boolean isConnected) Create a ReplicationManagerSiteInfo with the given information.ReplicationManagerSiteInfo(ReplicationHostAddress hostAddr, int eid, boolean isConnected, boolean isPeer) Create a ReplicationManagerSiteInfo with the given information. -
Method Summary
Modifier and TypeMethodDescriptionThe status of the replication site's connection.booleanDeprecated.booleanisPeer()The replication site is a peer.
-
Field Details
-
addr
The replication site's address -
eid
public int eidThe replication site's identifier
-
-
Constructor Details
-
ReplicationManagerSiteInfo
Create a ReplicationManagerSiteInfo with the given information, isConnected defaults to false. -
ReplicationManagerSiteInfo
Create a ReplicationManagerSiteInfo with the given information. -
ReplicationManagerSiteInfo
public ReplicationManagerSiteInfo(ReplicationHostAddress hostAddr, int eid, boolean isConnected, boolean isPeer) Create a ReplicationManagerSiteInfo with the given information.
-
-
Method Details
-
getConnectionStatus
The status of the replication site's connection. -
isConnected
Deprecated.Replaced bygetConnectionStatus()The replication site is connected. -
isPeer
public boolean isPeer()The replication site is a peer.
-
getConnectionStatus()