public class QueueInfoImpl extends java.lang.Object implements QueueInfo, java.io.Serializable
QueueInfo| Constructor and Description |
|---|
QueueInfoImpl()
Creates a new instance of QueueInfo
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getQname()
Get the name of the queue
|
java.lang.String |
getQtype()
Get the type of the queue
|
int |
getReservedSlots()
Get the number of used queue slots
|
java.lang.String |
getState()
Get the state of the queue
|
int |
getTotalSlots()
Get the number of total queue slots
|
int |
getUsedSlots()
Get the number of used queue slots
|
void |
setQname(java.lang.String qname)
Set the name of the queue
|
void |
setQtype(java.lang.String qtype)
Set the name of the queue
|
void |
setReservedSlots(int slotsReserved)
Set the number of reserved queue slots
|
void |
setState(java.lang.String state)
Set the state of the queue
|
void |
setTotalSlots(int slotsTotal)
Set the number of total queue slots
|
void |
setUsedSlots(int slotsUsed)
Set the number of used queue slots
|
public java.lang.String getQname()
public void setQname(java.lang.String qname)
qname - the name of the queuepublic java.lang.String getQtype()
public void setQtype(java.lang.String qtype)
qtype - the type of the queuepublic java.lang.String getState()
public void setState(java.lang.String state)
public int getTotalSlots()
getTotalSlots in interface QueueInfopublic void setTotalSlots(int slotsTotal)
slotsTotal - of total queue slotspublic int getUsedSlots()
getUsedSlots in interface QueueInfopublic void setUsedSlots(int slotsUsed)
slotsUsed - of used queue slotspublic int getReservedSlots()
getReservedSlots in interface QueueInfopublic void setReservedSlots(int slotsReserved)
slotsReserved - of used queue slotsCopyright © 2007 Sun Microsystems, Inc. All rights reserved.