Skip navigation links

Oracle Enterprise Scheduler Java API Reference
11g Release 1 (11.1.1.7)
E26229-06


oracle.as.scheduler
Class RequestSummary

java.lang.Object
  extended by oracle.as.scheduler.RequestSummary

All Implemented Interfaces:
java.io.Serializable

public class RequestSummary
extends java.lang.Object
implements java.io.Serializable

Provides request summary information.

See Also:
Serialized Form

Constructor Summary
RequestSummary(java.util.Calendar date, int scheduled, int succeeded, int warning, int failed, int cancelled)
           
RequestSummary(long reqid, long minElapsed, long maxElapsed, long avgElapsed, int running, int succeeded, int warning, int failed, int cancelled)
           
RequestSummary(MetadataObjectId id, java.lang.String application, java.lang.String deployedApplication, int succeeded, int warning, int failed, int cancelled, long minElapsed, long maxElapsed, long avgElapsed, long totalElapsed, java.util.Calendar date, long reqid)
           
RequestSummary(java.lang.String processor, long minLatency, long maxLatency, long avgLatency, long minElapsed, long maxElapsed, long avgElapsed, int running)
           
RequestSummary(java.lang.String workAssignment, long minLatency, long maxLatency, long avgLatency, long minElapsed, long maxElapsed, long avgElapsed, int running, int succeeded, int warning, int failed, int cancelled)
           
RequestSummary(java.lang.String application, java.lang.String deployedApplication, int running, int succeeded, int warning, int failed, int cancelled, int waiting, int ready, int hold, int blocked)
           
RequestSummary(java.lang.String application, java.lang.String deployedApplication, java.lang.String submitter, int processed, long totalElapsed)
           
RequestSummary(java.lang.String application, java.lang.String deployedApplication, java.lang.String submitter, java.lang.String responsibility, int running, int succeeded, int warning, int failed, int cancelled, int waiting, int ready)
           
RequestSummary(java.lang.String application, java.lang.String deployedApplication, java.lang.String submitter, java.lang.String responsibility, int running, int succeeded, int warning, int failed, int cancelled, int waiting, int ready, int hold, int blocked)
           

 

Method Summary
static RequestSummary from(javax.management.openmbean.CompositeData cd)
          Create an instance of the model specific class out of an associated CompositeData instance
 java.lang.String getApplication()
          Gets the logical application name associated with this summary.
 long getAvgElapsed()
          Gets the average elapsed run time for this summary in seconds.
 long getAvgLatency()
          Gets the average latency for this summary in seconds.
 int getBlockedCount()
          Gets the total number of requests in a BLOCKED state.
 int getCancelledCount()
          Gets the number of requests that were cancelled.
 java.util.Calendar getDate()
          Gets the date associated with this summary.
 MetadataObjectId getDefinition()
          Gets the associated job / job set definition.
 java.lang.String getDeployedApplication()
          Gets the physical J2EE application deployment name associated with this summary.
 int getFailedCount()
          Gets the number of requests that failed.
 int getHoldCount()
          Gets the total number of requests in a HOLD state.
 long getMaxElapsed()
          Gets the maximum elapsed run time for this summary in seconds.
 long getMaxLatency()
          Gets the maximum latency for this summary in seconds.
 long getMinElapsed()
          Gets the minimum elapsed run time for this summary in seconds.
 long getMinLatency()
          Gets the minimum latency for this summary in seconds.
 int getPendingCount()
          Gets the total number of pending requests associated with this summary.
 int getProcessedCount()
          Gets the total number of requests processed associated with this summary.
 java.lang.String getProcessor()
          Gets the Request Processor name associated with this summary.
 int getReadyCount()
          Gets the total number of requests in a ready state.
 long getRequestID()
          Gets the request identifier for this summary.
 java.lang.String getResonsibility()
          Deprecated. - this method is deprecated.
 java.lang.String getResponsibility()
          Gets the responsibility associated with this summary.
 int getRunningCount()
          Gets the number of requests that are currently running.
 int getScheduledCount()
          Gets the total number of requests scheduled.
 java.lang.String getSubmitter()
          Gets the submitting users name associated with this summary.
 int getSucceededCount()
          Gets the total number of requests that succeeded.
 long getTotalElapsed()
          Gets the total elapsed run time for this summary in seconds.
 int getWaitingCount()
          Gets the total number of requests in a waiting state.
 int getWarningCount()
          Gets the number of requests that resulted in warning.
 java.lang.String getWorkAssignment()
          Gets the Work Assignment name associated with this summary.
 javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
          Convert an instance of this model specific type to a CompositeData.
