Search in sources :

Example 1 with QosCassandraClient

use of com.palantir.atlasdb.keyvalue.cassandra.qos.QosCassandraClient in project atlasdb by palantir.

the class CassandraClientFactory method instrumentClient.

private CassandraClient instrumentClient(Client rawClient) {
    CassandraClient client = new CassandraClientImpl(rawClient);
    client = new ProfilingCassandraClient(client);
    client = new TracingCassandraClient(client);
    // TODO(ssouza): use the kvsMethodName to tag the timers.
    client = AtlasDbMetrics.instrument(CassandraClient.class, client);
    client = new InstrumentedCassandraClient(client, AtlasDbMetrics.getTaggedMetricRegistry());
    client = new QosCassandraClient(client, qosClient);
    return client;
}
Also used : QosCassandraClient(com.palantir.atlasdb.keyvalue.cassandra.qos.QosCassandraClient) QosCassandraClient(com.palantir.atlasdb.keyvalue.cassandra.qos.QosCassandraClient)

Aggregations

QosCassandraClient (com.palantir.atlasdb.keyvalue.cassandra.qos.QosCassandraClient)1