public interface KeyedStateHandle extends CompositeStateHandle
Modifier and Type | Method and Description |
---|---|
KeyedStateHandle |
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.
|
KeyGroupRange |
getKeyGroupRange()
Returns the range of the key groups contained in the state.
|
registerSharedStates
discardState, getStateSize
KeyGroupRange getKeyGroupRange()
@Nullable KeyedStateHandle getIntersection(KeyGroupRange keyGroupRange)
keyGroupRange
- The key group range to intersect with, will return null if the
intersection of this handle's key-group and the provided key-group is empty.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.