Class Codec12

  • All Implemented Interfaces:
    Codec
    Direct Known Subclasses:
    Codec13

    public class Codec12
    extends Codec11
    A Hot Rod encoder/decoder for version 1.2 of the protocol.
    Since:
    5.2
    Author:
    Tristan Tarrant, Galder ZamarreƱo
    • Constructor Detail

      • Codec12

        public Codec12()
    • 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 interface Codec
        Overrides:
        writeHeader in class Codec11
      • getLog

        public Log getLog()
        Description copied from interface: Codec
        Logger for Hot Rod client codec
        Specified by:
        getLog in interface Codec
        Overrides:
        getLog in class Codec11
      • 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: