|
Oracle Enterprise Scheduler Java API Reference 11g Release 1 (11.1.1.7) E26229-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.as.scheduler.management.AsyncThrottle
public class AsyncThrottle
Field Summary | |
---|---|
protected int |
m_asyncJavaAlloc |
protected int |
m_asyncJavaLimit |
protected int |
m_plsqlAlloc |
protected int |
m_plsqlLimit |
static int |
NO_LIMIT |
static int |
UNSPECIFIED |
Constructor Summary | |
---|---|
protected |
AsyncThrottle(MetadataObjectId workshiftId) Deprecated. |
|
AsyncThrottle(MetadataObjectId workshiftId, int plsqlLimit, int asyncJavaLimit) Deprecated. |
protected |
AsyncThrottle(MetadataObjectId workshiftId, int plsqlLimit, int asyncJavaLimit, int plsqlAlloc, int asyncJavaAlloc) Deprecated. |
protected |
AsyncThrottle(MetadataObjectId workAssignmentId, MetadataObjectId workshiftId) NOTE !!!!!! This constructor is for internal ESS use only. |
|
AsyncThrottle(MetadataObjectId workAssignmentId, MetadataObjectId workshiftId, int plsqlLimit, int asyncJavaLimit) Creates an async throttle object, which defines limits on the number of asynchronous jobs that can be running concurrently for a particular (WorkAssignment, Workshift). |
protected |
AsyncThrottle(MetadataObjectId workAssignmentId, MetadataObjectId workshiftId, int plsqlLimit, int asyncJavaLimit, int plsqlAlloc, int asyncJavaAlloc) NOTE !!!!!! This constructor is for internal ESS use only. |
Method Summary | |
---|---|
static AsyncThrottle |
from(javax.management.openmbean.CompositeData cd) Create an instance of the model specific class out of an associated CompositeData instance |
int |
getAsyncJavaAlloc() Returns current number of running AsyncJava jobs for the (WorkAssignment, Workshift). |
int |
getAsyncJavaLimit() Returns max number of asyncJava jobs that can be running concurrently for the (WorkAssignment, Workshift). |
int |
getPlsqlAlloc() Returns current number of running PL/SQL jobs for the (WorkAssignment, Workshift). |
int |
getPlsqlLimit() Returns max number of PL/SQL jobs that can be running concurrently for the (WorkAssignment, Workshift). |
MetadataObjectId |
getWorkAssignmentId() Returns the metadata id for the work assignment. |
MetadataObjectId |
getWorkshiftId() Returns the metadata id for the workshift. |
boolean |
isAsyncJavaThrottled() Determines if async java jobs are being throttled. |
boolean |
isPlsqlThrottled() Determines if pl/sql jobs are being throttled. |
void |
setAsyncJavaLimit(int asyncJavaLimit) Sets the max number of asyncJava jobs that can be running concurrently for the (WorkAssignment, Workshift). |
void |
setPlsqlLimit(int plsqlLimit) Sets the max number of PL/SQL jobs that can be running concurrently for the (WorkAssignment, Workshift). |
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 |
java.lang.String |
toDebugString() |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int NO_LIMIT
public static final int UNSPECIFIED
protected int m_plsqlLimit
protected int m_asyncJavaLimit
protected int m_plsqlAlloc
protected int m_asyncJavaAlloc
Constructor Detail |
---|
@Deprecated
public AsyncThrottle(MetadataObjectId workshiftId,
int plsqlLimit,
int asyncJavaLimit)
workshiftId
- workshift to throttleplsqlLimit
- max PL/SQL jobs runningasyncJavaLimit
- max asyncJava jobs runningpublic AsyncThrottle(MetadataObjectId workAssignmentId, MetadataObjectId workshiftId, int plsqlLimit, int asyncJavaLimit)
workAssignmentId
- work assignment to throttleworkshiftId
- workshift to throttleplsqlLimit
- max PL/SQL jobs runningasyncJavaLimit
- max asyncJava jobs running
@Deprecated
protected AsyncThrottle(MetadataObjectId workshiftId)
workshiftId
- workshift to throttleprotected AsyncThrottle(MetadataObjectId workAssignmentId, MetadataObjectId workshiftId)
workAssignmentId
- work assignment to throttleworkshiftId
- workshift to throttle
@Deprecated
protected AsyncThrottle(MetadataObjectId workshiftId,
int plsqlLimit,
int asyncJavaLimit,
int plsqlAlloc,
int asyncJavaAlloc)
workshiftId
- workshift to throttleplsqlLimit
- max PL/SQL jobs runningasyncJavaLimit
- max asyncJava jobs runningprotected AsyncThrottle(MetadataObjectId workAssignmentId, MetadataObjectId workshiftId, int plsqlLimit, int asyncJavaLimit, int plsqlAlloc, int asyncJavaAlloc)
workAssignmentId
- work assignment to throttleworkshiftId
- workshift to throttleplsqlLimit
- max PL/SQL jobs runningasyncJavaLimit
- max asyncJava jobs runningMethod Detail |
---|
public MetadataObjectId getWorkAssignmentId()
public MetadataObjectId getWorkshiftId()
public int getPlsqlLimit()
public void setPlsqlLimit(int plsqlLimit)
plsqlLimit
- PL/SQL job limitpublic int getAsyncJavaLimit()
public void setAsyncJavaLimit(int asyncJavaLimit)
asyncJavaLimit
- asyncJava job limitpublic int getPlsqlAlloc()
public int getAsyncJavaAlloc()
public boolean isPlsqlThrottled()
true
if both limit and allocation are set and valid, and the allocation is equal to the limit; false
if both limit and allocation are set and valid, and the allocation is less than the limit ORx either limit or allocation is not set or valid.public boolean isAsyncJavaThrottled()
true
if both limit and allocation are set and valid, and the allocation is equal to the limit; false
if both limit and allocation are set and valid, and the allocation is less than the limit OR either limit or allocation is not set or valid.public static javax.management.openmbean.CompositeType toCompositeType()
public javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
ct
- This parameter is there only for future compatibility reasons with JDK 6.0. It can be ignored at this point.public static AsyncThrottle from(javax.management.openmbean.CompositeData cd) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public java.lang.String toDebugString()
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Enterprise Scheduler Java API Reference 11g Release 1 (11.1.1.7) E26229-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |