public interface IFusionRequestSurrogate
This interface specifies the available proxied information from an internal FusionRequest. It is safe to store references to this object, since the data it encapsulates is copied from the underlying FusionRequest.
Modifier and Type | Method and Description |
---|---|
long |
getBytes()
Get the total number of bytes transferred in the response.
|
String |
getCfid()
Get the value of the CFID cookie for this request, if available.
|
String |
getCftoken()
Get the value of the CFTOKEN cookie for this request, if available.
|
String |
getCrashProtection()
Get the Protection rule currently operating on this request.
|
int |
getCrashProtectionStatus()
Get an integer describing the current status of Protection with regard to this request.
|
long |
getExecutionTime()
Get the execution time of this request, in milliseconds.
|
long |
getFusionRequestId()
Get the tracking ID of this request.
|
String |
getIpAddress()
Get the IP address of the client.
|
String |
getJavaSessionId()
Gets the Java J2EE session ID associated with this request, if J2EE session management is in use and enabled.
|
String |
getMethod()
Get the HTTP request method which triggered this request.
|
boolean |
getOutputCompressorState()
Get a boolean describing whether the response to this request is being compressed.
|
String |
getQueryString()
Return the query string from the URL used to trigger this request.
|
long |
getRequestId()
Get the ID of this request.
|
String |
getRequestStatus()
Get the status of this request.
|
URL |
getRequestUrl()
Get the URL, with protocol and query arguments (if applicable) associated with this request.
|
long |
getRuntime()
Get the runtime for the request.
|
long |
getStartTimeMillis()
Get the time at which this request was raised inside FusionReactor, measured in milliseconds from the Java time datum
(midnight on January 1st, 1970 UTC).
|
int |
getStatusCode()
Return the HTTP status code of this request's response, correct when this surrogate was obtained.
|
String |
getThread()
Get the name of the thread handling the request.
|
long |
getThreadCpuTime()
Return the time the thread spent on the processor cores.
|
long |
getTimeClosed()
Get the total elapsed time between starting the request and closing the reponse output.
|
long |
getTimeOfDeath()
Get the epoch time (measured in milliseconds from the Java time datum (midnight on January 1st, 1970 UTC) at which this
request is eligible to be terminated due to Timeout Protection (if Timeout Protection is enabled, and this request is not
immortal).
|
long |
getTimeOpened()
Get the elapsed time between starting the request and opening the response output.
|
long |
getTtfb()
Get the total time to first byte.
|
long |
getTtlb()
Get the total time to last byte.
|
boolean |
isImmortal()
Get a boolean describing whether this request is immortal.
|
String |
jdbcGetRunningStatement()
Get the running JDBC statement.
|
String |
jdbcGetRunningStatementDatasource()
Get the named datasource associated with the running statement.
|
long |
jdbcGetRunningStatementStartTimeMillis()
Get the time the currently-running JDBC statemet was started measured in milliseconds from the Java time datum (midnight on
January 1st, 1970 UTC).
|
long |
jdbcTotalExecutionTime()
Get the total time spent executing queries.
|
long |
jdbcTotalQueryCount()
Get the total number of queries run.
|
long |
jdbcTotalRows()
Get the total number rows retrieved by all queries in this request.
|
long |
jdbcTotalTime()
Get the total time spent executing, retrieving and processing query data.
|
boolean |
wasQueued()
Get a boolean describing whether this request was queued before execution.
|
long getFusionRequestId()
URL getRequestUrl()
long getStartTimeMillis()
long getRuntime()
getStartTimeMillis()
from the current millisecond time.String getThread()
String getIpAddress()
String getMethod()
String jdbcGetRunningStatement()
null
if no statement is running.String jdbcGetRunningStatementDatasource()
null
if:
long jdbcGetRunningStatementStartTimeMillis()
-1
if no statement is running.boolean getOutputCompressorState()
String getCfid()
Get the value of the CFID cookie for this request, if available.
This is an extension for the Adobe ColdFusion language.null
if it is unavailable.String getCftoken()
Get the value of the CFTOKEN cookie for this request, if available.
This is an extension for the Adobe ColdFusion language.null
if it is unavailable.String getJavaSessionId()
null
if the session is unavailable.boolean wasQueued()
long getTimeOfDeath()
0
if:
FRAPI.isRequestProtectionActive()
boolean isImmortal()
true
if Request Protection is enabled and this request is specifically excluded
false
if Request Protection is disabled or is enabled, and this request is not specifically
excluded.
FRAPI.isRequestProtectionActive()
long getRequestId()
String getRequestStatus()
String getCrashProtection()
int getCrashProtectionStatus()
long getExecutionTime()
String getQueryString()
null
if this is not available.int getStatusCode()
long getThreadCpuTime()
long jdbcTotalQueryCount()
long jdbcTotalTime()
long jdbcTotalExecutionTime()
long jdbcTotalRows()
long getBytes()
long getTtfb()
long getTtlb()
long getTimeOpened()
long getTimeClosed()
Copyright © 2005-2017 Intergral Information Solutions GmbH. All Rights Reserved.