|
Joram 5.1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.shared.admin.AbstractAdminMessage
org.objectweb.joram.shared.admin.AdminRequest
org.objectweb.joram.shared.admin.SetQueueThreshold
public class SetQueueThreshold
A SetQueueThreshold
instance requests to set a given
threshold value as the threshold for a given queue.
Field Summary |
---|
Constructor Summary | |
---|---|
SetQueueThreshold()
|
|
SetQueueThreshold(java.lang.String queueId,
int threshold)
Constructs a SetQueueThreshold instance. |
Method Summary | |
---|---|
protected int |
getClassId()
|
java.lang.String |
getQueueId()
Returns the identifier of the queue the threshold is set for. |
int |
getThreshold()
Returns the threshold value. |
void |
readFrom(java.io.InputStream is)
The object implements the readFrom method to restore its contents from the input stream. |
void |
writeTo(java.io.OutputStream os)
The object implements the writeTo method to write its contents to the output stream. |
Methods inherited from class org.objectweb.joram.shared.admin.AbstractAdminMessage |
---|
read, readExternal, soapCode, soapDecode, write, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SetQueueThreshold(java.lang.String queueId, int threshold)
SetQueueThreshold
instance.
queueId
- Identifier of the queue the threshold is set for.threshold
- Threshold value.public SetQueueThreshold()
Method Detail |
---|
public java.lang.String getQueueId()
public int getThreshold()
protected int getClassId()
getClassId
in class AdminRequest
public void readFrom(java.io.InputStream is) throws java.io.IOException
Streamable
is
- the stream to read data from in order to restore the object
java.io.IOException
public void writeTo(java.io.OutputStream os) throws java.io.IOException
Streamable
os
- the stream to write the object to
java.io.IOException
|
Joram 5.1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |