Class/Object

org.scaladebugger.tool.frontend.history

MemoryHistoryManager

Related Docs: object MemoryHistoryManager | package history

Permalink

class MemoryHistoryManager extends HistoryManager

Represents a history manager that stores and loads history using memory.

Linear Supertypes
HistoryManager, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MemoryHistoryManager
  2. HistoryManager
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. final def asInstanceOf[T0]: T0

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

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

    Permalink

    Destroys the history in memory.

    Destroys the history in memory.

    Definition Classes
    MemoryHistoryManagerHistoryManager
  7. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  13. def lines: Seq[String]

    Permalink

    Returns the collection of lines stored in history.

    Returns the collection of lines stored in history.

    returns

    The collection of lines

    Definition Classes
    MemoryHistoryManagerHistoryManager
  14. def linesByMostRecent: Seq[String]

    Permalink

    Returns the collection of lines stored in history in order of most to least recently added.

    Returns the collection of lines stored in history in order of most to least recently added.

    returns

    The collection of lines

    Definition Classes
    HistoryManager
  15. val maxLines: Int

    Permalink

    The maximum number of lines to keep in history

    The maximum number of lines to keep in history

    Definition Classes
    MemoryHistoryManagerHistoryManager
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def newHistoryQueue(): HistoryQueue

    Permalink

    Creates a new queue used for internal history storage.

    Creates a new queue used for internal history storage.

    returns

    The new queue instance

    Attributes
    protected
  18. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  20. def size: Int

    Permalink

    Returns the current number of lines of history held by the manager.

    Returns the current number of lines of history held by the manager.

    returns

    The total number of lines

    Definition Classes
    HistoryManager
  21. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def withHistory[T](f: (HistoryQueue) ⇒ T): T

    Permalink

    Evaluates a given function by passing in the current history.

    Evaluates a given function by passing in the current history. Synchronizes against the current history.

    T

    The return type from the function

    f

    The function to evaluate

    returns

    The result of evaluating the function

    Attributes
    protected
  27. def writeLine(line: String): Unit

    Permalink

    Adds a new line to the current history and updates the persistent history.

    Adds a new line to the current history and updates the persistent history.

    line

    The line to add

    Definition Classes
    MemoryHistoryManagerHistoryManager
  28. def writeLines(lines: String*): Unit

    Permalink

    Adds multiple lines to the current history and updates the persistent history.

    Adds multiple lines to the current history and updates the persistent history.

    lines

    The lines to add

    Definition Classes
    HistoryManager

Inherited from HistoryManager

Inherited from AnyRef

Inherited from Any

Ungrouped