Class/Object

org.scaladebugger.tool.frontend.history

FileHistoryManager

Related Docs: object FileHistoryManager | package history

Permalink

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
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 internal history and wipes the history file.

    Destroys the internal history and wipes the history file.

    Definition Classes
    FileHistoryManagerMemoryHistoryManagerHistoryManager
  7. def destroyFile(): Unit

    Permalink

    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
  8. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  14. 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
  15. 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
  16. val maxLines: Int

    Permalink

    The maximum number of lines to keep in history

    The maximum number of lines to keep in history

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

    Permalink
    Definition Classes
    AnyRef
  18. 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
    Definition Classes
    MemoryHistoryManager
  19. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  21. 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
  22. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  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( ... )
  27. 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
    Definition Classes
    MemoryHistoryManager
  28. def withWriter[T](f: (PrintWriter) ⇒ T): T

    Permalink

    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
  29. 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
    FileHistoryManagerMemoryHistoryManagerHistoryManager
  30. 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 MemoryHistoryManager

Inherited from HistoryManager

Inherited from AnyRef

Inherited from Any

Ungrouped