public abstract class Action extends Object
Constructor and Description |
---|
Action() |
Modifier and Type | Method and Description |
---|---|
void |
execute(CorfuRuntime runtime,
int numRetry)
Execute the action.
|
abstract String |
getName()
Returns the name of this action.
|
ActionStatus |
getStatus()
Get the status of this action.
|
abstract void |
impl(CorfuRuntime runtime)
The implementation of the action
|
@Nonnull public abstract String getName()
public abstract void impl(@Nonnull CorfuRuntime runtime) throws Exception
runtime
- A runtime that the action will use to executeException
@Nonnull public void execute(@Nonnull CorfuRuntime runtime, int numRetry)
public ActionStatus getStatus()
Copyright © 2019 CorfuDB. All rights reserved.