| Package | Description |
|---|---|
| org.onosproject.store.service |
Distributed core state management services.
|
| Modifier and Type | Method and Description |
|---|---|
static VersionedValue |
VersionedValue.copy(VersionedValue original)
Creates a copy of given VersionedValue.
|
VersionedValue |
DatabaseService.get(String tableName,
String key)
Reads the specified key.
|
VersionedValue |
WriteResult.previousValue() |
VersionedValue |
DatabaseService.put(String tableName,
String key,
byte[] value)
Associate the key with a value.
|
VersionedValue |
DatabaseService.remove(String tableName,
String key)
Removes the key (and associated value).
|
VersionedValue |
ReadResult.value()
Returns value associated with the key.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,VersionedValue> |
DatabaseService.getAll(String tableName)
Reads the whole table.
|
| Modifier and Type | Method and Description |
|---|---|
static VersionedValue |
VersionedValue.copy(VersionedValue original)
Creates a copy of given VersionedValue.
|
| Constructor and Description |
|---|
ReadResult(ReadStatus status,
String tableName,
String key,
VersionedValue value) |
WriteResult(WriteStatus status,
VersionedValue previousValue) |
Copyright © 2015. All rights reserved.