SteppingRuntime

portals.runtime.SteppingRuntime

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def canStep(): Boolean

Returns true if the runtime can take another step.

Returns true if the runtime can take another step.

Attributes

def step(): Unit

Take a step.

Take a step.

A step will randomly choose one of the processing units (Workflows, Sequencers, etc.) with valid input. It will take one atom from the input and process it to completion.

Throws an exception if it cannot take a step.

Attributes

Concrete methods

def stepFor(millis: Long): Unit

Take steps for millis milliseconds and then stop.

Take steps for millis milliseconds and then stop.

Attributes

def stepUntilComplete(): Unit

Take steps until cannot take more steps.

Take steps until cannot take more steps.

Attributes

def stepUntilComplete(max: Int): Unit

Take steps until either cannot take more steps or has reached the max.

Take steps until either cannot take more steps or has reached the max.

Attributes

Inherited methods

def launch(application: Application): Unit

Launch an application.

Launch an application.

Attributes

Inherited from:
PortalsRuntime
def shutdown(): Unit

Terminate the runtime.

Terminate the runtime.

Attributes

Inherited from:
PortalsRuntime