public class KeyGroupsSavepointStateHandle extends KeyGroupsStateHandle implements SavepointKeyedStateHandle
KeyGroupsStateHandle
that describes a savepoint in the unified format.Constructor and Description |
---|
KeyGroupsSavepointStateHandle(KeyGroupRangeOffsets groupRangeOffsets,
StreamStateHandle streamStateHandle) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
KeyGroupsStateHandle |
getIntersection(KeyGroupRange keyGroupRange)
Returns a state over a range that is the intersection between this handle's key-group range
and the provided key-group range.
|
String |
toString() |
asBytesIfInMemory, discardState, getDelegateStateHandle, getGroupRangeOffsets, getKeyGroupRange, getOffsetForKeyGroup, getStateSize, hashCode, openInputStream, registerSharedStates
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getKeyGroupRange
registerSharedStates
discardState, getStateSize
public KeyGroupsSavepointStateHandle(KeyGroupRangeOffsets groupRangeOffsets, StreamStateHandle streamStateHandle)
groupRangeOffsets
- range of key-group ids that in the state of this handlestreamStateHandle
- handle to the actual state of the key-groupspublic KeyGroupsStateHandle getIntersection(KeyGroupRange keyGroupRange)
KeyedStateHandle
getIntersection
in interface KeyedStateHandle
getIntersection
in class KeyGroupsStateHandle
keyGroupRange
- a key group range to intersect.public boolean equals(Object o)
equals
in class KeyGroupsStateHandle
public String toString()
toString
in class KeyGroupsStateHandle
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.