|
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.Binding
public class Binding
Nested Class Summary | |
---|---|
static class |
Binding.BindingScope Scope of the binding. |
Constructor Summary | |
---|---|
Binding(MetadataObjectId waMid, boolean isExclusive) Creates a binding without any container information. |
|
Binding(MetadataObjectId waMid, boolean isExclusive, Binding.BindingScope bindingScope) Creates a binding without any container information. |
|
Binding(java.lang.String processGroup, java.lang.String serverName, MetadataObjectId waMid, boolean isExclusive) Creates a binding. |
|
Binding(java.lang.String processGroup, java.lang.String serverName, MetadataObjectId waMid, boolean isExclusive, Binding.BindingScope bindingScope) Creates a binding. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o) Determines if the Binding objects are equal. |
static Binding |
from(javax.management.openmbean.CompositeData cd) Create an instance of the model specific class out of an associated CompositeData instance |
Binding.BindingScope |
getBindingScope() Returns whether this work assignment binding is global. |
java.lang.String |
getProcessGroup() Returns the process group for this binding. |
java.lang.String |
getServerName() Returns the server name for this binding. |
MetadataObjectId |
getWorkAssignment() Returns the metadata id for the work assignment in this binding. |
MetadataObjectId |
getWorkAssignmentId() Returns the metadata id for the work assignment in this binding. |
int |
hashCode() |
boolean |
isExclusive() Returns whether this work assignment binding is exclusive. |
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 |
toDiagnosticString() Creates a String representation of this object to aid diagnosis. |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Binding(MetadataObjectId waMid, boolean isExclusive)
waMid
- metadata id of the work assignment being boundisExclusive
- true if the work assignment is bound in exclusive mode, meaning that the jobs specialized to this work assignment will not be run on any other processor in the process group. One work assignment can be bound in exclusive mode multiple times, and that set of processors will run the jobs specialized to the exclusive work assignment.public Binding(MetadataObjectId waMid, boolean isExclusive, Binding.BindingScope bindingScope)
waMid
- metadata id of the work assignment being boundisExclusive
- true if the work assignment is bound in exclusive mode, meaning that the jobs specialized to this work assignment will not be run on any other processor in the process group. One work assignment can be bound in exclusive mode multiple times, and that set of processors will run the jobs specialized to the exclusive work assignment.bindingScope
- scope of the binding.public Binding(java.lang.String processGroup, java.lang.String serverName, MetadataObjectId waMid, boolean isExclusive)
processGroup
- process group for serverserverName
- server for this bindingisExclusive
- true if the work assignment is bound in exclusive mode, meaning that the jobs specialized to this work assignment will not be run on any other processor in the process group. One work assignment can be bound in exclusive mode multiple times, and that set of processors will run the jobs specialized to the exclusive work assignment.waMid
- metadata id of the work assignment being boundpublic Binding(java.lang.String processGroup, java.lang.String serverName, MetadataObjectId waMid, boolean isExclusive, Binding.BindingScope bindingScope)
processGroup
- process group for serverserverName
- server for this bindingisExclusive
- true if the work assignment is bound in exclusive mode, meaning that the jobs specialized to this work assignment will not be run on any other processor in the process group. One work assignment can be bound in exclusive mode multiple times, and that set of processors will run the jobs specialized to the exclusive work assignment.waMid
- metadata id of the work assignment being boundbindingScope
- scope of the binding.Method Detail |
---|
public java.lang.String getServerName()
public java.lang.String getProcessGroup()
public MetadataObjectId getWorkAssignment()
public MetadataObjectId getWorkAssignmentId()
public boolean isExclusive()
public Binding.BindingScope getBindingScope()
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 Binding from(javax.management.openmbean.CompositeData cd) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toDiagnosticString()
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 |