| Package | Description |
|---|---|
| org.onosproject.store.consistent.impl |
Implementation of partitioned and distributed store facility capable of
providing consistent update semantics.
|
| Modifier and Type | Method and Description |
|---|---|
static <V> Result<V> |
Result.locked()
Creates a new Result instance with status set to Status.LOCKED.
|
Result<Void> |
DefaultDatabaseState.mapClear(String mapName) |
Result<Void> |
DatabaseState.mapClear(String mapName) |
Result<UpdateResult<K,V>> |
DatabaseState.mapUpdate(String mapName,
K key,
Match<V> valueMatch,
Match<Long> versionMatch,
V value) |
Result<UpdateResult<String,byte[]>> |
DefaultDatabaseState.mapUpdate(String mapName,
String key,
Match<byte[]> valueMatch,
Match<Long> versionMatch,
byte[] value) |
static <V> Result<V> |
Result.ok(V value)
Creates a new Result instance with the specified value with status set to Status.OK.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Result<Void>> |
PartitionedDatabase.mapClear(String mapName) |
CompletableFuture<Result<Void>> |
DefaultDatabase.mapClear(String mapName) |
CompletableFuture<Result<Void>> |
DatabaseProxy.mapClear(String mapName)
Clears the map.
|
CompletableFuture<Result<UpdateResult<K,V>>> |
DatabaseProxy.mapUpdate(String mapName,
K key,
Match<V> valueMatch,
Match<Long> versionMatch,
V value)
Updates the map.
|
CompletableFuture<Result<UpdateResult<String,byte[]>>> |
PartitionedDatabase.mapUpdate(String mapName,
String key,
Match<byte[]> valueMatch,
Match<Long> versionMatch,
byte[] value) |
CompletableFuture<Result<UpdateResult<String,byte[]>>> |
DefaultDatabase.mapUpdate(String mapName,
String key,
Match<byte[]> valueMatch,
Match<Long> versionMatch,
byte[] value) |
Copyright © 2015. All rights reserved.