public class ReplicationPartner extends Object implements Serializable
| Constructor and Description |
|---|
ReplicationPartner() |
ReplicationPartner(HostAndPort host,
long replicationOffset)
Constructs a replication partner.
|
| Modifier and Type | Method and Description |
|---|---|
HostAndPort |
getHost() |
long |
getReplicationOffset() |
void |
setHost(HostAndPort host) |
void |
setReplicationOffset(long replicationOffset) |
String |
toString() |
public ReplicationPartner()
public ReplicationPartner(HostAndPort host, long replicationOffset)
host - host information, must not be nullreplicationOffset - the replication offsetpublic HostAndPort getHost()
public long getReplicationOffset()
public void setHost(HostAndPort host)
public void setReplicationOffset(long replicationOffset)
Copyright © 2021 lettuce.io. All rights reserved.