Class

miniraft.state.PersistentState

NotReally

Related Doc: package PersistentState

Permalink

class NotReally[T] extends PersistentState[T]

We're not really perisistent. Shhh ... don't tell!

Linear Supertypes
PersistentState[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NotReally
  2. PersistentState
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NotReally(initialTerm: Term, initialVote: Option[NodeId], applyToStateMachine: (LogEntry[T]) ⇒ 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(entries: List[LogEntry[T]]): NotReally[T]

    Permalink
    Definition Classes
    NotReallyPersistentState
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. def commit(at: LogIndex): PersistentState[T]

    Permalink
    Definition Classes
    NotReallyPersistentState
  8. def currentTerm: Term

    Permalink
    Definition Classes
    NotReallyPersistentState
  9. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    PersistentState → AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def log: InMemoryLog[T]

    Permalink
    Definition Classes
    NotReallyPersistentState
  15. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  19. var term: Term

    Permalink
  20. def toString(): String

    Permalink
    Definition Classes
    PersistentState → AnyRef → Any
  21. var vote: Option[NodeId]

    Permalink
  22. def voteFor(newTerm: Term, leader: Option[NodeId]): NotReally[T]

    Permalink
    Definition Classes
    NotReallyPersistentState
  23. def votedFor: Option[NodeId]

    Permalink
    Definition Classes
    NotReallyPersistentState
  24. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. 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 PersistentState[T]

Inherited from AnyRef

Inherited from Any

Ungrouped