ResourceReadyLatencyEvent Class
ResourceReadyLatencyEvent Class
Raised by: SES
Base Class: LatencyEvent
Derived Classes: TASResourceReadyLatencyEvent
ResourceReadyLatencyEvent is raised to the Trace log after a resource has been downloaded and prepared for Speech Engine Services (SES) to use.
The event measures the total time required to download and prepare the resource. The event properties provide detailed latency information, as well as information about the resource being loaded.
ResourceReadyLatencyEvent has the following properties:
Property |
Type |
Description |
---|---|---|
Latency |
Long |
The number of milliseconds that elapsed during the latency event. |
StatusCode |
Integer |
The HTTP status code (for example, 401) returned from request. |
StatusDescription |
String |
The HTTP description for StatusCode (for example, "Unauthorized"). |
ResponseUri |
String |
The URI included in the response. |
ContentLength |
Long |
The length of the content returned by the request. |
ContentType |
String |
The content type of the response (typically a MIME type). |
ContentEncoding |
String |
The method used to encode the body of the response. |
LastModified |
DateTime |
The last date and time that the contents of the response were modified. |
ProtocolVersion |
String |
The version of HTTP protocol used in the response. |
Method |
String |
The HTTP method used to return the response (for example, GET or POST). |
Server |
String |
The name of the server that sent the response. |
ResponseHeaders |
String |
The headers returned with the response. |
RequestUri |
String |
The URI of the Internet resource that responded to the request. |
Accept |
String |
The MIME types specified in the request as acceptable. |
FreshnessLifetime |
Double |
The number of seconds this item is considered fresh (before requiring a refresh). |
HttpResponseLatency |
Long |
The number of milliseconds elapsed between issuing the HTTP GET and receiving the first byte of the body of the response. |
ResourceBodyLatency |
Long |
The number of milliseconds elapsed between receiving the first and last bytes of the body of a response to the HTTP GET request. |
ResourcePreparedLatency |
Long |
The number of milliseconds elapsed between SES receiving a response to the HTTP GET request, and the resource being ready for use. |
Remarks
The resource is ready after it has been compiled and loaded into an SR engine (for grammar files); or after it has been copied to disk and loaded into a speech output (SO) engine (for prompt database files).
See Also
Event Logging Class Hierarchy | Logging and Analyzing Events | CommonEvent | Event Filters | Filtering Logged Events