public class StreamConfiguration
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
StreamConfiguration.StreamConfigurationBuilder |
Modifier and Type | Method and Description |
---|---|
static StreamConfiguration.StreamConfigurationBuilder |
builder() |
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
RetentionPolicy |
getRetentionPolicy()
API to return retention policy.
|
ScalingPolicy |
getScalingPolicy()
API to return scaling policy.
|
long |
getTimestampAggregationTimeout()
The duration after the last call to
EventStreamWriter.noteTime(long) which the
timestamp should be considered valid before it is forgotten. |
int |
hashCode() |
java.lang.String |
toString() |
public static StreamConfiguration.StreamConfigurationBuilder builder()
public ScalingPolicy getScalingPolicy()
public RetentionPolicy getRetentionPolicy()
public long getTimestampAggregationTimeout()
EventStreamWriter.noteTime(long)
which the
timestamp should be considered valid before it is forgotten. Meaning that after this long of
not calling EventStreamWriter.noteTime(long)
the writer will be forgotten.
If there are no known writers, readers that call EventStreamReader.getCurrentTimeWindow(Stream)
will receive a `null` when they are at the corresponding position in the stream.
which the timestamp should be considered valid before it is forgotten.EventStreamWriter.noteTime(long)
which the timestamp should
be considered valid before it is forgotten.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object