MultiRunner

view.tui.runner.MultiRunner
class MultiRunner extends Thread, Runner

A view.tui.runner.Runner implementation which uses multiple threads to make blocking code non-blocking.

Attributes

Graph
Supertypes
trait Runner
class Thread
trait Runnable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def readLine(prompt: String): String

Reads user input

Reads user input

Value parameters

prompt

the prompt to display

Attributes

Returns

the line read from standard input or another source

Definition Classes
override def run(run: () => Unit): Unit

Runs the given function in a controlled environment.

Runs the given function in a controlled environment.

Value parameters

run

the function to run

Attributes

Definition Classes
override def run(): Unit

Reads constantly from standard input and succeeds all readLine calls. This method should be run once using view.tui.runner.MultiRunner.start.

Reads constantly from standard input and succeeds all readLine calls. This method should be run once using view.tui.runner.MultiRunner.start.

Attributes

Definition Classes
Thread -> Runnable

Inherited methods

final def checkAccess(): Unit

Attributes

Inherited from:
Thread
def getContextClassLoader(): ClassLoader

Attributes

Inherited from:
Thread
def getId(): Long

Attributes

Inherited from:
Thread
final def getName(): String

Attributes

Inherited from:
Thread
final def getPriority(): Int

Attributes

Inherited from:
Thread
def getStackTrace(): Array[StackTraceElement]

Attributes

Inherited from:
Thread
def getState(): State

Attributes

Inherited from:
Thread
final def getThreadGroup(): ThreadGroup

Attributes

Inherited from:
Thread
def getUncaughtExceptionHandler(): UncaughtExceptionHandler

Attributes

Inherited from:
Thread
def interrupt(): Unit

Attributes

Inherited from:
Thread
final def isAlive(): Boolean

Attributes

Inherited from:
Thread
final def isDaemon(): Boolean

Attributes

Inherited from:
Thread
def isInterrupted(): Boolean

Attributes

Inherited from:
Thread
final def join(): Unit

Attributes

Inherited from:
Thread
final def join(x$0: Long, x$1: Int): Unit

Attributes

Inherited from:
Thread
final def join(x$0: Long): Unit

Attributes

Inherited from:
Thread
def setContextClassLoader(x$0: ClassLoader): Unit

Attributes

Inherited from:
Thread
final def setDaemon(x$0: Boolean): Unit

Attributes

Inherited from:
Thread
final def setName(x$0: String): Unit

Attributes

Inherited from:
Thread
final def setPriority(x$0: Int): Unit

Attributes

Inherited from:
Thread
def setUncaughtExceptionHandler(x$0: UncaughtExceptionHandler): Unit

Attributes

Inherited from:
Thread
def start(): Unit

Attributes

Inherited from:
Thread
def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Inherited from:
Thread

Deprecated and Inherited methods

@Deprecated(since = "1.2", forRemoval = true)
def countStackFrames(): Int

Attributes

Deprecated
true
Inherited from:
Thread
@Deprecated(since = "1.2")
final def resume(): Unit

Attributes

Deprecated
true
Inherited from:
Thread
@Deprecated(since = "1.2")
final def stop(): Unit

Attributes

Deprecated
true
Inherited from:
Thread
@Deprecated(since = "1.2")
final def suspend(): Unit

Attributes

Deprecated
true
Inherited from:
Thread