/** * Get the number of connected replicas. * * @return * @since 2.1 */ public Long getNumberReplicas() { return getLongValueOf(INFO.NUMBER_SLAVES); }
public Long getPendingCommands() { return getLongValueOf(INFO.PENDING_COMMANDS); }
public Long getFailoverTimeout() { return getLongValueOf(INFO.FAILOVER_TIMEOUT); }
public Long getParallelSyncs() { return getLongValueOf(INFO.PARALLEL_SYNCS); }
public Long getLastOkPingReply() { return getLongValueOf(INFO.LAST_OK_PING_REPLY); }
public Long roleReportedTime() { return getLongValueOf(INFO.ROLE_REPORTED_TIME); }
public Long getLastPingSent() { return getLongValueOf(INFO.LAST_PING_SENT); }
public Long getDownAfterMilliseconds() { return getLongValueOf(INFO.DOWN_AFTER_MILLISECONDS); }
public Long getInfoRefresh() { return getLongValueOf(INFO.INFO_REFRESH); }
public Long getConfigEpoch() { return getLongValueOf(INFO.CONFIG_EPOCH); }
public Long getNumberOtherSentinels() { return getLongValueOf(INFO.NUMBER_OTHER_SENTINELS); }
public Long getQuorum() { return getLongValueOf(INFO.QUORUM); }
/** * Get the number of connected replicas. * * @return * @since 2.1 */ public Long getNumberReplicas() { return getLongValueOf(INFO.NUMBER_SLAVES); }
/** * Get the number of connected replicas. * * @return * @since 2.1 */ public Long getNumberReplicas() { return getLongValueOf(INFO.NUMBER_SLAVES); }
public Long getLastOkPingReply() { return getLongValueOf(INFO.LAST_OK_PING_REPLY); }
public Long getConfigEpoch() { return getLongValueOf(INFO.CONFIG_EPOCH); }
public Long getFailoverTimeout() { return getLongValueOf(INFO.FAILOVER_TIMEOUT); }
public Long getDownAfterMilliseconds() { return getLongValueOf(INFO.DOWN_AFTER_MILLISECONDS); }
public Long getInfoRefresh() { return getLongValueOf(INFO.INFO_REFRESH); }
public Long getQuorum() { return getLongValueOf(INFO.QUORUM); }