Class

com.github.trex_paxos.internals

MapDBStore

Related Doc: package internals

Permalink

class MapDBStore extends Journal with TrexMembership with Closeable

A MapDB storage engine. Note that you must call close on the file for a clean shutdown.

Linear Supertypes
Closeable, AutoCloseable, TrexMembership, Journal, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MapDBStore
  2. Closeable
  3. AutoCloseable
  4. TrexMembership
  5. Journal
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MapDBStore(journalFile: File, retained: Int)

    Permalink

    journalFile

    File to journal into.

    retained

    Minimum number of committed slots to retain for retransmission

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def accept(a: Accept*): Unit

    Permalink
    Definition Classes
    MapDBStore → Journal
  5. def accepted(logIndex: Long): Option[Accept]

    Permalink
    Definition Classes
    MapDBStore → Journal
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val bookworkMap: ConcurrentNavigableMap[String, Array[Byte]]

    Permalink
  8. def bounds: JournalBounds

    Permalink
    Definition Classes
    MapDBStore → Journal
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def close(): Unit

    Permalink
    Definition Classes
    MapDBStore → Closeable → AutoCloseable
  11. val db: DB

    Permalink
  12. val emptyStoreFile: Boolean

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. def init(): Unit

    Permalink
    Attributes
    protected
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def loadMembership(): Option[CommittedMembership]

    Permalink
    Definition Classes
    MapDBStoreTrexMembership
  21. def loadProgress(): Progress

    Permalink
    Definition Classes
    MapDBStore → Journal
  22. val memberMap: ConcurrentNavigableMap[Long, Array[Byte]]

    Permalink
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def saveMembership(cm: CommittedMembership): Unit

    Permalink
    Definition Classes
    MapDBStoreTrexMembership
  27. def saveProgress(progress: Progress): Unit

    Permalink
    Definition Classes
    MapDBStore → Journal
  28. val storeMap: ConcurrentNavigableMap[Long, Array[Byte]]

    Permalink
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Closeable

Inherited from AutoCloseable

Inherited from TrexMembership

Inherited from Journal

Inherited from AnyRef

Inherited from Any

Ungrouped