|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.dsp.management.runtime.RequestRuntime
public class RequestRuntime
Provides runtime information about client requests.
Backwards compatibility: DSP2.5 SDO submit requests are modeled by this class as EXECUTE, FUNCTION requests with the function name set to "submit" and arity set to 0.
Nested Class Summary | |
---|---|
static class |
RequestRuntime.Action
The action performed by the request. |
static class |
RequestRuntime.DomainWideRequestId
Domain-wide request id. |
static class |
RequestRuntime.Target
The entity on which the action expressed by the request is performed. |
Field Summary | |
---|---|
static int |
ADHOC_QUERY
Deprecated. Use Action and Target instead. |
static int |
QUERY_FUNCTION
Deprecated. Use Action and Target instead. |
static javax.xml.namespace.QName |
SUBMIT
|
static int |
UPDATE_REQUEST
Deprecated. Use Action and Target instead. |
Constructor Summary | |
---|---|
RequestRuntime(java.lang.String instanceID,
java.lang.String serverName,
boolean compileOnly,
boolean hasSideEffects,
boolean isDSP25,
java.lang.String body,
javax.xml.namespace.QName functionName,
int arity,
java.lang.String issuerName,
java.util.Date startTime,
long runningTime)
|
|
RequestRuntime(java.lang.String instanceID,
java.lang.String serverName,
boolean compileOnly,
boolean hasSideEffects,
boolean isDSP25,
java.lang.String body,
java.lang.String dsName,
javax.xml.namespace.QName functionName,
int arity,
java.lang.String issuerName,
java.util.Date startTime,
long runningTime,
int kind)
|
Method Summary | |
---|---|
RequestRuntime.Action |
getAction()
|
int |
getArity()
|
java.lang.String |
getBody()
|
RequestRuntime.DomainWideRequestId |
getDomainWideRequestId()
|
java.lang.String |
getDSName()
Applicable only to function invocation requests. |
javax.xml.namespace.QName |
getFunctionName()
Applicable only to function invocation requests. |
java.lang.String |
getIssuerName()
|
int |
getKind()
Deprecated. Use getRequestType() and getRequestTarget() instead. |
long |
getRunningTime()
|
java.util.Date |
getStartTime()
|
RequestRuntime.Target |
getTarget()
|
boolean |
hasSideEffects()
|
boolean |
isDSP25()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final javax.xml.namespace.QName SUBMIT
public static final int ADHOC_QUERY
public static final int QUERY_FUNCTION
public static final int UPDATE_REQUEST
Constructor Detail |
---|
public RequestRuntime(java.lang.String instanceID, java.lang.String serverName, boolean compileOnly, boolean hasSideEffects, boolean isDSP25, java.lang.String body, java.lang.String dsName, javax.xml.namespace.QName functionName, int arity, java.lang.String issuerName, java.util.Date startTime, long runningTime, int kind)
instanceID
- A unique request id per server. May not be null.serverName
- The name of the server serving this request. May not be null.compileOnly
- true if this request is a GET_PLAN request;
false otherwise.hasSideEffects
- true if this request may have side-effects;
otherwise, false.isDSP25
- true if this request is a submit DSP25 request;
otherwise, false.body
- Not null if this is an ADHOC request;
null otherwise.dsName
- The name of the dataservice defining the function if this is a
FUNCTION request; null otherwise.functionName
- The function name if this is a FUNCTION request;
null otherwise.arity
- The function arity if this is a FUNCTION request;
The number of bound external variables if this is an ADHOC request;issuerName
- The user name associated with the request.startTime
- The time at which the request was submitted.
May not be null.runningTime
- The time since which the request was submitted
(in milliseconds).kind
- The request kind.public RequestRuntime(java.lang.String instanceID, java.lang.String serverName, boolean compileOnly, boolean hasSideEffects, boolean isDSP25, java.lang.String body, javax.xml.namespace.QName functionName, int arity, java.lang.String issuerName, java.util.Date startTime, long runningTime)
Method Detail |
---|
public RequestRuntime.DomainWideRequestId getDomainWideRequestId()
public int getKind()
public RequestRuntime.Action getAction()
public RequestRuntime.Target getTarget()
public boolean hasSideEffects()
public boolean isDSP25()
public java.lang.String getBody()
public java.lang.String getDSName()
public javax.xml.namespace.QName getFunctionName()
public int getArity()
public java.lang.String getIssuerName()
public java.util.Date getStartTime()
public long getRunningTime()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |