@Beta public interface PostPreCommitStep extends ThreePhaseCommitStep
Modifier and Type | Field and Description |
---|---|
static PostPreCommitStep |
NOOP
No-op implementation of
ThreePhaseCommitStep.abort() and commit() method, which always success
calls. |
static @NonNull com.google.common.util.concurrent.ListenableFuture<?> |
NOOP_COMMIT_FUTURE |
static @NonNull com.google.common.util.concurrent.ListenableFuture<? extends PostPreCommitStep> |
NOOP_FUTURE |
NOOP_ABORT_FUTURE
Modifier and Type | Method and Description |
---|---|
@NonNull com.google.common.util.concurrent.ListenableFuture<?> |
commit()
Commits cohort transaction.
|
abort
static final PostPreCommitStep NOOP
ThreePhaseCommitStep.abort()
and commit()
method, which always success
calls.
This implementation is intended for users which may not need to implement commit and abort
method.static final @NonNull com.google.common.util.concurrent.ListenableFuture<?> NOOP_COMMIT_FUTURE
static final @NonNull com.google.common.util.concurrent.ListenableFuture<? extends PostPreCommitStep> NOOP_FUTURE
@NonNull com.google.common.util.concurrent.ListenableFuture<?> commit()
Copyright © 2019 OpenDaylight. All rights reserved.