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