RedisReplicaInstance.@Deprecated public class RedisSlaveInstance extends RedisReplicaInstance implements RedisInstance, Serializable
RedisReplicaInstance.StateRedisInstance.Role| Constructor and Description |
|---|
RedisSlaveInstance()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ReplicationPartner |
getMaster()
Deprecated.
|
RedisInstance.Role |
getRole()
Deprecated.
|
void |
setMaster(ReplicationPartner master)
Deprecated.
|
getState, getUpstream, setState, setUpstream, toStringpublic RedisInstance.Role getRole()
getRole in interface RedisInstancegetRole in class RedisReplicaInstanceRedisInstance.Role.SLAVEpublic ReplicationPartner getMaster()
public void setMaster(ReplicationPartner master)
Copyright © 2021 lettuce.io. All rights reserved.