@InterfaceAudience.Private public interface CacheableDeserializer<T extends Cacheable>
| Modifier and Type | Method and Description | 
|---|---|
| T | deserialize(ByteBuff b,
           ByteBuffAllocator allocator) | 
| int | getDeserializerIdentifier()Get the identifier of this deserializer. | 
T deserialize(ByteBuff b, ByteBuffAllocator allocator) throws IOException
b - ByteBuff to deserialize the Cacheable.allocator - to manage NIO ByteBuffers for future allocation or de-allocation.IOExceptionint getDeserializerIdentifier()
CacheableDeserializerIdManagerCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.