Interface CacheUnmarshaller
- All Known Implementing Classes:
ByteBufCacheUnmarshaller
public interface CacheUnmarshaller
-
Method Summary
Modifier and TypeMethodDescription<E> EreadKey(io.netty.buffer.ByteBuf buf) Reads a variable int array first and then reads a key using the value media type only using up to the maximum provided number of bytes<E> EreadKey(io.netty.buffer.ByteBuf buf, int maxLength) Reads a key from the provided ByteBuf using the value media type up to the maximum number of bytes.<E> EreadOther(io.netty.buffer.ByteBuf buf) Reads a variable int first and then reads an arbitrary object with the configured Marshaller up to the maximum number of bytes.<E> EreadOther(io.netty.buffer.ByteBuf buf, int maxLength) Reads an arbitrary object with the configured Marshaller up to the maximum number of bytes.<E> EreadValue(io.netty.buffer.ByteBuf buf) Reads a variable int array first and then reads a value using the value media type only using up to the maximum provided number of bytes<E> EreadValue(io.netty.buffer.ByteBuf buf, int maxLength) Reads a value from the provided ByteBuf using the value media type up to the maximum number of bytes.
-
Method Details
-
readKey
<E> E readKey(io.netty.buffer.ByteBuf buf) Reads a variable int array first and then reads a key using the value media type only using up to the maximum provided number of bytes- Type Parameters:
E-- Parameters:
buf-- Returns:
-
readKey
<E> E readKey(io.netty.buffer.ByteBuf buf, int maxLength) Reads a key from the provided ByteBuf using the value media type up to the maximum number of bytes.- Type Parameters:
E-- Parameters:
buf-maxLength-- Returns:
-
readValue
<E> E readValue(io.netty.buffer.ByteBuf buf) Reads a variable int array first and then reads a value using the value media type only using up to the maximum provided number of bytes- Type Parameters:
E-- Parameters:
buf-- Returns:
-
readValue
<E> E readValue(io.netty.buffer.ByteBuf buf, int maxLength) Reads a value from the provided ByteBuf using the value media type up to the maximum number of bytes.- Type Parameters:
E-- Parameters:
buf-maxLength-- Returns:
-
readOther
<E> E readOther(io.netty.buffer.ByteBuf buf) Reads a variable int first and then reads an arbitrary object with the configured Marshaller up to the maximum number of bytes.- Type Parameters:
E-- Parameters:
buf-- Returns:
-
readOther
<E> E readOther(io.netty.buffer.ByteBuf buf, int maxLength) Reads an arbitrary object with the configured Marshaller up to the maximum number of bytes.- Type Parameters:
E-- Parameters:
buf-maxLength-- Returns:
-