| Package | Description |
|---|---|
| org.onosproject.store.service |
Distributed core state management services.
|
| Modifier and Type | Method and Description |
|---|---|
static WriteRequest |
WriteRequest.put(String tableName,
String key,
byte[] newValue)
Creates a write request, which will
put the specified value to the table regardless of the previous value.
|
static WriteRequest |
WriteRequest.putIfAbsent(String tableName,
String key,
byte[] newValue)
Creates a write request, which will
put the specified value to the table if the previous value does not exist.
|
static WriteRequest |
WriteRequest.putIfValueMatches(String tableName,
String key,
byte[] oldValue,
byte[] newValue)
Creates a write request, which will
put the specified value to the table if the previous value matches.
|
static WriteRequest |
WriteRequest.putIfVersionMatches(String tableName,
String key,
byte[] newValue,
long previousVersion)
Creates a write request, which will
put the specified value to the table if the previous version matches.
|
static WriteRequest |
WriteRequest.remove(String tableName,
String key)
Creates a write request, which will
remove the specified entry from the table regardless of the previous value.
|
static WriteRequest |
WriteRequest.removeIfValueMatches(String tableName,
String key,
byte[] oldValue)
Creates a write request, which will
remove the specified entry from the table if the previous value matches.
|
static WriteRequest |
WriteRequest.removeIfVersionMatches(String tableName,
String key,
long previousVersion)
Creates a write request, which will
remove the specified entry from the table if the previous version matches.
|
| Modifier and Type | Method and Description |
|---|---|
List<WriteRequest> |
BatchWriteRequest.getAsList()
Returns the requests in this batch as a list.
|
| Modifier and Type | Method and Description |
|---|---|
static BatchWriteRequest |
BatchWriteRequest.create(List<WriteRequest> writeRequests)
Creates a new BatchWriteRequest object from the specified list of write requests.
|
Copyright © 2015. All rights reserved.