@Service public class PartitionManager extends Object implements org.onosproject.net.intent.PartitionService
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.cluster.ClusterService |
clusterService |
protected org.onosproject.cluster.LeadershipService |
leadershipService |
| Constructor and Description |
|---|
PartitionManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
org.onosproject.cluster.NodeId |
getLeader(org.onosproject.net.intent.Key intentKey) |
boolean |
isMine(org.onosproject.net.intent.Key intentKey) |
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.cluster.LeadershipService leadershipService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.cluster.ClusterService clusterService
@Activate public void activate()
@Deactivate public void deactivate()
public boolean isMine(org.onosproject.net.intent.Key intentKey)
isMine in interface org.onosproject.net.intent.PartitionServicepublic org.onosproject.cluster.NodeId getLeader(org.onosproject.net.intent.Key intentKey)
getLeader in interface org.onosproject.net.intent.PartitionServiceCopyright © 2015. All rights reserved.