@Beta public interface PartitionService extends ListenerService<PartitionEvent,PartitionEventListener>
| Modifier and Type | Method and Description |
|---|---|
NodeId |
getLeader(Key intentKey)
Returns the leader for a particular key.
|
boolean |
isMine(Key intentKey)
Returns whether the given intent key is in a partition owned by this
instance or not.
|
addListener, removeListenerboolean isMine(Key intentKey)
intentKey - intent key to queryCopyright © 2015. All rights reserved.