static javax.management.openmbean.CompositeType toCompositeType()
          Returns the CompositeType that describes this model specific class

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

RequestSummary

public RequestSummary(java.lang.String application,
                      java.lang.String deployedApplication,
                      java.lang.String submitter,
                      int processed,
                      long totalElapsed)

RequestSummary

public RequestSummary(java.lang.String application,
                      java.lang.String deployedApplication,
                      java.lang.String submitter,
                      java.lang.String responsibility,
                      int running,
                      int succeeded,
                      int warning,
                      int failed,
                      int cancelled,
                      int waiting,
                      int ready,
                      int hold,
                      int blocked)

RequestSummary

public RequestSummary(java.lang.String application,
                      java.lang.String deployedApplication,
                      java.lang.String submitter,
                      java.lang.String responsibility,
                      int running,
                      int succeeded,
                      int warning,
                      int failed,
                      int cancelled,
                      int waiting,
                      int ready)

RequestSummary

public RequestSummary(long reqid,
                      long minElapsed,
                      long maxElapsed,
                      long avgElapsed,
                      int running,
                      int succeeded,
                      int warning,
                      int failed,
                      int cancelled)

RequestSummary

public RequestSummary(java.lang.String application,
                      java.lang.String deployedApplication,
                      int running,
                      int succeeded,
                      int warning,
                      int failed,
                      int cancelled,
                      int waiting,
                      int ready,
                      int hold,
                      int blocked)

RequestSummary

public RequestSummary(MetadataObjectId id,
                      java.lang.String application,
                      java.lang.String deployedApplication,
                      int succeeded,
                      int warning,
                      int failed,
                      int cancelled,
                      long minElapsed,
                      long maxElapsed,
                      long avgElapsed,
                      long totalElapsed,
                      java.util.Calendar date,
                      long reqid)

RequestSummary

public RequestSummary(java.lang.String workAssignment,
                      long minLatency,
                      long maxLatency,
                      long avgLatency,
                      long minElapsed,
                      long maxElapsed,
                      long avgElapsed,
                      int running,
                      int succeeded,
                      int warning,
                      int failed,
                      int cancelled)

RequestSummary

public RequestSummary(java.lang.String processor,
                      long minLatency,
                      long maxLatency,
                      long avgLatency,
                      long minElapsed,
                      long maxElapsed,
                      long avgElapsed,
                      int running)

RequestSummary

public RequestSummary(java.util.Calendar date,
                      int scheduled,
                      int succeeded,
                      int warning,
                      int failed,
                      int cancelled)

Method Detail

getSubmitter

public java.lang.String getSubmitter()
Gets the submitting users name associated with this summary.
Returns:
user name or null if not applicable.

getResponsibility

public java.lang.String getResponsibility()
Gets the responsibility associated with this summary.
Returns:
responsibility or null if not applicable.

getResonsibility

@Deprecated
public java.lang.String getResonsibility()
Deprecated. - this method is deprecated.
Gets the responsibility.

getApplication

public java.lang.String getApplication()
Gets the logical application name associated with this summary.
Returns:
application name or null if not applicable.

getDeployedApplication

public java.lang.String getDeployedApplication()
Gets the physical J2EE application deployment name associated with this summary.
Returns:
deployed application name or null if not applicable.

getWorkAssignment

public java.lang.String getWorkAssignment()
Gets the Work Assignment name associated with this summary.
Returns:
work assignment name or null if not applicable.

getProcessor

public java.lang.String getProcessor()
Gets the Request Processor name associated with this summary.
Returns:
processor name or null if not applicable.

getDefinition

public MetadataObjectId getDefinition()
Gets the associated job / job set definition.
Returns:
definition identifier or null if not applicable.

getScheduledCount

