Package io.pravega.client.stream
Class ReaderGroupConfig
- java.lang.Object
-
- io.pravega.client.stream.ReaderGroupConfig
-
- All Implemented Interfaces:
java.io.Serializable
public class ReaderGroupConfig extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReaderGroupConfig.ReaderGroupConfigBuilderstatic classReaderGroupConfig.StreamDataRetentionIf a Reader Group wants unconsumed data to be retained in a Stream, the retentionType inReaderGroupConfigshould be set to to 'MANUAL_RELEASE_AT_USER_STREAMCUT' or 'AUTOMATIC_RELEASE_AT_LAST_CHECKPOINT'.
-
Field Summary
Fields Modifier and Type Field Description static longDEFAULT_GENERATIONstatic java.util.UUIDDEFAULT_UUID
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReaderGroupConfig.ReaderGroupConfigBuilderbuilder()protected booleancanEqual(java.lang.Object other)static ReaderGroupConfigcloneConfig(ReaderGroupConfig configToClone, java.util.UUID readerGroupId, long generation)booleanequals(java.lang.Object o)static ReaderGroupConfigfromBytes(java.nio.ByteBuffer buff)longgetAutomaticCheckpointIntervalMillis()java.util.Map<Stream,StreamCut>getEndingStreamCuts()longgetGeneration()longgetGroupRefreshTimeMillis()intgetMaxOutstandingCheckpointRequest()java.util.UUIDgetReaderGroupId()ReaderGroupConfig.StreamDataRetentiongetRetentionType()java.util.Map<Stream,StreamCut>getStartingStreamCuts()inthashCode()ReaderGroupConfig.ReaderGroupConfigBuildertoBuilder()java.nio.ByteBuffertoBytes()java.lang.StringtoString()
-
-
-
Field Detail
-
DEFAULT_UUID
public static final java.util.UUID DEFAULT_UUID
-
DEFAULT_GENERATION
public static final long DEFAULT_GENERATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
cloneConfig
public static ReaderGroupConfig cloneConfig(ReaderGroupConfig configToClone, java.util.UUID readerGroupId, long generation)
-
toBytes
public java.nio.ByteBuffer toBytes()
-
fromBytes
public static ReaderGroupConfig fromBytes(java.nio.ByteBuffer buff)
-
builder
public static ReaderGroupConfig.ReaderGroupConfigBuilder builder()
-
toBuilder
public ReaderGroupConfig.ReaderGroupConfigBuilder toBuilder()
-
getGroupRefreshTimeMillis
public long getGroupRefreshTimeMillis()
-
getMaxOutstandingCheckpointRequest
public int getMaxOutstandingCheckpointRequest()
-
getRetentionType
public ReaderGroupConfig.StreamDataRetention getRetentionType()
-
getGeneration
public long getGeneration()
-
getReaderGroupId
public java.util.UUID getReaderGroupId()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getAutomaticCheckpointIntervalMillis
public long getAutomaticCheckpointIntervalMillis()
-
-