com.hazelcast.map.impl.client
Class TxnMapRequest

java.lang.Object
  extended by com.hazelcast.client.impl.client.ClientRequest
      extended by com.hazelcast.client.impl.client.CallableClientRequest
          extended by com.hazelcast.transaction.client.BaseTransactionRequest
              extended by com.hazelcast.map.impl.client.AbstractTxnMapRequest
                  extended by com.hazelcast.map.impl.client.TxnMapRequest
All Implemented Interfaces:
SecureRequest, Portable, VersionedPortable, Callable

public class TxnMapRequest
extends AbstractTxnMapRequest

Author:
ali 6/10/13

Nested Class Summary
 
Nested classes/interfaces inherited from class com.hazelcast.map.impl.client.AbstractTxnMapRequest
AbstractTxnMapRequest.TxnMapRequestType
 
Field Summary
 
Fields inherited from class com.hazelcast.transaction.client.BaseTransactionRequest
clientThreadId, txnId
 
Fields inherited from class com.hazelcast.client.impl.client.ClientRequest
callId, clientEngine, endpoint, operationService, serializationService, service
 
Constructor Summary
TxnMapRequest()
           
TxnMapRequest(String name, AbstractTxnMapRequest.TxnMapRequestType requestType)
           
TxnMapRequest(String name, AbstractTxnMapRequest.TxnMapRequestType requestType, Data key)
           
TxnMapRequest(String name, AbstractTxnMapRequest.TxnMapRequestType requestType, Data key, Data value)
           
TxnMapRequest(String name, AbstractTxnMapRequest.TxnMapRequestType requestType, Data key, Data value, Data newValue)
           
TxnMapRequest(String name, AbstractTxnMapRequest.TxnMapRequestType requestType, Data key, Data value, long ttl, TimeUnit timeUnit)
           
TxnMapRequest(String name, AbstractTxnMapRequest.TxnMapRequestType requestType, Predicate predicate)
           
 
Method Summary
 int getClassId()
          Returns class identifier for this portable class.
protected  Predicate getPredicate()
           
protected  void readDataInner(ObjectDataInput reader)
           
protected  void writeDataInner(ObjectDataOutput writer)
           
 
Methods inherited from class com.hazelcast.map.impl.client.AbstractTxnMapRequest
getFactoryId, getRequiredPermission, getServiceName, innerCall, read, write
 
Methods inherited from class com.hazelcast.transaction.client.BaseTransactionRequest
call, setClientThreadId, setTxnId
 
Methods inherited from class com.hazelcast.client.impl.client.CallableClientRequest
process
 
Methods inherited from class com.hazelcast.client.impl.client.ClientRequest
getCallId, getClassVersion, getClientEngine, getDistributedObjectName, getDistributedObjectType, getEndpoint, getMethodName, getParameters, getService, isSingleConnection, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, setSingleConnection, writePortable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TxnMapRequest

public TxnMapRequest()

TxnMapRequest

public TxnMapRequest(String name,
                     AbstractTxnMapRequest.TxnMapRequestType requestType)

TxnMapRequest

public TxnMapRequest(String name,
                     AbstractTxnMapRequest.TxnMapRequestType requestType,
                     Data key)

TxnMapRequest

public TxnMapRequest(String name,
                     AbstractTxnMapRequest.TxnMapRequestType requestType,
                     Data key,
                     Data value)

TxnMapRequest

public TxnMapRequest(String name,
                     AbstractTxnMapRequest.TxnMapRequestType requestType,
                     Data key,
                     Data value,
                     long ttl,
                     TimeUnit timeUnit)

TxnMapRequest

public TxnMapRequest(String name,
                     AbstractTxnMapRequest.TxnMapRequestType requestType,
                     Data key,
                     Data value,
                     Data newValue)

TxnMapRequest

public TxnMapRequest(String name,
                     AbstractTxnMapRequest.TxnMapRequestType requestType,
                     Predicate predicate)
Method Detail

getClassId

public int getClassId()
Description copied from interface: Portable
Returns class identifier for this portable class. Class id should be unique per PortableFactory.

Returns:
class id

getPredicate

protected Predicate getPredicate()
Specified by:
getPredicate in class AbstractTxnMapRequest

writeDataInner

protected void writeDataInner(ObjectDataOutput writer)
                       throws IOException
Specified by:
writeDataInner in class AbstractTxnMapRequest
Throws:
IOException

readDataInner

protected void readDataInner(ObjectDataInput reader)
                      throws IOException
Specified by:
readDataInner in class AbstractTxnMapRequest
Throws:
IOException


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.