private static class MemcachedBlockCache.HFileBlockTranscoder extends Object implements net.spy.memcached.transcoders.Transcoder<HFileBlock>
Modifier | Constructor and Description |
---|---|
private |
HFileBlockTranscoder() |
Modifier and Type | Method and Description |
---|---|
boolean |
asyncDecode(net.spy.memcached.CachedData d) |
HFileBlock |
decode(net.spy.memcached.CachedData d) |
net.spy.memcached.CachedData |
encode(HFileBlock block) |
int |
getMaxSize() |
private HFileBlockTranscoder()
public boolean asyncDecode(net.spy.memcached.CachedData d)
asyncDecode
in interface net.spy.memcached.transcoders.Transcoder<HFileBlock>
public net.spy.memcached.CachedData encode(HFileBlock block)
encode
in interface net.spy.memcached.transcoders.Transcoder<HFileBlock>
public HFileBlock decode(net.spy.memcached.CachedData d)
decode
in interface net.spy.memcached.transcoders.Transcoder<HFileBlock>
public int getMaxSize()
getMaxSize
in interface net.spy.memcached.transcoders.Transcoder<HFileBlock>
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.