public class DataAccess extends Object
| Constructor and Description |
|---|
DataAccess(com.datastax.driver.core.Session session) |
| Modifier and Type | Method and Description |
|---|---|
com.datastax.driver.core.ResultSetFuture |
findCounters(String group) |
com.datastax.driver.core.ResultSetFuture |
findCounters(String group,
List<String> names) |
com.datastax.driver.core.ResultSetFuture |
findData(String bucket,
String metricId,
long startTime,
long endTime) |
com.datastax.driver.core.ResultSetFuture |
insertData(String bucket,
String metricId,
long timestamp,
Map<Integer,Double> values,
int ttl) |
com.datastax.driver.core.ResultSetFuture |
listMetricNames() |
com.datastax.driver.core.ResultSetFuture |
removeData(String id) |
com.datastax.driver.core.ResultSetFuture |
updateCounter(Counter counter) |
com.datastax.driver.core.ResultSetFuture |
updateCounters(Collection<Counter> counters) |
public com.datastax.driver.core.ResultSetFuture insertData(String bucket, String metricId, long timestamp, Map<Integer,Double> values, int ttl)
public com.datastax.driver.core.ResultSetFuture findData(String bucket, String metricId, long startTime, long endTime)
public com.datastax.driver.core.ResultSetFuture updateCounter(Counter counter)
public com.datastax.driver.core.ResultSetFuture updateCounters(Collection<Counter> counters)
public com.datastax.driver.core.ResultSetFuture findCounters(String group)
public com.datastax.driver.core.ResultSetFuture findCounters(String group, List<String> names)
public com.datastax.driver.core.ResultSetFuture listMetricNames()
public com.datastax.driver.core.ResultSetFuture removeData(String id)
Copyright © 2014 Red Hat, Inc.. All rights reserved.