K
- type of the entry keyV
- type of the entry valuepublic interface PartitionPredicate<K,V> extends Predicate<K,V>
Modifier and Type | Method and Description |
---|---|
Object |
getPartitionKey()
Returns a random partition key from the collection.
|
default Collection<? extends Object> |
getPartitionKeys()
|
Predicate<K,V> |
getTarget()
Returns the target
Predicate . |
default Collection<? extends Object> getPartitionKeys()
Predicate
is going to execute on.
A default implementation of partition keys
that wraps the partition key in a singleton
collection is provided for backwards compatibility.Object getPartitionKey()
Copyright © 2023 Hazelcast, Inc.. All rights reserved.