类 XClaimCommand
- 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.XClaimCommand
-
- 所有已实现的接口:
Command,Event,Serializable
public class XClaimCommand extends GenericKeyCommand
- 从以下版本开始:
- 2.6.0
- 作者:
- Leon Chen
- 另请参阅:
- 序列化表格
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 com.moilioncircle.redis.replicator.event.Event
Event.Context
-
-
字段概要
-
从类继承的字段 com.moilioncircle.redis.replicator.event.AbstractEvent
context
-
-
构造器概要
构造器 构造器 说明 XClaimCommand()XClaimCommand(byte[] key, byte[] group, byte[] consumer, long minIdle, byte[][] ids, Long idle, Long time, Long retryCount, boolean force, boolean justId, byte[] lastId)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 byte[]getConsumer()byte[]getGroup()LonggetIdle()byte[][]getIds()byte[]getLastId()longgetMinIdle()LonggetRetryCount()LonggetTime()booleanisForce()booleanisJustId()voidsetConsumer(byte[] consumer)voidsetForce(boolean force)voidsetGroup(byte[] group)voidsetIdle(Long idle)voidsetIds(byte[][] ids)voidsetJustId(boolean justId)voidsetLastId(byte[] lastId)voidsetMinIdle(long minIdle)voidsetRetryCount(Long retryCount)voidsetTime(Long time)-
从类继承的方法 com.moilioncircle.redis.replicator.cmd.impl.GenericKeyCommand
getKey, setKey
-
从类继承的方法 com.moilioncircle.redis.replicator.event.AbstractEvent
getContext, setContext
-
-
-
-
方法详细资料
-
getGroup
public byte[] getGroup()
-
setGroup
public void setGroup(byte[] group)
-
getConsumer
public byte[] getConsumer()
-
setConsumer
public void setConsumer(byte[] consumer)
-
getMinIdle
public long getMinIdle()
-
setMinIdle
public void setMinIdle(long minIdle)
-
getIds
public byte[][] getIds()
-
setIds
public void setIds(byte[][] ids)
-
getIdle
public Long getIdle()
-
setIdle
public void setIdle(Long idle)
-
getTime
public Long getTime()
-
setTime
public void setTime(Long time)
-
getRetryCount
public Long getRetryCount()
-
setRetryCount
public void setRetryCount(Long retryCount)
-
isForce
public boolean isForce()
-
setForce
public void setForce(boolean force)
-
isJustId
public boolean isJustId()
-
setJustId
public void setJustId(boolean justId)
-
getLastId
public byte[] getLastId()
-
setLastId
public void setLastId(byte[] lastId)
-
-