Command
, Event
, Serializable
public class XAddCommand extends AbstractCommand
Event.Context
context
构造器 | 说明 |
---|---|
XAddCommand() |
|
XAddCommand(byte[] key,
MaxLen maxLen,
byte[] id,
Map<byte[],byte[]> fields) |
限定符和类型 | 方法 | 说明 |
---|---|---|
Map<byte[],byte[]> |
getFields() |
|
byte[] |
getId() |
|
byte[] |
getKey() |
|
MaxLen |
getMaxLen() |
|
void |
setFields(Map<byte[],byte[]> fields) |
|
void |
setId(byte[] id) |
|
void |
setKey(byte[] key) |
|
void |
setMaxLen(MaxLen maxLen) |
getContext, setContext
public MaxLen getMaxLen()
public void setMaxLen(MaxLen maxLen)
public byte[] getId()
public void setId(byte[] id)
public Map<byte[],byte[]> getFields()
public void setFields(Map<byte[],byte[]> fields)
public byte[] getKey()
public void setKey(byte[] key)
Copyright © 2019. All rights reserved.