| Package | Description |
|---|---|
| org.jsimpledb.kv.raft |
A distributed
KVDatabase based on the Raft consensus algorithm. |
| Modifier and Type | Method and Description |
|---|---|
Consistency |
RaftKVTransaction.getConsistency()
Get the consistency level for this transaction.
|
static Consistency |
Consistency.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Consistency[] |
Consistency.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
RaftKVTransaction |
RaftKVDatabase.createTransaction(Consistency consistency)
Create a new transaction with the specified consistency.
|
void |
RaftKVTransaction.setConsistency(Consistency consistency)
Set the consistency level for this transaction.
|
Copyright © 2016. All rights reserved.