@Service public class HazelcastIntentBatchQueue extends Object implements org.onosproject.net.intent.IntentBatchService
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.cluster.ClusterService |
clusterService |
protected org.onosproject.core.CoreService |
coreService |
protected org.onosproject.event.EventDeliveryService |
eventDispatcher |
protected org.onosproject.cluster.LeadershipService |
leadershipService |
protected org.onosproject.store.serializers.StoreSerializer |
serializer |
protected StoreService |
storeService |
| Constructor and Description |
|---|
HazelcastIntentBatchQueue() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
addIntentOperations(org.onosproject.net.intent.IntentOperations ops) |
void |
addListener(org.onosproject.net.intent.IntentBatchListener listener) |
void |
deactivate() |
org.onosproject.core.ApplicationId |
getAppId(String topic) |
Set<org.onosproject.net.intent.IntentOperations> |
getPendingOperations() |
static String |
getTopic(org.onosproject.core.ApplicationId appId) |
boolean |
isLocalLeader(org.onosproject.core.ApplicationId applicationId) |
void |
removeIntentOperations(org.onosproject.net.intent.IntentOperations ops) |
void |
removeListener(org.onosproject.net.intent.IntentBatchListener listener) |
void |
setDelegate(org.onosproject.net.intent.IntentBatchDelegate delegate) |
void |
unsetDelegate(org.onosproject.net.intent.IntentBatchDelegate delegate) |
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.core.CoreService coreService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.cluster.ClusterService clusterService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.cluster.LeadershipService leadershipService
@Reference(cardinality=MANDATORY_UNARY) protected StoreService storeService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.event.EventDeliveryService eventDispatcher
protected org.onosproject.store.serializers.StoreSerializer serializer
@Activate public void activate()
@Deactivate public void deactivate()
public static String getTopic(org.onosproject.core.ApplicationId appId)
public org.onosproject.core.ApplicationId getAppId(String topic)
public void addIntentOperations(org.onosproject.net.intent.IntentOperations ops)
addIntentOperations in interface org.onosproject.net.intent.IntentBatchServicepublic void removeIntentOperations(org.onosproject.net.intent.IntentOperations ops)
removeIntentOperations in interface org.onosproject.net.intent.IntentBatchServicepublic Set<org.onosproject.net.intent.IntentOperations> getPendingOperations()
getPendingOperations in interface org.onosproject.net.intent.IntentBatchServicepublic boolean isLocalLeader(org.onosproject.core.ApplicationId applicationId)
isLocalLeader in interface org.onosproject.net.intent.IntentBatchServicepublic void setDelegate(org.onosproject.net.intent.IntentBatchDelegate delegate)
setDelegate in interface org.onosproject.net.intent.IntentBatchServicepublic void unsetDelegate(org.onosproject.net.intent.IntentBatchDelegate delegate)
unsetDelegate in interface org.onosproject.net.intent.IntentBatchServicepublic void addListener(org.onosproject.net.intent.IntentBatchListener listener)
addListener in interface org.onosproject.net.intent.IntentBatchServicepublic void removeListener(org.onosproject.net.intent.IntentBatchListener listener)
removeListener in interface org.onosproject.net.intent.IntentBatchServiceCopyright © 2014. All rights reserved.