getInstanceStats()
33
Description
Returns a list of the group connections for a particular application instance. Groups are
multiplexed connections from a remote edge server to an origin server. Each group
connection represents at least one individual connection to another Flash Media Server server
that is acting as proxy for this server.
See also
getGroupMembers()
,
getGroupStats()
getInstanceStats()
Availability
■
Flash Player 6.
■
Flash Communication Server MX 1.0.
Usage
getInstanceStats(
app_instance
)
Parameters
app_instance
A string that contains the name of the instance of the application for which
you want performance statistics, in the form
application_name
/
instance_name
. You must
specify both the application name and the instance name, separated by a slash (
/
), even if you
want performance statistics for the default instance of the application.
For example, to specify the default instance for an application named
ChatApp
, specify
ChatApp/_defInst_
.
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:
Property
Description
launch_time
ActionScript Date object; time the instance was launched.
up_time
Number; length of time, in seconds, the instance has been running.
msg_in
Number; total number of messages processed by this instance of
the application.
msg_out
Number; total number of messages sent by this instance of the
application.