User Guide
46 Server Management ActionScript Language Reference
getScriptStats()
Availability
■ Flash Player 6.
■ Flash Communication Server MX 1.0.
Usage
getScriptStats(app_instance)
Parameters
app_instance A string that contains the name of the instance of the application, in the
form
application_name/instance_name.
Returns
If the call succeeds, the server sends a reply information object with a level property of
status, a code property of NetConnection.Call.Success, and a data property that is an
object. The
data object has the following properties:
If the call fails, the server sends a reply information object with a
level property of error
and a
code property of NetConnection.Call.Failed or a more specific value, if available.
Some objects might also have a
description property that contains a string describing the
cause of the failure.
Description
Gets the performance data for a script running on the specified instance of an application.
Property Description
time_high_water_mark
Number; maximum amount of time, in seconds, the script has
taken to execute an event.
queue_size
Number; total number of events currently in the script engine
queue.
total_processed
Number; total number of events processed by the script engine.
total_process_time
Number; number of seconds taken to process the number of
events in
total_processed.
queue_high_water_mark
Number; maximum number of events in the queue.