|
||||||||||
| 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. |
java.lang.Integer |
decode(CachedData d)
Decode the cached object into the object it represents. |
CachedData |
encode(java.lang.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<java.lang.Integer>public CachedData encode(java.lang.Integer l)
Transcoder
encode in interface Transcoder<java.lang.Integer>l - the object
public java.lang.Integer decode(CachedData d)
Transcoder
decode in interface Transcoder<java.lang.Integer>d - the data
public int getMaxSize()
Transcoder
getMaxSize in interface Transcoder<java.lang.Integer>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||