HouseManager

cc.otavia.core.system.HouseManager
See theHouseManager companion object
final class HouseManager(val thread: ActorThread)

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def change(house: ActorHouse): Unit

Received Message or Event when ActorHouse status is READY | RUNNING

Received Message or Event when ActorHouse status is READY | RUNNING

Value parameters

house

The ActorHouse which is received Message or Event

Attributes

def laterTasks: ArrayDeque[Runnable]
def mount(house: ActorHouse): Unit
def ready(house: ActorHouse): Unit

ActorHouse status: WAITING -> READY

ActorHouse status: WAITING -> READY

Value parameters

house

the status changed ActorHouse

Attributes

def run(): Boolean

Run by thread, if no house is available, spin timeout nanosecond to wait some house become ready.

Run by thread, if no house is available, spin timeout nanosecond to wait some house become ready.

Attributes

Returns

true if run some ActorHouse, otherwise false.

def runnable: Boolean
override 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.

Definition Classes
Any
def trySteal(): Boolean

Steal from other ActorThread to run, this method is called by HouseManager.thread

Steal from other ActorThread to run, this method is called by HouseManager.thread

Attributes

Concrete fields