|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.spy.memcached.CachedData
public final class CachedData
Cached data with its attributes.
| Field Summary | |
|---|---|
static int |
MAX_SIZE
The maximum size that should be considered storing in a server. |
| Constructor Summary | |
|---|---|
CachedData(int f,
byte[] d,
int maxSize)
Get a CachedData instance for the given flags and byte array. |
|
| Method Summary | |
|---|---|
byte[] |
getData()
Get the stored data. |
int |
getFlags()
Get the flags stored along with this value. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int MAX_SIZE
| Constructor Detail |
|---|
public CachedData(int f,
byte[] d,
int maxSize)
f - the flagsd - the datamaxSize - the maximum allowable size.| Method Detail |
|---|
public byte[] getData()
public int getFlags()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||