public int getScheduledCount()
Gets the total number of requests scheduled.
Returns:
total number of requests scheduled or -1 if not applicable.

getWaitingCount

public int getWaitingCount()
Gets the total number of requests in a waiting state.
Returns:
total number of requests waiting or -1 if not applicable.

getReadyCount

public int getReadyCount()
Gets the total number of requests in a ready state.
Returns:
total number of requests in ready state or -1 if not applicable.

getPendingCount

public int getPendingCount()
Gets the total number of pending requests associated with this summary. This is the sum of the requests that are in either of the waiting or ready or hold or blocked states.
Returns:
total number of pending requests or -1 if not applicable.

getProcessedCount

public int getProcessedCount()
Gets the total number of requests processed associated with this summary. This is the sum of the requests that are in either of the succeeded, warning, failed and cancelled states.
Returns:
total number of requests or -1 if not applicable.

getSucceededCount

public int getSucceededCount()
Gets the total number of requests that succeeded.
Returns:
number of successful requests or -1 if not applicable.

getFailedCount

public int getFailedCount()
Gets the number of requests that failed.
Returns:
number failed requests or -1 if not applicable.

getCancelledCount

public int getCancelledCount()
Gets the number of requests that were cancelled.
Returns:
number of cancelled requests or -1 if not applicable.

getWarningCount

public int getWarningCount()
Gets the number of requests that resulted in warning.
Returns:
number of warning requests or -1 if not applicable.

getRunningCount

public int getRunningCount()
Gets the number of requests that are currently running.
Returns:
number of running requests or -1 if not applicable.

getHoldCount

public int getHoldCount()
Gets the total number of requests in a HOLD state.
Returns:
total number of requests in HOLD state or -1 if not applicable.

getBlockedCount

public int getBlockedCount()
Gets the total number of requests in a BLOCKED state.
Returns:
total number of requests in BLOCKED state or -1 if not applicable.

getRequestID

public long getRequestID()
Gets the request identifier for this summary.
Returns:
request identifier or -1 if not applicable.

getMinLatency

public long getMinLatency()
Gets the minimum latency for this summary in seconds.
Returns:
the minimum latency or -1 if not applicable.

getMaxLatency

public long getMaxLatency()
Gets the maximum latency for this summary in seconds.
Returns:
the maximum latency or -1 if not applicable.

getAvgLatency

public long getAvgLatency()
Gets the average latency for this summary in seconds.
Returns:
the average latency or -1 if not applicable.

getMinElapsed

public long getMinElapsed()
Gets the minimum elapsed run time for this summary in seconds.
Returns:
minimum elapsed run time or -1 if not applicable.

getMaxElapsed

public long getMaxElapsed()
Gets the maximum elapsed run time for this summary in seconds.
Returns:
maximum elapsed run time or -1 if not applicable.

getAvgElapsed

public long getAvgElapsed()
Gets the average elapsed run time for this summary in seconds.
Returns:
average elapsed run time or -1 if not applicable.

getTotalElapsed

public long getTotalElapsed()
Gets the total elapsed run time for this summary in seconds.
Returns:
total elapsed run time or -1 if not applicable.

getDate

public java.util.Calendar getDate()
Gets the date associated with this summary.
Returns:
date or null if not applicable.

toCompositeType

public static javax.management.openmbean.CompositeType toCompositeType()
Returns the CompositeType that describes this model specific class

toCompositeData

public javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
Convert an instance of this model specific type to a CompositeData. This ensure that clients that do not have access to the model specific class can still use the MBean. The MXBean framework can perform this conversion automatically. However MXBeans are part of JDK 6.0 and AS11g is required to support JDK 5.0
Parameters:
ct - This parameter is there only for future compatibility reasons with JDK 6.0. It can be ignored at this point.

from

public static RequestSummary from(javax.management.openmbean.CompositeData cd)
                           throws java.lang.IllegalArgumentException
Create an instance of the model specific class out of an associated CompositeData instance
Throws:
java.lang.IllegalArgumentException

Skip navigation links

Oracle Enterprise Scheduler Java API Reference
11g Release 1 (11.1.1.7)
E26229-06


Copyright © 2008, 2013, Oracle and/or its affiliates. All rights reserved.