Functions -
runtime
externGetProperty |
|
getCallStack |
Retrieves the array of |
getInvocationContext |
Returns the |
getProperty |
Returns the system property value associated with the specified property name. |
sleep |
Halts the current worker for a predefined amount of time. |
timeout |
Gives a timeout to the current worker for a predefined amount of time. |
Retrieves the array of runtime:CallStackElement
instances.
runtime:CallStackElement[] callStackElements = runtime:getCallStack();
-
Return Type
(CallStackElement[]) Array of
runtime:CallStackElement
records
Returns the runtime:InvocationContext
instance.
runtime:InvocationContext invocationContext = runtime:getInvocationContext();
-
Return Type
(InvocationContext) The
runtime:InvocationContext
instance
Returns the system property value associated with the specified property name.
string userHome = runtime:getProperty("user.home");
Parameters
- name string
-
Name of the property
-
Return Type
(string) Value of the property if the property exists or else an empty string otherwise
Halts the current worker for a predefined amount of time.
runtime:sleep(1000);
Parameters
- millis int
-
Amount of time to sleep in milliseconds