Skip navigation links

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


oracle.as.scheduler.management
Class ActiveBinding

java.lang.Object
  extended by oracle.as.scheduler.management.ActiveBinding

All Implemented Interfaces:
java.io.Serializable

public class ActiveBinding
extends java.lang.Object
implements java.io.Serializable
Since:
release specific (what release of product did this appear in)
Version:
$Header: ess/src/oracle/as/scheduler/management/ActiveBinding.java /st_ess_11.1.1.5.0pt/2 2012/07/09 15:47:37 ddavison Exp $
Author:
ddavison
See Also:
Serialized Form

Constructor Summary
ActiveBinding(MetadataObjectId workAssignmentId, MetadataObjectId activeWorkshiftId, java.util.Calendar expiration, int maxAllocation, int currAllocation)
          Creates a new active instance.
ActiveBinding(MetadataObjectId workAssignmentId, MetadataObjectId activeWorkshiftId, java.util.Calendar expiration, int maxAllocation, int currAllocation, boolean isDeactivated)
          Creates a new instance.
ActiveBinding(MetadataObjectId workAssignmentId, MetadataObjectId activeWorkshiftId, java.util.Calendar expiration, int maxAllocation, int currAllocation, boolean isDeactivated, int plsqlAlloc, int asyncJavaAlloc)
          Creates a new instance.
ActiveBinding(MetadataObjectId workAssignmentId, MetadataObjectId activeWorkshiftId, java.util.Calendar expiration, int maxAllocation, int currAllocation, boolean isDeactivated, int plsqlAlloc, int asyncJavaAlloc, int plsqlLimit, int asyncJavaLimit)
          Creates a new instance.

 

Method Summary
static ActiveBinding from(javax.management.openmbean.CompositeData cd)
          Create an instance of the model specific class out of an associated CompositeData instance
 MetadataObjectId getActiveWorkshiftId()
           
 int getAsyncJavaAlloc()
           
 int getAsyncJavaLimit()
          Returns the asyncJava limit, or AsyncThrottle.UNSPECIFIED if its value is not included in this object.
 int getCurrAllocation()
           
 java.util.Calendar getExpiration()
           
 int getMaxAllocation()
           
 int getPlsqlAlloc()
           
 int getPlsqlLimit()
          Returns the plsql limit, or AsyncThrottle.UNSPECIFIED if its value is not included in this object.
 MetadataObjectId getWorkAssignmentId()
           
 boolean isDeactivated()
           
 void setAsyncJavaAlloc(int asyncJavaAlloc)
           
 void setAsyncJavaLimit(int asyncJavaLimit)
           
 void setPlsqlAlloc(int plsqlAlloc)
           
 void setPlsqlLimit(int plsqlLimit)
           
 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 toDiagnosticString()
          Creates a String representation of this object to aid diagnosis.
 java.lang.String toString()
           

 

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

 

Constructor Detail

ActiveBinding

public ActiveBinding(MetadataObjectId workAssignmentId,
                     MetadataObjectId activeWorkshiftId,
                     java.util.Calendar expiration,
                     int maxAllocation,
                     int currAllocation,
                     boolean isDeactivated)
Creates a new instance.
Parameters:
workAssignmentId - work assignment metadata id
activeWorkshiftId - metadata id for active workshift
expiration - date that the current workshift ends
maxAllocation - max processor thread allocation for this WA
currAllocation - current num threads in use by this WA
isDeactivated - true if this WA is deactivated but still has worker threads allocated

ActiveBinding

public ActiveBinding(MetadataObjectId workAssignmentId,
                     MetadataObjectId activeWorkshiftId,
                     java.util.Calendar expiration,
                     int maxAllocation,
                     int currAllocation,
                     boolean isDeactivated,
                     int plsqlAlloc,
                     int asyncJavaAlloc)
Creates a new instance.
Parameters:
workAssignmentId - work assignment metadata id
activeWorkshiftId - metadata id for active workshift
expiration - date that the current workshift ends
maxAllocation - max processor thread allocation for this WA
currAllocation - current num threads in use by this WA
isDeactivated - true if this WA is deactivated but still has worker threads allocated

ActiveBinding

public ActiveBinding(MetadataObjectId workAssignmentId,
                     MetadataObjectId activeWorkshiftId,
                     java.util.Calendar expiration,
                     int maxAllocation,
                     int currAllocation,
                     boolean isDeactivated,
                     int plsqlAlloc,
                     int asyncJavaAlloc,
                     int plsqlLimit,
                     int asyncJavaLimit)
Creates a new instance.
Parameters:
workAssignmentId - work assignment metadata id
activeWorkshiftId - metadata id for active workshift
expiration - date that the current workshift ends
maxAllocation - max processor thread allocation for this WA
currAllocation - current num threads in use by this WA
isDeactivated - true if this WA is deactivated but still has worker threads allocated

ActiveBinding

public ActiveBinding(MetadataObjectId workAssignmentId,
                     MetadataObjectId activeWorkshiftId,
                     java.util.Calendar expiration,
                     int maxAllocation,
                     int currAllocation)
Creates a new active instance.
Parameters:
workAssignmentId - work assignment metadata id
activeWorkshiftId - metadata id for active workshift
expiration - date that the current workshift ends
maxAllocation - max processor thread allocation for this WA
currAllocation - current num threads in use by this WA

Method Detail

getWorkAssignmentId

public MetadataObjectId getWorkAssignmentId()

getActiveWorkshiftId

public MetadataObjectId getActiveWorkshiftId()

getExpiration

public java.util.Calendar getExpiration()

getMaxAllocation

public int getMaxAllocation()

getCurrAllocation

public int getCurrAllocation()

isDeactivated

public boolean isDeactivated()

setPlsqlAlloc

public void setPlsqlAlloc(int plsqlAlloc)

getPlsqlAlloc

public int getPlsqlAlloc()

setPlsqlLimit

public void setPlsqlLimit(int plsqlLimit)

getPlsqlLimit

public int getPlsqlLimit()
Returns the plsql limit, or AsyncThrottle.UNSPECIFIED if its value is not included in this object.

setAsyncJavaAlloc

public void setAsyncJavaAlloc(int asyncJavaAlloc)

getAsyncJavaAlloc

public int getAsyncJavaAlloc()

setAsyncJavaLimit

public void setAsyncJavaLimit(int asyncJavaLimit)

getAsyncJavaLimit

public int getAsyncJavaLimit()
Returns the asyncJava limit, or AsyncThrottle.UNSPECIFIED if its value is not included in this object.

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 ActiveBinding 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

toDiagnosticString

public java.lang.String toDiagnosticString()
Creates a String representation of this object to aid diagnosis. This is used in ESS DFW diagnostic dumps.

toDebugString

public java.lang.String toDebugString()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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.