public class PaxosState
extends java.lang.Object
| Constructor and Description |
|---|
PaxosState(Commit promised,
Commit accepted,
Commit mostRecentCommit) |
PaxosState(DecoratedKey key,
CFMetaData metadata) |
| Modifier and Type | Method and Description |
|---|---|
static void |
commit(Commit proposal) |
static PrepareResponse |
prepare(Commit toPrepare) |
static java.lang.Boolean |
propose(Commit proposal) |
public PaxosState(DecoratedKey key, CFMetaData metadata)
public static PrepareResponse prepare(Commit toPrepare)
public static java.lang.Boolean propose(Commit proposal)
public static void commit(Commit proposal)
Copyright © 2015 The Apache Software Foundation