Class

miniraft.state.Log

InMemoryLog

Related Doc: package Log

Permalink

class InMemoryLog[Command] extends Log[Command]

Linear Supertypes
Log[Command], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InMemoryLog
  2. Log
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InMemoryLog(applyToStateMachine: (LogEntry[Command]) ⇒ Unit)

    Permalink

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 append(newEntries: List[LogEntry[Command]]): Log[Command]

    Permalink
    Definition Classes
    InMemoryLogLog
  5. def append(newEntry: LogEntry[Command]): Log[Command]

    Permalink

    Note - implementations need to override one of the two appends

    Note - implementations need to override one of the two appends

    Definition Classes
    Log
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def at(index: LogIndex): Option[LogEntry[Command]]

    Permalink
    Definition Classes
    InMemoryLogLog
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  9. def commit(latestIndex: LogIndex): Log[Command]

    Permalink
    Definition Classes
    InMemoryLogLog
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    Log → AnyRef → Any
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int

    Permalink
    Definition Classes
    Log → AnyRef → Any
  14. def isCommitted(index: Int): Boolean

    Permalink
    Definition Classes
    InMemoryLogLog
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def lastCommittedIndex: LogIndex

    Permalink
    Definition Classes
    Log
  17. def lastTerm: Term

    Permalink
    Definition Classes
    Log
  18. def lastUnappliedIndex: LogIndex

    Permalink
    Definition Classes
    Log
  19. def latestCommittedEntry: Option[LogEntry[Command]]

    Permalink
    Definition Classes
    InMemoryLogLog
  20. def latestUnappliedEntry: Option[LogEntry[Command]]

    Permalink
    Definition Classes
    InMemoryLogLog
  21. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  24. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Log[Command]

Inherited from AnyRef

Inherited from Any

Ungrouped