|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.grid.jgdi.monitoring.ClusterQueueSummary
public class ClusterQueueSummary
Instances of this class hold the cluster queue summary information of one queue.
Constructor Summary | |
---|---|
ClusterQueueSummary()
Creates a new instance of ClusterQueueSummary |
Method Summary | |
---|---|
int |
getAmbiguous()
Get the number of queue instances which are in the ambiguous state |
int |
getAvailableSlots()
Get the number of currently available slots. |
int |
getDisabledByCalendar()
Get the number of queue instances which has been by a calendar |
int |
getDisabledManual()
Get the number of queue instances which has been manually disabled |
int |
getError()
Get the number of queue instances which are in error state |
double |
getLoad()
Get the load of the cluster queue. |
int |
getLoadAlarm()
Get the number of queues instances which has an load alarm. |
int |
getManualIntervention()
Get the number of manually disabled queue instances. |
java.lang.String |
getName()
Get the name of the cluster queue |
int |
getOrphaned()
Get the number of queue instances which are orqhaned. |
int |
getReservedSlots()
Get the number of currently reserved slots |
int |
getSuspendByCalendar()
Get the number of queue instances which has been suspended by a calendar. |
int |
getSuspendManual()
Get the number of manually suspended queue instances. |
int |
getSuspendOnSubordinate()
Get the number of queue instances which has been suspended on a subordinate queue. |
int |
getSuspendThreshold()
Get the suspend threshold of the cluster queue |
int |
getTempDisabled()
Get the number of temporary disabled queue instances. |
int |
getTotalSlots()
Get the total number of slots of this cluster queue |
int |
getUnknown()
Get the number of queue instances which are in an unknown state. |
int |
getUsedSlots()
Get the number of currently used slots |
boolean |
isLoadSet()
Has the load value been set |
void |
setAmbiguous(int ambiguous)
Set the number of queue instances which are in the ambiguous state |
void |
setAvailableSlots(int availableSlots)
Set the number of currently available slots |
void |
setDisabledByCalendar(int disabledByCalendar)
Set the number of queue instances which has been by a calendar |
void |
setDisabledManual(int disabledManual)
Set the number of queue instances which has been manually disabled |
void |
setError(int error)
Set the number of queue instances which are in error state |
void |
setLoad(double load)
Set the load of the cluster queue |
void |
setLoadAlarm(int loadAlarm)
Set the number of queue instances which has an load alarm. |
void |
setManualIntervention(int manualIntervention)
Set the number manually disabled queue instances. |
void |
setName(java.lang.String name)
Set the name of the cluster queue |
void |
setOrphaned(int orphaned)
Set the number of queue instances which are orqhaned. |
void |
setReservedSlots(int reservedSlots)
Set the number of currently reserved slots |
void |
setSuspendByCalendar(int suspendByCalendar)
Set the number of queue instances which has been suspended by a calendar. |
void |
setSuspendManual(int suspendManual)
Set the number of manually suspended queue instances |
void |
setSuspendOnSubordinate(int suspendOnSubordinate)
Set the number of queue instances which has been suspended on a subordinate queue. |
void |
setSuspendThreshold(int suspendThreshold)
Set the suspend threshold of the cluster queue |
void |
setTempDisabled(int tempDisabled)
Set the number of temporary disabled queue instances. |
void |
setTotalSlots(int totalSlots)
Set the total number of slots. |
void |
setUnknown(int unknown)
Set the number of queue instances which are in an unknown state. |
void |
setUsedSlots(int usedSlots)
Set the number of currently used slots |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClusterQueueSummary()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the namepublic double getLoad()
isLoadSet
method
returns false
, the result of this method is undefined.
public void setLoad(double load)
load
- the new load valuegetLoad()
public boolean isLoadSet()
true of the load value is set
public int getReservedSlots()
public void setReservedSlots(int reservedSlots)
reservedSlots
- number of currently reserved slotspublic int getUsedSlots()
public void setUsedSlots(int usedSlots)
usedSlots
- number of currently used slotspublic int getTotalSlots()
public void setTotalSlots(int totalSlots)
totalSlots
- the total number of slotspublic int getAvailableSlots()
public void setAvailableSlots(int availableSlots)
availableSlots
- number of currently available slotspublic int getTempDisabled()
Get the number of temporary disabled queue instances.
Note: This value is only set if the showAdditionalAttributes
is set in the options for the cluster queue summary algorithm
.
BasicQueueOptions.showAdditionalAttributes
public void setTempDisabled(int tempDisabled)
tempDisabled
- the number of temporary disabled queue instances.public int getManualIntervention()
Get the number of manually disabled queue instances.
Note: This value is only set if the showAdditionalAttributes
is set in the options for the cluster queue summary algorithm
.
BasicQueueOptions.showAdditionalAttributes
public void setManualIntervention(int manualIntervention)
manualIntervention
- number manually disabled queue instances.public int getSuspendManual()
Note: This value is only set if the showAdditionalAttributes
is set in the options for the cluster queue summary algorithm
.
public void setSuspendManual(int suspendManual)
suspendManual
- number of manually suspended queue instancespublic int getSuspendThreshold()
Note: This value is only set if the showAdditionalAttributes
is set in the options for the cluster queue summary algorithm
.
public void setSuspendThreshold(int suspendThreshold)
suspendThreshold
- the suspend thresholdpublic int getSuspendOnSubordinate()
Note: This value is only set if the showAdditionalAttributes
is set in the options for the cluster queue summary algorithm
.
public void setSuspendOnSubordinate(int suspendOnSubordinate)
suspendOnSubordinate
- The number of queue instances which has been
suspended on a subordinate queuepublic int getSuspendByCalendar()
Note: This value is only set if the showAdditionalAttributes
is set in the options for the cluster queue summary algorithm
.
public void setSuspendByCalendar(int suspendByCalendar)
Note: This value is only set if the showAdditionalAttributes
is set in the options for the cluster queue summary algorithm
.
suspendByCalendar
- number of queue instances which has been
suspended by a calendar.public int getUnknown()
Note: This value is only set if the showAdditionalAttributes
is set in the options for the cluster queue summary algorithm
.
public void setUnknown(int unknown)
unknown
- number of queue instances which are in an unknown statepublic int getLoadAlarm()
public void setLoadAlarm(int loadAlarm)
loadAlarm
- number of queue instances which has an load alarm.public int getDisabledManual()
public void setDisabledManual(int disabledManual)
disabledManual
- number of queue instances which has been manually disabledpublic int getDisabledByCalendar()
public void setDisabledByCalendar(int disabledByCalendar)
disabledByCalendar
- number of queue instances which has been by a calendarpublic int getAmbiguous()
public void setAmbiguous(int ambiguous)
ambiguous
- number of queue instances which are in the ambiguous statepublic int getOrphaned()
public void setOrphaned(int orphaned)
orphaned
- number of queue instances which are orqhanedpublic int getError()
public void setError(int error)
error
- number of queue instances which are in error state
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |