Class Codec12
- java.lang.Object
-
- org.infinispan.client.hotrod.impl.protocol.Codec10
-
- org.infinispan.client.hotrod.impl.protocol.Codec11
-
- org.infinispan.client.hotrod.impl.protocol.Codec12
-
-
Constructor Summary
Constructors Constructor Description Codec12()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Log
getLog()
Logger for Hot Rod client codec<K> org.infinispan.commons.util.CloseableIterator<K>
keyIterator(RemoteCache<K,?> remoteCache, OperationsFactory operationsFactory, int batchSize)
Creates a key iterator with the given batch size if applicable.HeaderParams
writeHeader(io.netty.buffer.ByteBuf buf, HeaderParams params)
Writes a request header with the given parameters to the transport and returns an updated header parameters.protected HeaderParams
writeHeader(io.netty.buffer.ByteBuf buf, HeaderParams params, byte version)
-
Methods inherited from class org.infinispan.client.hotrod.impl.protocol.Codec11
computeNewHashes
-
Methods inherited from class org.infinispan.client.hotrod.impl.protocol.Codec10
checkForErrorsInResponseStatus, estimateExpirationSize, estimateHeaderSize, readCacheEvent, readCounterEvent, readHeader, readMessageId, readNewTopologyAndHash, readNewTopologyIfPresent, readOpCode, readUnmarshallByteArray, returnPossiblePrevValue, writeClientListenerInterests, writeClientListenerParams, writeExpirationParams
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.infinispan.client.hotrod.impl.protocol.Codec
allowOperationsAndEvents, entryIterator, readMeta, readProjectionSize, writeIteratorStartOperation
-
-
-
-
Method Detail
-
writeHeader
public HeaderParams writeHeader(io.netty.buffer.ByteBuf buf, HeaderParams params)
Description copied from interface:Codec
Writes a request header with the given parameters to the transport and returns an updated header parameters.- Specified by:
writeHeader
in interfaceCodec
- Overrides:
writeHeader
in classCodec11
-
writeHeader
protected HeaderParams writeHeader(io.netty.buffer.ByteBuf buf, HeaderParams params, byte version)
- Overrides:
writeHeader
in classCodec10
-
keyIterator
public <K> org.infinispan.commons.util.CloseableIterator<K> keyIterator(RemoteCache<K,?> remoteCache, OperationsFactory operationsFactory, int batchSize)
Description copied from interface:Codec
Creates a key iterator with the given batch size if applicable. This iterator does not support removal.- Returns:
-
-