| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.spy.memcached.compat.SpyObject
net.spy.memcached.transcoders.IntegerTranscoder
public final class IntegerTranscoder
Transcoder that serializes and unserializes longs.
| Constructor Summary | |
|---|---|
IntegerTranscoder()
 | 
|
| Method Summary | |
|---|---|
 boolean | 
asyncDecode(CachedData d)
Should the transcoder be run asyncronously.  | 
 Integer | 
decode(CachedData d)
Decode the cached object into the object it represents.  | 
 CachedData | 
encode(Integer l)
Encode the given object for storage.  | 
 int | 
getMaxSize()
Get the maximum size of objects handled by this transcoder.  | 
| Methods inherited from class net.spy.memcached.compat.SpyObject | 
|---|
getLogger | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public IntegerTranscoder()
| Method Detail | 
|---|
public boolean asyncDecode(CachedData d)
Transcoder
asyncDecode in interface Transcoder<Integer>public CachedData encode(Integer l)
Transcoder
encode in interface Transcoder<Integer>l - the object
public Integer decode(CachedData d)
Transcoder
decode in interface Transcoder<Integer>d - the data
public int getMaxSize()
Transcoder
getMaxSize in interface Transcoder<Integer>
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||