FusionReactor API
v3.0.1

com.intergral.fusionreactor.api
Interface FusionRequestSurrogate


public interface FusionRequestSurrogate

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.

Since:
2.0
Version:
3.0.1

Method Summary
 long getFusionRequestId()
          Get the tracking ID of this request.
 String getIpAddress()
          Get the IP address of the client.
 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 whichi this request was raised inside FusionReactor, measured in milliseconds from the Java time datum (midnight on January 1st, 1970 UTC).
 String getThread()
          Get the name of the thread handling the request.
 

Method Detail

getFusionRequestId

long getFusionRequestId()
Get the tracking ID of this request.

Returns:
the FusionReactor-assigned Request ID of this request.
Since:
2.0

getRequestUrl

URL getRequestUrl()
Get the URL, with protocol and query arguments (if applicable) associated with this request.

Returns:
the request URL associated with this request
Since:
2.0

getStartTimeMillis

long getStartTimeMillis()
Get the time at whichi this request was raised inside FusionReactor, measured in milliseconds from the Java time datum (midnight on January 1st, 1970 UTC).

Returns:
the time at which this request was raised,
Since:
2.0

getRuntime

long getRuntime()
Get the runtime for the request. This field is computed by subtracting the current millisecond time from the time returned by getStartTimeMillis().

Returns:
the current runtime, measured in milliseconds.
Since:
2.0.3

getThread

String getThread()
Get the name of the thread handling the request.

Returns:
the name of the thread in which this request is running.
Since:
2.0.3

getIpAddress

String getIpAddress()
Get the IP address of the client.

Returns:
a string containing the dotted quad address of the client.
Since:
2.0.3

FusionReactor API
v3.0.1

Copyright © 2005-2008 Intergral Information Solutions GmbH. All Rights Reserved.