| Package | Description |
|---|---|
| io.apigee.trireme.core | |
| io.apigee.trireme.core.internal |
| Modifier and Type | Method and Description |
|---|---|
void |
NodeRuntime.enqueueTask(ScriptTask task)
Put a task on the tick queue to be run in the main script thread.
|
void |
NodeRuntime.enqueueTask(ScriptTask task,
Object domain)
Put a task on the tick queue to be run in the main script thread.
|
| Modifier and Type | Method and Description |
|---|---|
ScriptRunner.Activity |
ScriptRunner.createTimer(long delay,
boolean repeating,
long repeatInterval,
ScriptTask task,
org.mozilla.javascript.Scriptable scope)
This method puts the task directly on the timer queue, which is unsynchronized.
|
void |
ScriptRunner.enqueueTask(ScriptTask task)
This method uses a concurrent queue so it may be called from any thread.
|
void |
ScriptRunner.enqueueTask(ScriptTask task,
Object domain)
This method uses a concurrent queue so it may be called from any thread.
|
Copyright © 2016 Apigee Corporation. All Rights Reserved.