PaxosState (apache-cassandra API)
Date: 2014-10-21

org.apache.cassandra.service.paxos

## Class PaxosState

- java.lang.Object
- - org.apache.cassandra.service.paxos.PaxosState

-     public class PaxosState
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PaxosState(java.nio.ByteBuffer key, CFMetaData metadata)`
    `PaxosState(Commit promised, Commit accepted, Commit mostRecentCommit)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `commit(Commit proposal)`
    `static PrepareResponse` | `prepare(Commit toPrepare)`
    `static java.lang.Boolean` | `propose(Commit proposal)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PaxosState

          public PaxosState(java.nio.ByteBuffer key,
                    CFMetaData metadata)

    - #### PaxosState

          public PaxosState(Commit promised,
                    Commit accepted,
                    Commit mostRecentCommit)

  - ### Method Detail

    - #### prepare

          public static PrepareResponse prepare(Commit toPrepare)

    - #### propose

          public static java.lang.Boolean propose(Commit proposal)

    - #### commit

          public static void commit(Commit proposal)

Copyright © 2014 The Apache Software Foundation