@InterfaceAudience.Private public interface CacheableDeserializer<T extends Cacheable>
| Modifier and Type | Method and Description | 
|---|---|
| T | deserialize(ByteBuffer b)Returns the deserialized object. | 
| T | deserialize(ByteBuffer b,
           boolean reuse) | 
| int | getDeserialiserIdentifier()Get the identifier of this deserialiser. | 
T deserialize(ByteBuffer b) throws IOException
IOExceptionT deserialize(ByteBuffer b, boolean reuse) throws IOException
b - reuse - true if Cacheable object can use the given buffer as its
          contentIOExceptionint getDeserialiserIdentifier()
CacheableDeserializerIdManagerCopyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.