com.hazelcast.transaction.client
Class BaseTransactionRequest
java.lang.Object
com.hazelcast.client.impl.client.ClientRequest
com.hazelcast.client.impl.client.CallableClientRequest
com.hazelcast.transaction.client.BaseTransactionRequest
- All Implemented Interfaces:
- SecureRequest, Portable, VersionedPortable, Callable
- Direct Known Subclasses:
- AbstractTxnMapRequest, CommitTransactionRequest, CreateTransactionRequest, PrepareTransactionRequest, RollbackTransactionRequest, TxnCollectionRequest, TxnMultiMapRequest, TxnOfferRequest, TxnPeekRequest, TxnPollRequest, TxnSizeRequest
public abstract class BaseTransactionRequest
- extends CallableClientRequest
Methods inherited from class com.hazelcast.client.impl.client.ClientRequest |
getCallId, getClassVersion, getClientEngine, getDistributedObjectName, getDistributedObjectType, getEndpoint, getMethodName, getParameters, getService, getServiceName, 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 |
txnId
protected String txnId
clientThreadId
protected long clientThreadId
BaseTransactionRequest
public BaseTransactionRequest()
innerCall
protected abstract Object innerCall()
throws Exception
- Throws:
Exception
call
public final Object call()
throws Exception
- Throws:
Exception
setTxnId
public void setTxnId(String txnId)
setClientThreadId
public void setClientThreadId(long clientThreadId)
write
public void write(PortableWriter writer)
throws IOException
- Overrides:
write
in class ClientRequest
- Throws:
IOException
read
public void read(PortableReader reader)
throws IOException
- Overrides:
read
in class ClientRequest
- Throws:
IOException
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.