Package step.core.timeseries
Class TimeSeriesIngestionPipeline
- java.lang.Object
-
- step.core.timeseries.TimeSeriesIngestionPipeline
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class TimeSeriesIngestionPipeline extends Object implements Closeable
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTimeSeriesIngestionPipeline(step.core.collections.Collection<Bucket> collection, long resolutionInMs)protectedTimeSeriesIngestionPipeline(step.core.collections.Collection<Bucket> collection, long resolutionInMs, long flushingPeriodInMs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()longgetFlushCount()voidingestPoint(Map<String,String> attributes, long timestamp, long value)voidingestPoint(BucketAttributes attributes, long timestamp, long value)
-
-
-
Constructor Detail
-
TimeSeriesIngestionPipeline
protected TimeSeriesIngestionPipeline(step.core.collections.Collection<Bucket> collection, long resolutionInMs)
-
TimeSeriesIngestionPipeline
protected TimeSeriesIngestionPipeline(step.core.collections.Collection<Bucket> collection, long resolutionInMs, long flushingPeriodInMs)
-
-
Method Detail
-
ingestPoint
public void ingestPoint(BucketAttributes attributes, long timestamp, long value)
-
flush
public void flush()
-
getFlushCount
public long getFlushCount()
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-