Package org.apache.nifi.util.timebuffer
Class TimestampedLongAggregation
java.lang.Object
org.apache.nifi.util.timebuffer.TimestampedLongAggregation
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final TimestampedLongAggregation.TimestampedAggregation
private final long
private final Long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
getValue()
static TimestampedLongAggregation
static TimestampedLongAggregation
newValue
(long value)
-
Field Details
-
value
-
timestamp
private final long timestamp -
cumulation
-
-
Constructor Details
-
TimestampedLongAggregation
public TimestampedLongAggregation(long value) -
TimestampedLongAggregation
-
-
Method Details
-
getAggregation
-
getValue
-
getTimestamp
public long getTimestamp() -
newValue
-
newAggregation
public static TimestampedLongAggregation newAggregation(TimestampedLongAggregation.TimestampedAggregation cumulation)
-