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 conf,
IMetricsContext metrics,
int partitionIndex,
int numPartitions) |
public OpenTsdbStateFactory(OpenTsdbClient.Builder builder, List<? extends ITupleOpenTsdbDatapointMapper> tridentTupleOpenTsdbDatapointMappers)
public State makeState(Map conf, IMetricsContext metrics, int partitionIndex, int numPartitions)
makeState
in interface StateFactory
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.