| Package | Description |
|---|---|
| org.onosproject.net.meter |
Flow meter model and related services.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
MeterEntry
Represents a stored meter.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultMeter
A default implementation of a meter.
|
| Modifier and Type | Method and Description |
|---|---|
Meter |
Meter.Builder.build()
Builds the meter based on the specified parameters.
|
Meter |
MeterStore.getMeter(MeterId meterId)
Obtains a meter matching the given meter id.
|
Meter |
MeterService.getMeter(MeterId id)
Fetch the meter by the meter id.
|
Meter |
MeterOperation.meter()
Returns the meter.
|
Meter |
MeterService.submit(MeterRequest meter)
Adds a meter to the system and performs it installation.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Meter> |
MeterStore.getAllMeters()
Returns all meters stored in the store.
|
Collection<Meter> |
MeterService.getAllMeters()
Fetches all the meters.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<MeterStoreResult> |
MeterStore.deleteMeter(Meter meter)
Deletes a meter from the store.
|
void |
MeterStore.deleteMeterNow(Meter m)
Delete this meter immediately.
|
CompletableFuture<MeterStoreResult> |
MeterStore.storeMeter(Meter meter)
Adds a meter to the store.
|
CompletableFuture<MeterStoreResult> |
MeterStore.updateMeter(Meter meter)
Updates a meter whose meter id is the same as the passed meter.
|
void |
MeterStore.updateMeterState(Meter meter)
Updates a given meter's state with the provided state.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MeterProviderService.pushMeterMetrics(DeviceId deviceId,
Collection<Meter> meterEntries)
Pushes the collection of meters observed on the data plane as
well as their associated statistics.
|
| Constructor and Description |
|---|
MeterEvent(MeterEvent.Type type,
Meter meter)
Creates an event of a given type and for the specified meter and the
current time.
|
MeterEvent(MeterEvent.Type type,
Meter meter,
long time)
Creates an event of a given type and for the specified meter and time.
|
MeterOperation(Meter meter,
MeterOperation.Type type) |
Copyright © 2015. All rights reserved.