类 SetCommand
-
- 所有已实现的接口:
Command,Event,Serializable
public class SetCommand extends GenericKeyValueCommand
- 从以下版本开始:
- 2.1.0
- 作者:
- Leon Chen
- 另请参阅:
- 序列化表格
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 com.moilioncircle.redis.replicator.event.Event
Event.Context
-
-
字段概要
-
从类继承的字段 com.moilioncircle.redis.replicator.event.AbstractEvent
context
-
-
构造器概要
构造器 构造器 说明 SetCommand()SetCommand(byte[] key, byte[] value, boolean keepTtl, ExpiredType expiredType, Long expiredValue, ExistType existType)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ExistTypegetExistType()ExpiredTypegetExpiredType()LonggetExpiredValue()booleangetKeepTtl()voidsetExistType(ExistType existType)voidsetExpiredType(ExpiredType expiredType)voidsetExpiredValue(Long expiredValue)voidsetKeepTtl(boolean keepTtl)-
从类继承的方法 com.moilioncircle.redis.replicator.cmd.impl.GenericKeyValueCommand
getValue, setValue
-
从类继承的方法 com.moilioncircle.redis.replicator.cmd.impl.GenericKeyCommand
getKey, setKey
-
从类继承的方法 com.moilioncircle.redis.replicator.event.AbstractEvent
getContext, setContext
-
-
-
-
构造器详细资料
-
SetCommand
public SetCommand()
-
SetCommand
public SetCommand(byte[] key, byte[] value, boolean keepTtl, ExpiredType expiredType, Long expiredValue, ExistType existType)
-
-
方法详细资料
-
getKeepTtl
public boolean getKeepTtl()
-
setKeepTtl
public void setKeepTtl(boolean keepTtl)
-
getExpiredType
public ExpiredType getExpiredType()
-
setExpiredType
public void setExpiredType(ExpiredType expiredType)
-
getExpiredValue
public Long getExpiredValue()
-
setExpiredValue
public void setExpiredValue(Long expiredValue)
-
getExistType
public ExistType getExistType()
-
setExistType
public void setExistType(ExistType existType)
-
-