org.infinispan.client.hotrod.impl.protocol
Class HotRodOperationsHelper
java.lang.Object
org.infinispan.client.hotrod.impl.protocol.HotRodOperationsHelper
public class HotRodOperationsHelper
- extends Object
Helper class for factorizing common parts of read/write operations.
- Since:
- 4.1
- Author:
- Mircea.Markus@jboss.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HotRodOperationsHelper
public HotRodOperationsHelper()
writeHeader
public static long writeHeader(Transport transport,
short operationCode,
byte[] cacheName,
AtomicInteger topologyId,
Flag... flags)
readHeaderAndValidate
public static short readHeaderAndValidate(Transport transport,
long messageId,
short opRespCode,
AtomicInteger topologyId)
- Magic | Message Id | Op code | Status | Topology Change Marker
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.