public class AggregationManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
INDEX_PARTITION |
| Constructor and Description |
|---|
AggregationManager(com.google.common.util.concurrent.ListeningExecutorService aggregationTasks,
MetricsDAO dao,
DateTimeService dtService,
org.joda.time.DateTime startTime,
int batchSize,
int parallelism,
int cacheBatchSize,
int indexPageSize) |
| Modifier and Type | Method and Description |
|---|---|
Set<AggregateNumericMetric> |
run() |
void |
setCacheActivationTime(long cacheActivationTime)
Deactivates the metrics_cache table.
|
public static final int INDEX_PARTITION
public AggregationManager(com.google.common.util.concurrent.ListeningExecutorService aggregationTasks,
MetricsDAO dao,
DateTimeService dtService,
org.joda.time.DateTime startTime,
int batchSize,
int parallelism,
int cacheBatchSize,
int indexPageSize)
public void setCacheActivationTime(long cacheActivationTime)
cacheActivationTime has been reached. This applies to both past and current data. At that time,
metrics_cache will be reactivated, and we will start pulling data from it again.cacheActivationTime - The time to reactivate metrics_cachepublic Set<AggregateNumericMetric> run()
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.