|
Berkeley DB version 5.3.28 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sleepycat.db.ReplicationManagerSiteInfo
public class ReplicationManagerSiteInfo
A simple wrapper class to hold information needed to define a replication site.
ReplicationManagerSiteInfo objects are returned by
Environment.getReplicationManagerSiteList
Field Summary | |
---|---|
ReplicationHostAddress |
addr
The replication site's address |
int |
eid
The replication site's identifier |
Constructor Summary | |
---|---|
ReplicationManagerSiteInfo(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 | |
---|---|
ReplicationManagerConnectionStatus |
getConnectionStatus()
The status of the replication site's connection. |
boolean |
isConnected()
Deprecated. Replaced by getConnectionStatus() |
boolean |
isPeer()
The replication site is a peer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public ReplicationHostAddress addr
public int eid
Constructor Detail |
---|
public ReplicationManagerSiteInfo(ReplicationHostAddress hostAddr, int eid)
public ReplicationManagerSiteInfo(ReplicationHostAddress hostAddr, int eid, boolean isConnected)
public ReplicationManagerSiteInfo(ReplicationHostAddress hostAddr, int eid, boolean isConnected, boolean isPeer)
Method Detail |
---|
public ReplicationManagerConnectionStatus getConnectionStatus()
@Deprecated public boolean isConnected()
getConnectionStatus()
public boolean isPeer()
|
Berkeley DB version 5.3.28 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |