Package dev.vality.damsel.domain_config
Class RepositorySrv.AsyncClient.Commit_call
java.lang.Object
org.apache.thrift.async.TAsyncMethodCall<Long>
dev.vality.damsel.domain_config.RepositorySrv.AsyncClient.Commit_call
- Enclosing class:
- RepositorySrv.AsyncClient
public static class RepositorySrv.AsyncClient.Commit_call
extends org.apache.thrift.async.TAsyncMethodCall<Long>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.thrift.async.TAsyncMethodCall
org.apache.thrift.async.TAsyncMethodCall.State -
Field Summary
Fields inherited from class org.apache.thrift.async.TAsyncMethodCall
client, transport -
Constructor Summary
ConstructorsConstructorDescriptionCommit_call(long version, Commit commit, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) -
Method Summary
Methods inherited from class org.apache.thrift.async.TAsyncMethodCall
getClient, getFrameBuffer, getSequenceId, getStartTime, getState, getTimeoutTimestamp, hasTimeout, isFinished, onError, prepareMethodCall
-
Constructor Details
-
Commit_call
public Commit_call(long version, Commit commit, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
-
Method Details
-
write_args
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException - Specified by:
write_argsin classorg.apache.thrift.async.TAsyncMethodCall<Long>- Throws:
org.apache.thrift.TException
-
getResult
public Long getResult() throws VersionNotFound, OperationConflict, OperationInvalid, ObsoleteCommitVersion, org.apache.thrift.TException- Specified by:
getResultin classorg.apache.thrift.async.TAsyncMethodCall<Long>- Throws:
VersionNotFoundOperationConflictOperationInvalidObsoleteCommitVersionorg.apache.thrift.TException
-