Package io.hstream
Class Stream
- java.lang.Object
-
- io.hstream.Stream
-
public class Stream extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStream.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetBacklogDuration()InstantgetCreatedTime()intgetReplicationFactor()intgetShardCount()StringgetStreamName()inthashCode()static Stream.BuildernewBuilder()voidsetBacklogDuration(int backlogDuration)voidsetReplicationFactor(int replicationFactor)voidsetShardCount(int shardCount)voidsetStreamName(String streamName)
-
-
-
Method Detail
-
getStreamName
public String getStreamName()
-
setStreamName
public void setStreamName(String streamName)
-
getReplicationFactor
public int getReplicationFactor()
-
setReplicationFactor
public void setReplicationFactor(int replicationFactor)
-
getBacklogDuration
public int getBacklogDuration()
-
setBacklogDuration
public void setBacklogDuration(int backlogDuration)
-
getShardCount
public int getShardCount()
-
setShardCount
public void setShardCount(int shardCount)
-
getCreatedTime
public Instant getCreatedTime()
-
newBuilder
public static Stream.Builder newBuilder()
-
-