Class StringTranscoder
- java.lang.Object
-
- org.opensaml.storage.impl.memcached.StringTranscoder
-
-
Field Summary
Fields Modifier and Type Field Description private static intMAX_SIZEMax size is maximum default memcached value size, 1MB.
-
Constructor Summary
Constructors Constructor Description StringTranscoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanasyncDecode(net.spy.memcached.CachedData d)Stringdecode(net.spy.memcached.CachedData d)net.spy.memcached.CachedDataencode(String o)intgetMaxSize()
-
-
-
Field Detail
-
MAX_SIZE
private static final int MAX_SIZE
Max size is maximum default memcached value size, 1MB.- See Also:
- Constant Field Values
-
-
Method Detail
-
asyncDecode
public boolean asyncDecode(net.spy.memcached.CachedData d)
- Specified by:
asyncDecodein interfacenet.spy.memcached.transcoders.Transcoder<String>
-
encode
public net.spy.memcached.CachedData encode(String o)
- Specified by:
encodein interfacenet.spy.memcached.transcoders.Transcoder<String>
-
decode
public String decode(net.spy.memcached.CachedData d)
- Specified by:
decodein interfacenet.spy.memcached.transcoders.Transcoder<String>
-
getMaxSize
public int getMaxSize()
- Specified by:
getMaxSizein interfacenet.spy.memcached.transcoders.Transcoder<String>
-
-