|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.infinispan.client.hotrod.impl.protocol.Codec10
public class Codec10
A Hot Rod encoder/decoder for version 1.0 of the protocol.
Constructor Summary | |
---|---|
Codec10()
|
Method Summary | |
---|---|
protected Map<SocketAddress,Set<Integer>> |
computeNewHashes(Transport transport,
Log localLog,
int newTopologyId,
int numKeyOwners,
short hashFunctionVersion,
int hashSpace,
int clusterSize)
|
Log |
getLog()
Logger for Hot Rod client codec |
short |
readHeader(Transport transport,
HeaderParams params)
Reads a response header from the transport and returns the status of the response. |
protected void |
readNewTopologyAndHash(Transport transport,
AtomicInteger topologyId)
|
HeaderParams |
writeHeader(Transport transport,
HeaderParams params)
Writes a request header with the given parameters to the transport and returns an updated header parameters. |
protected HeaderParams |
writeHeader(Transport transport,
HeaderParams params,
byte version)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Codec10()
Method Detail |
---|
public HeaderParams writeHeader(Transport transport, HeaderParams params)
Codec
writeHeader
in interface Codec
protected HeaderParams writeHeader(Transport transport, HeaderParams params, byte version)
public short readHeader(Transport transport, HeaderParams params)
Codec
readHeader
in interface Codec
public Log getLog()
Codec
getLog
in interface Codec
protected void readNewTopologyAndHash(Transport transport, AtomicInteger topologyId)
protected Map<SocketAddress,Set<Integer>> computeNewHashes(Transport transport, Log localLog, int newTopologyId, int numKeyOwners, short hashFunctionVersion, int hashSpace, int clusterSize)
|
--> | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |