@InterfaceAudience.Private public interface CacheableDeserializer<T extends Cacheable>
| Modifier and Type | Method and Description |
|---|---|
T |
deserialize(java.nio.ByteBuffer b)
Returns the deserialized object.
|
T |
deserialize(java.nio.ByteBuffer b,
boolean reuse) |
int |
getDeserialiserIdentifier()
Get the identifier of this deserialiser.
|
T deserialize(java.nio.ByteBuffer b) throws java.io.IOException
java.io.IOExceptionT deserialize(java.nio.ByteBuffer b, boolean reuse) throws java.io.IOException
b - reuse - true if Cacheable object can use the given buffer as its
contentjava.io.IOExceptionint getDeserialiserIdentifier()
CacheableDeserializerIdManager