Class InstrumentedCassandraClient
- java.lang.Object
-
- com.palantir.atlasdb.keyvalue.cassandra.InstrumentedCassandraClient
-
- All Implemented Interfaces:
com.palantir.atlasdb.keyvalue.cassandra.AutoDelegate_CassandraClient
,CassandraClient
,java.io.Closeable
,java.lang.AutoCloseable
public class InstrumentedCassandraClient extends java.lang.Object implements com.palantir.atlasdb.keyvalue.cassandra.AutoDelegate_CassandraClient
-
-
Constructor Summary
Constructors Constructor Description InstrumentedCassandraClient(CassandraClient client, com.palantir.tritium.metrics.registry.TaggedMetricRegistry taggedMetricRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
batch_mutate(java.lang.String kvsMethodName, java.util.Map<java.nio.ByteBuffer,java.util.Map<java.lang.String,java.util.List<org.apache.cassandra.thrift.Mutation>>> mutation_map, org.apache.cassandra.thrift.ConsistencyLevel consistency_level)
CassandraClient
delegate()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.palantir.atlasdb.keyvalue.cassandra.AutoDelegate_CassandraClient
cas, close, describe_keyspace, describe_keyspaces, describe_partitioner, describe_ring, describe_schema_versions, describe_snitch, describe_version, execute_cql3_query, execute_prepared_cql3_query, get, get_host_ids, get_range_slices, getInputProtocol, getOutputProtocol, isValid, multiget_multislice, multiget_slice, prepare_cql3_query, put_unless_exists, remove, system_add_keyspace, system_drop_column_family, system_update_column_family, system_update_keyspace, trace_next_query, truncate
-
-
-
-
Constructor Detail
-
InstrumentedCassandraClient
public InstrumentedCassandraClient(CassandraClient client, com.palantir.tritium.metrics.registry.TaggedMetricRegistry taggedMetricRegistry)
-
-
Method Detail
-
delegate
public CassandraClient delegate()
- Specified by:
delegate
in interfacecom.palantir.atlasdb.keyvalue.cassandra.AutoDelegate_CassandraClient
-
batch_mutate
public void batch_mutate(java.lang.String kvsMethodName, java.util.Map<java.nio.ByteBuffer,java.util.Map<java.lang.String,java.util.List<org.apache.cassandra.thrift.Mutation>>> mutation_map, org.apache.cassandra.thrift.ConsistencyLevel consistency_level) throws org.apache.cassandra.thrift.InvalidRequestException, org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException, org.apache.thrift.TException
- Specified by:
batch_mutate
in interfacecom.palantir.atlasdb.keyvalue.cassandra.AutoDelegate_CassandraClient
- Specified by:
batch_mutate
in interfaceCassandraClient
- Throws:
org.apache.cassandra.thrift.InvalidRequestException
org.apache.cassandra.thrift.UnavailableException
org.apache.cassandra.thrift.TimedOutException
org.apache.thrift.TException
-
-