public class OpenTsdbStateFactory extends Object implements StateFactory
Trident StateFactory
implementation for OpenTSDB.
Constructor and Description |
---|
OpenTsdbStateFactory(OpenTsdbClient.Builder builder,
List<? extends ITupleOpenTsdbDatapointMapper> tridentTupleOpenTsdbDatapointMappers) |
Modifier and Type | Method and Description |
---|---|
State |
makeState(Map<String,Object> conf,
IMetricsContext metrics,
int partitionIndex,
int numPartitions) |
public OpenTsdbStateFactory(OpenTsdbClient.Builder builder, List<? extends ITupleOpenTsdbDatapointMapper> tridentTupleOpenTsdbDatapointMappers)
public State makeState(Map<String,Object> conf, IMetricsContext metrics, int partitionIndex, int numPartitions)
makeState
in interface StateFactory
Copyright © 2019 The Apache Software Foundation. All rights reserved.