@InterfaceAudience.Private public interface CacheableDeserializer<T extends Cacheable>
| 限定符和类型 | 方法和说明 |
|---|---|
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–2021 The Apache Software Foundation. All rights reserved.