@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 © 2014 The Apache Software Foundation. All rights reserved.