OperationController
Class
This is the runtime half of the airlock system. A distribution needs to provide the other half, which is the throttle controller. Together, these two halves bind multiple threads to the 'main' thread. This allows for the behaviour defined in the language specification.
Extends
Object
Modifiers
public
Constructors
new OperationController (Skript, SkriptThreadProvider)
ConstructorNo description is available for this element.
Index | Type | Name |
---|---|---|
1 | Skript | skript |
2 | SkriptThreadProvider | provider |
Return Type
OperationController
Modifiers
public
Fields
queue
FieldNo description is available for this element.
Type
AirlockQueue
Modifiers
protected final
provider
FieldNo description is available for this element.
Type
SkriptThreadProvider
Modifiers
protected final
skript
FieldNo description is available for this element.
Type
Skript
Modifiers
protected final
state
FieldNo description is available for this element.
Type
boolean
Modifiers
protected
Methods
getQueue ()
MethodNo description is available for this element.
Return Type
AirlockQueue
Modifiers
public synchronized
addInstruction (Instruction)
MethodNo description is available for this element.
Index | Type | Name |
---|---|---|
1 | Instruction | runnable |
Return Type
void
Modifiers
public synchronized
kill ()
MethodNo description is available for this element.
Return Type
void
Modifiers
public synchronized
getSkript ()
MethodNo description is available for this element.
Return Type
Skript
Modifiers
public