public static class Cassandra.AsyncClient.cas_call
extends org.apache.thrift.async.TAsyncMethodCall
Constructor and Description |
---|
cas_call(java.nio.ByteBuffer key,
java.lang.String column_family,
java.util.List<Column> expected,
java.util.List<Column> updates,
ConsistencyLevel serial_consistency_level,
ConsistencyLevel commit_consistency_level,
org.apache.thrift.async.AsyncMethodCallback resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
Modifier and Type | Method and Description |
---|---|
CASResult |
getResult() |
void |
write_args(org.apache.thrift.protocol.TProtocol prot) |
public cas_call(java.nio.ByteBuffer key, java.lang.String column_family, java.util.List<Column> expected, java.util.List<Column> updates, ConsistencyLevel serial_consistency_level, ConsistencyLevel commit_consistency_level, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException
org.apache.thrift.TException
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException
write_args
in class org.apache.thrift.async.TAsyncMethodCall
org.apache.thrift.TException
public CASResult getResult() throws InvalidRequestException, UnavailableException, TimedOutException, org.apache.thrift.TException
InvalidRequestException
UnavailableException
TimedOutException
org.apache.thrift.TException
Copyright © 2016 The Apache Software Foundation