| 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 |
|---|---|
Result<UpdateResult<org.onosproject.store.service.Versioned<V>>> |
DatabaseState.putAndGet(String tableName,
K key,
V value) |
CompletableFuture<Result<UpdateResult<org.onosproject.store.service.Versioned<V>>>> |
DatabaseProxy.putAndGet(String tableName,
K key,
V value)
Puts a value in the table.
|
CompletableFuture<Result<UpdateResult<org.onosproject.store.service.Versioned<byte[]>>>> |
PartitionedDatabase.putAndGet(String tableName,
String key,
byte[] value) |
Result<UpdateResult<org.onosproject.store.service.Versioned<byte[]>>> |
DefaultDatabaseState.putAndGet(String tableName,
String key,
byte[] value) |
CompletableFuture<Result<UpdateResult<org.onosproject.store.service.Versioned<byte[]>>>> |
DefaultDatabase.putAndGet(String tableName,
String key,
byte[] value) |
Result<UpdateResult<org.onosproject.store.service.Versioned<V>>> |
DatabaseState.putIfAbsentAndGet(String tableName,
K key,
V value) |
CompletableFuture<Result<UpdateResult<org.onosproject.store.service.Versioned<V>>>> |
DatabaseProxy.putIfAbsentAndGet(String tableName,
K key,
V value)
Puts a value in the table.
|
CompletableFuture<Result<UpdateResult<org.onosproject.store.service.Versioned<byte[]>>>> |
PartitionedDatabase.putIfAbsentAndGet(String tableName,
String key,
byte[] value) |
Result<UpdateResult<org.onosproject.store.service.Versioned<byte[]>>> |
DefaultDatabaseState.putIfAbsentAndGet(String tableName,
String key,
byte[] value) |
CompletableFuture<Result<UpdateResult<org.onosproject.store.service.Versioned<byte[]>>>> |
DefaultDatabase.putIfAbsentAndGet(String tableName,
String key,
byte[] value) |
Result<UpdateResult<org.onosproject.store.service.Versioned<V>>> |
DatabaseState.replaceAndGet(String tableName,
K key,
long oldVersion,
V newValue) |
CompletableFuture<Result<UpdateResult<org.onosproject.store.service.Versioned<V>>>> |
DatabaseProxy.replaceAndGet(String tableName,
K key,
long oldVersion,
V newValue)
Replaces the entry for the specified key only if currently mapped to the specified version.
|
CompletableFuture<Result<UpdateResult<org.onosproject.store.service.Versioned<byte[]>>>> |
PartitionedDatabase.replaceAndGet(String tableName,
String key,
long oldVersion,
byte[] newValue) |
Result<UpdateResult<org.onosproject.store.service.Versioned<byte[]>>> |
DefaultDatabaseState.replaceAndGet(String tableName,
String key,
long oldVersion,
byte[] newValue) |
CompletableFuture<Result<UpdateResult<org.onosproject.store.service.Versioned<byte[]>>>> |
DefaultDatabase.replaceAndGet(String tableName,
String key,
long oldVersion,
byte[] newValue) |
Copyright © 2015. All rights reserved.