类 KeyValuePair<K,V>
- java.lang.Object
-
- com.moilioncircle.redis.replicator.event.AbstractEvent
-
- com.moilioncircle.redis.replicator.rdb.datatype.KeyValuePair<K,V>
-
- 所有已实现的接口:
Event,Serializable
- 直接已知子类:
BatchedKeyValuePair,ContextKeyValuePair,DumpKeyValuePair,KeyStringValueByteArrayIterator,KeyStringValueHash,KeyStringValueList,KeyStringValueMapEntryIterator,KeyStringValueModule,KeyStringValueSet,KeyStringValueStream,KeyStringValueString,KeyStringValueZSet,KeyStringValueZSetEntryIterator
public class KeyValuePair<K,V> extends AbstractEvent
- 从以下版本开始:
- 2.1.0
- 作者:
- Leon Chen
- 另请参阅:
- 序列化表格
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 com.moilioncircle.redis.replicator.event.Event
Event.Context
-
-
字段概要
字段 修饰符和类型 字段 说明 protected DBdbprotected EvictTypeevictTypeprotected LongevictValueprotected ExpiredTypeexpiredTypeprotected LongexpiredValueprotected Kkeyprotected Vvalueprotected intvalueRdbType-
从类继承的字段 com.moilioncircle.redis.replicator.event.AbstractEvent
context
-
-
构造器概要
构造器 构造器 说明 KeyValuePair()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 DBgetDb()EvictTypegetEvictType()LonggetEvictValue()LonggetExpiredMs()IntegergetExpiredSeconds()ExpiredTypegetExpiredType()LonggetExpiredValue()KgetKey()VgetValue()intgetValueRdbType()voidsetDb(DB db)voidsetEvictType(EvictType evictType)voidsetEvictValue(Long evictValue)voidsetExpiredType(ExpiredType expiredType)voidsetExpiredValue(Long expiredValue)voidsetKey(K key)voidsetValue(V value)voidsetValueRdbType(int valueRdbType)-
从类继承的方法 com.moilioncircle.redis.replicator.event.AbstractEvent
getContext, setContext
-
-
-
-
方法详细资料
-
getValueRdbType
public int getValueRdbType()
-
setValueRdbType
public void setValueRdbType(int valueRdbType)
-
getExpiredType
public ExpiredType getExpiredType()
-
setExpiredType
public void setExpiredType(ExpiredType expiredType)
-
getExpiredValue
public Long getExpiredValue()
-
setExpiredValue
public void setExpiredValue(Long expiredValue)
-
getEvictType
public EvictType getEvictType()
-
setEvictType
public void setEvictType(EvictType evictType)
-
getEvictValue
public Long getEvictValue()
-
setEvictValue
public void setEvictValue(Long evictValue)
-
getKey
public K getKey()
-
setKey
public void setKey(K key)
-
getValue
public V getValue()
-
setValue
public void setValue(V value)
-
getDb
public DB getDb()
-
setDb
public void setDb(DB db)
-
getExpiredSeconds
public Integer getExpiredSeconds()
- 返回:
- expiredValue as Integer
-
getExpiredMs
public Long getExpiredMs()
- 返回:
- expiredValue as Long
-
-