| Package | Description |
|---|---|
| org.onosproject.net.intent |
Set of abstractions for conveying high-level intents for treatment of
selected network traffic by allowing applications to express the
what rather than the how.
|
| Modifier and Type | Method and Description |
|---|---|
IntentData |
IntentStore.getIntentData(Key key)
Returns the intent data object associated with the specified key.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<IntentData> |
IntentService.getIntentData()
Returns an iterable of intent data objects currently in the system.
|
Iterable<IntentData> |
IntentStore.getIntentData(boolean localOnly,
long olderThan)
Returns an iterable of all intent data objects in the store.
|
Iterable<IntentData> |
IntentStore.getPendingData()
Returns the intent data objects that are pending processing.
|
Iterable<IntentData> |
IntentStore.getPendingData(boolean localOnly,
long olderThan)
Returns the intent data objects that are pending processing for longer
than the specified duration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IntentStore.addPending(IntentData intent)
Adds a new operation, which should be persisted and delegated.
|
static IntentEvent |
IntentEvent.getEvent(IntentData data)
Creates an IntentEvent based on the state contained in the given intent
data.
|
static boolean |
IntentData.isUpdateAcceptable(IntentData currentData,
IntentData newData)
Determines whether an intent data update is allowed.
|
default void |
IntentStoreDelegate.onUpdate(IntentData intentData)
Called when a new intent has been updated for which this node is the master.
|
void |
IntentStoreDelegate.process(IntentData intentData)
Provides an intent data object that should be processed (compiled and
installed) by this manager.
|
void |
IntentStore.write(IntentData newData)
Writes an IntentData object to the store.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IntentStore.batchWrite(Iterable<IntentData> updates)
Writes a batch of IntentData objects to the store.
|
void |
IntentBatchDelegate.execute(Collection<IntentData> operations)
Submits the specified batch of intent operations for processing.
|
| Constructor and Description |
|---|
IntentData(IntentData intentData)
Copy constructor.
|
Copyright © 2015. All rights reserved.