| Package | Description |
|---|---|
| org.onosproject.store.primitives.impl |
Implementation of partitioned and distributed store facility capable of
providing consistent update semantics.
|
| org.onosproject.store.primitives.resources.impl |
State machine implementation classes for distributed primitives.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<CommitResult> |
TransactionManager.execute(Transaction transaction)
Executes the specified transaction by employing a two phase commit protocol.
|
| Constructor and Description |
|---|
DefaultTransactionContext(org.onosproject.store.primitives.TransactionId transactionId,
Function<Transaction,CompletableFuture<CommitResult>> transactionCommitter,
Supplier<org.onosproject.store.service.ConsistentMapBuilder> mapBuilderSupplier) |
DefaultTransactionContextBuilder(Supplier<org.onosproject.store.service.ConsistentMapBuilder> mapBuilderSupplier,
Function<Transaction,CompletableFuture<CommitResult>> transactionCommiter,
org.onosproject.store.primitives.TransactionId transactionId) |
| Modifier and Type | Method and Description |
|---|---|
protected CommitResult |
AtomixConsistentMapState.commit(io.atomix.copycat.server.Commit<? extends AtomixConsistentMapCommands.TransactionCommit> commit)
Handles an commit commit (ha!).
|
static CommitResult |
CommitResult.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommitResult[] |
CommitResult.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2016. All rights reserved.