public static final class Info.Replication.Slave extends RedisServer implements Serializable
限定符和类型 | 类和说明 |
---|---|
static class |
Info.Replication.Slave.Key |
static class |
Info.Replication.Slave.SlaveState |
DEFAULT_DATABASE, DEFAULT_HOST, DEFAULT_PORT, DEFAULT_SENTINEL_PORT
构造器和说明 |
---|
Slave(Properties properties) |
限定符和类型 | 方法和说明 |
---|---|
Integer |
getLag()
获取复制延迟
|
Integer |
getOffset()
获取复制偏移量
|
Info.Replication.Slave.SlaveState |
getState()
获取从服务器状态
|
String |
toString() |
asString, get, getConfigEpoch, getDownAfterMilliseconds, getFailoverTimeout, getFlags, getInfoRefresh, getIp, getLastOkPingReply, getLastPingReply, getLastPingSent, getLinkPendingCommands, getLinkRefcount, getNumOtherSentinels, getNumSlaves, getODownTime, getParallelSyncs, getProperties, getQuorum, getRoleReported, getRoleReportedTime, getRunId, getSDownTime
public Slave(Properties properties)
Copyright © 2022 buession.com Inc.. All rights reserved.