public static class TimerWrap.TimerImpl extends Referenceable implements ScriptTask
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_NAME |
| Constructor and Description |
|---|
TimerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
execute(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope) |
java.lang.String |
getClassName() |
java.lang.Object |
getDomain() |
org.mozilla.javascript.Function |
getTimeout() |
static java.lang.Object |
newTimerImpl(org.mozilla.javascript.Context cx,
java.lang.Object[] args,
org.mozilla.javascript.Function fn,
boolean isNew) |
static java.lang.Object |
now(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args,
org.mozilla.javascript.Function fun)
This is called by the "timer" module to get a timestamp efficiently that won't change until
the next time that we go through the loop.
|
void |
setDomain(java.lang.Object d) |
void |
setTimeout(org.mozilla.javascript.Function f) |
static int |
start(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args,
org.mozilla.javascript.Function func) |
clearErrno, clearPin, getRunner, getRunner, ref, requestPin, setErrno, setErrno, unrefapplyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, equivalentValues, get, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, has, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, sizepublic static final java.lang.String CLASS_NAME
public java.lang.String getClassName()
getClassName in interface org.mozilla.javascript.ScriptablegetClassName in class Referenceable@JSConstructor
public static java.lang.Object newTimerImpl(org.mozilla.javascript.Context cx,
java.lang.Object[] args,
org.mozilla.javascript.Function fn,
boolean isNew)
@JSStaticFunction
public static java.lang.Object now(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args,
org.mozilla.javascript.Function fun)
@JSGetter(value="ontimeout") public org.mozilla.javascript.Function getTimeout()
@JSSetter(value="ontimeout") public void setTimeout(org.mozilla.javascript.Function f)
@JSGetter(value="domain") public java.lang.Object getDomain()
@JSSetter(value="domain") public void setDomain(java.lang.Object d)
@JSFunction
public static int start(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args,
org.mozilla.javascript.Function func)
@JSFunction public void close()
close in class Referenceablepublic void execute(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope)
execute in interface ScriptTaskCopyright © 2018 Apigee Corporation. All Rights Reserved.