ActorThread

cc.otavia.core.system.ActorThread
See theActorThread companion class
object ActorThread

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

Returns the currently executing ActorThread. Throws if the current thread is not an ActorThread.

Returns the currently executing ActorThread. Throws if the current thread is not an ActorThread.

Attributes

Returns the ActorThread.index of the currently executing ActorThread.

Returns the ActorThread.index of the currently executing ActorThread.

Attributes

final def currentThreadIsActorThread: Boolean

Check whether the current Thread is an ActorThread.

Check whether the current Thread is an ActorThread.

Attributes

final def threadBuffer[T]: ArrayBuffer[T]

Borrow the current thread's scratch mutable.ArrayBuffer, cast to the requested type. '''Warning''': Not reentrant. Only one buffer of any type may be in use at a time per thread.

Borrow the current thread's scratch mutable.ArrayBuffer, cast to the requested type. '''Warning''': Not reentrant. Only one buffer of any type may be in use at a time per thread.

Attributes

final def threadMap[K, V]: HashMap[K, V]

Borrow the current thread's scratch mutable.HashMap, cast to the requested type. '''Warning''': Not reentrant. Only one map of any type may be in use at a time per thread.

Borrow the current thread's scratch mutable.HashMap, cast to the requested type. '''Warning''': Not reentrant. Only one map of any type may be in use at a time per thread.

Attributes

final def threadSet[T]: HashSet[T]

Borrow the current thread's scratch mutable.HashSet, cast to the requested type. '''Warning''': Not reentrant. Only one set of any type may be in use at a time per thread.

Borrow the current thread's scratch mutable.HashSet, cast to the requested type. '''Warning''': Not reentrant. Only one set of any type may be in use at a time per thread.

Attributes