@Beta public interface WorkPartitionService extends ListenerService<WorkPartitionEvent,WorkPartitionEventListener>
| Modifier and Type | Method and Description | 
|---|---|
| <K> NodeId | getLeader(K id,
         java.util.function.Function<K,java.lang.Long> hasher)Returns the owner for a given identifier. | 
| <K> boolean | isMine(K id,
      java.util.function.Function<K,java.lang.Long> hasher)Returns whether a given identifier maps to a partition owned by this
 instance. | 
addListener, removeListener<K> boolean isMine(K id,
                   java.util.function.Function<K,java.lang.Long> hasher)
K - entity typeid - identifierhasher - function that maps identifier to a long value<K> NodeId getLeader(K id, java.util.function.Function<K,java.lang.Long> hasher)
K - entity typeid - identifier to queryhasher - function that maps id to a long value