| 
||||||||||
| 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
Maximum data size allowed by memcached.  | 
| Constructor Summary | |
|---|---|
CachedData(int f,
           byte[] d,
           int max_size)
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.  | 
 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 max_size)
f - the flagsd - the datamax_size - the maximum allowable size.| Method Detail | 
|---|
public byte[] getData()
public int getFlags()
public String toString()
toString in class Object
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||