public class ObjectInfo extends Object
JRedis#debug(String)
Constructor and Description |
---|
ObjectInfo(String keyAddress,
long keyRefCount,
ObjectEncoding encoding,
long serializedLength,
long lru,
long lruSecondsIdle) |
Modifier and Type | Method and Description |
---|---|
ObjectEncoding |
getEncoding() |
String |
getKeyAddress() |
long |
getKeyRefCount() |
static long |
toLong(String addressStrRep)
Convenience method to convert the address info to long.
|
String |
toString() |
static ObjectInfo |
valueOf(String strRep)
Strictly speaking, this doesn't belong here but cuts down on redundant
code.
|
public ObjectInfo(String keyAddress, long keyRefCount, ObjectEncoding encoding, long serializedLength, long lru, long lruSecondsIdle)
public String getKeyAddress()
String
representation of hex address.
Ex: "0x100d60"public long getKeyRefCount()
public ObjectEncoding getEncoding()
public static long toLong(String addressStrRep)
addressStrRep
- public static final ObjectInfo valueOf(String strRep)
ObjectInfo
.strRep
- ObjectInfo
Copyright © 2009–2015. All rights reserved.