org.infinispan.client.hotrod.impl.protocol
Class Codec11
java.lang.Object
org.infinispan.client.hotrod.impl.protocol.Codec10
org.infinispan.client.hotrod.impl.protocol.Codec11
- All Implemented Interfaces:
- Codec
public class Codec11
- extends Codec10
A Hot Rod encoder/decoder for version 1.1 of the protocol.
- Since:
- 5.1
- Author:
- Galder ZamarreƱo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Codec11
public Codec11()
writeHeader
public HeaderParams writeHeader(Transport transport,
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 Codec10
computeNewHashes
protected Map<SocketAddress,Set<Integer>> computeNewHashes(Transport transport,
Log localLog,
int newTopologyId,
int numKeyOwners,
short hashFunctionVersion,
int hashSpace,
int clusterSize)
- Overrides:
computeNewHashes
in class Codec10
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 Codec10
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.