类 HSetCommand
- java.lang.Object
-
- com.moilioncircle.redis.replicator.event.AbstractEvent
-
- com.moilioncircle.redis.replicator.cmd.impl.AbstractCommand
-
- com.moilioncircle.redis.replicator.cmd.impl.GenericKeyCommand
-
- com.moilioncircle.redis.replicator.cmd.impl.HSetCommand
-
- 所有已实现的接口:
Command
,Event
,Serializable
public class HSetCommand extends GenericKeyCommand
- 从以下版本开始:
- 2.1.0
- 作者:
- Leon Chen
- 另请参阅:
- 序列化表格
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 com.moilioncircle.redis.replicator.event.Event
Event.Context
-
-
字段概要
-
从类继承的字段 com.moilioncircle.redis.replicator.event.AbstractEvent
context
-
-
构造器概要
构造器 构造器 说明 HSetCommand()
HSetCommand(byte[] key, byte[] field, byte[] value)
HSetCommand(byte[] key, Map<byte[],byte[]> fields)
-
方法概要
所有方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 byte[]
getField()
已过时。UsegetFields()
instead. will remove this method in 4.0.0Map<byte[],byte[]>
getFields()
byte[]
getValue()
已过时。UsegetFields()
instead. will remove this method in 4.0.0void
setField(byte[] field)
已过时。UsesetFields(Map)
instead. will remove this method in 4.0.0void
setFields(Map<byte[],byte[]> fields)
void
setValue(byte[] value)
已过时。UsesetFields(Map)
instead. will remove this method in 4.0.0-
从类继承的方法 com.moilioncircle.redis.replicator.cmd.impl.GenericKeyCommand
getKey, setKey
-
从类继承的方法 com.moilioncircle.redis.replicator.event.AbstractEvent
getContext, setContext
-
-
-
-
构造器详细资料
-
HSetCommand
public HSetCommand()
-
HSetCommand
public HSetCommand(byte[] key, byte[] field, byte[] value)
-
HSetCommand
public HSetCommand(byte[] key, Map<byte[],byte[]> fields)
-
-
方法详细资料
-
getField
@Deprecated public byte[] getField()
已过时。UsegetFields()
instead. will remove this method in 4.0.0
-
setField
@Deprecated public void setField(byte[] field)
已过时。UsesetFields(Map)
instead. will remove this method in 4.0.0
-
getValue
@Deprecated public byte[] getValue()
已过时。UsegetFields()
instead. will remove this method in 4.0.0
-
setValue
@Deprecated public void setValue(byte[] value)
已过时。UsesetFields(Map)
instead. will remove this method in 4.0.0
-
getFields
public Map<byte[],byte[]> getFields()
-
setFields
public void setFields(Map<byte[],byte[]> fields)
-
-