org.scaladebugger.tool.frontend.history

FileHistoryManager

class FileHistoryManager extends MemoryHistoryManager

Represents a history manager that stores and loads history via local files.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FileHistoryManager
  2. MemoryHistoryManager
  3. HistoryManager
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

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

    Definition Classes
    Any
  7. def clone(): AnyRef

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

    Destroys the internal history and wipes the history file.

    Destroys the internal history and wipes the history file.

    Definition Classes
    FileHistoryManagerMemoryHistoryManagerHistoryManager
  9. def destroyFile(): Unit

    Deletes the history file and creates a new writer to be used for subsequent writes.

    Deletes the history file and creates a new writer to be used for subsequent writes.

    Attributes
    protected
  10. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Any
  16. def lines: Seq[String]

    Returns the collection of lines stored in history.

    Returns the collection of lines stored in history.

    returns

    The collection of lines

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

    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
  18. val maxLines: Int

    The maximum number of lines to keep in history

    The maximum number of lines to keep in history

    Definition Classes
    FileHistoryManagerMemoryHistoryManagerHistoryManager
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def newHistoryQueue(): HistoryQueue

    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
    Definition Classes
    MemoryHistoryManager
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def size: Int

    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
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

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

    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
    Definition Classes
    MemoryHistoryManager
  30. def withWriter[T](f: (PrintWriter) ⇒ T): T

    Evaluates a given function by passing in the current writer.

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

    T

    The return type from the function

    f

    The function to evaluate

    returns

    The result of evaluating the function

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

    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
    FileHistoryManagerMemoryHistoryManagerHistoryManager
  32. def writeLines(lines: String*): Unit

    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 MemoryHistoryManager

Inherited from HistoryManager

Inherited from AnyRef

Inherited from Any

Ungrouped