public interface ResourceUtilization extends GEObject
Warning: The ResourceUtilization class will not be compatible with future Sun™ Grid Engine releases.
Modifier and Type | Method and Description |
---|---|
void |
addUtilized(ResourceDiagramEntry autilized)
Add a com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute.
|
void |
addUtilizedNonexclusive(ResourceDiagramEntry autilizedNonexclusive)
Add a com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute.
|
java.lang.String |
dump() |
java.lang.String |
getName()
Get the value of the name attribute.
|
ResourceDiagramEntry |
getUtilized(int index)
Get a com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute at an index.
|
int |
getUtilizedCount()
Get the number of com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributes.
|
java.util.List<ResourceDiagramEntry> |
getUtilizedList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributes.
|
ResourceDiagramEntry |
getUtilizedNonexclusive(int index)
Get a com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute at an index.
|
int |
getUtilizedNonexclusiveCount()
Get the number of com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributes.
|
java.util.List<ResourceDiagramEntry> |
getUtilizedNonexclusiveList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributes.
|
double |
getUtilizedNow()
Get the value of the utilizedNow attribute.
|
double |
getUtilizedNowNonexclusive()
Get the value of the utilizedNowNonexclusive attribute.
|
boolean |
isSetName()
Determine if any name attribute is set
|
boolean |
isSetUtilized()
Determine if any utilized attribute is set
|
boolean |
isSetUtilizedNonexclusive()
Determine if any utilizedNonexclusive attribute is set
|
boolean |
isSetUtilizedNow()
Determine if any utilizedNow attribute is set
|
boolean |
isSetUtilizedNowNonexclusive()
Determine if any utilizedNowNonexclusive attribute is set
|
void |
removeAllUtilized()
Remove all com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributes.
|
void |
removeAllUtilizedNonexclusive()
Remove all com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributes.
|
ResourceDiagramEntry |
removeUtilized(int index)
Remote a com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute at an index.
|
boolean |
removeUtilized(ResourceDiagramEntry autilized)
Remote a specific com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute.
|
ResourceDiagramEntry |
removeUtilizedNonexclusive(int index)
Remote a com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute at an index.
|
boolean |
removeUtilizedNonexclusive(ResourceDiagramEntry autilizedNonexclusive)
Remote a specific com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute.
|
void |
setName(java.lang.String aName)
Set the name attribute.
|
void |
setUtilized(int index,
ResourceDiagramEntry autilized)
Set a com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute.
|
void |
setUtilizedNonexclusive(int index,
ResourceDiagramEntry autilizedNonexclusive)
Set a com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute.
|
void |
setUtilizedNow(double aUtilizedNow)
Set the utilizedNow attribute.
|
void |
setUtilizedNowNonexclusive(double aUtilizedNowNonexclusive)
Set the utilizedNowNonexclusive attribute.
|
equalsCompletely, getParent
void setName(java.lang.String aName)
aName
- the new value for the name attributejava.lang.String getName()
boolean isSetName()
true
if the name attribute is setvoid setUtilizedNow(double aUtilizedNow)
aUtilizedNow
- the new value for the utilizedNow attributedouble getUtilizedNow()
boolean isSetUtilizedNow()
true
if the utilizedNow attribute is setjava.util.List<ResourceDiagramEntry> getUtilizedList()
int getUtilizedCount()
ResourceDiagramEntry getUtilized(int index)
index
- the index of the com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute which should be
removedvoid addUtilized(ResourceDiagramEntry autilized)
autilized
- the new com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributevoid setUtilized(int index, ResourceDiagramEntry autilized)
index
- index of the com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributeautilized
- the new com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributevoid removeAllUtilized()
ResourceDiagramEntry removeUtilized(int index)
index
- the index of the com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute which should be
removednull
if
no attribute at this index is storedboolean removeUtilized(ResourceDiagramEntry autilized)
autilized
- the com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute has been removedboolean isSetUtilized()
true
if the utilized attribute is setvoid setUtilizedNowNonexclusive(double aUtilizedNowNonexclusive)
aUtilizedNowNonexclusive
- the new value for the utilizedNowNonexclusive attributedouble getUtilizedNowNonexclusive()
boolean isSetUtilizedNowNonexclusive()
true
if the utilizedNowNonexclusive attribute is setjava.util.List<ResourceDiagramEntry> getUtilizedNonexclusiveList()
int getUtilizedNonexclusiveCount()
ResourceDiagramEntry getUtilizedNonexclusive(int index)
index
- the index of the com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute which should be
removedvoid addUtilizedNonexclusive(ResourceDiagramEntry autilizedNonexclusive)
autilizedNonexclusive
- the new com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributevoid setUtilizedNonexclusive(int index, ResourceDiagramEntry autilizedNonexclusive)
index
- index of the com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributeautilizedNonexclusive
- the new com.sun.grid.jgdi.configuration.ResourceDiagramEntry attributevoid removeAllUtilizedNonexclusive()
ResourceDiagramEntry removeUtilizedNonexclusive(int index)
index
- the index of the com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute which should be
removednull
if
no attribute at this index is storedboolean removeUtilizedNonexclusive(ResourceDiagramEntry autilizedNonexclusive)
autilizedNonexclusive
- the com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.ResourceDiagramEntry attribute has been removedboolean isSetUtilizedNonexclusive()
true
if the utilizedNonexclusive attribute is setjava.lang.String dump()
Copyright © 2007 Sun Microsystems, Inc. All rights reserved.