org.objectweb.joram.shared.admin
Class SetQueueThreshold

java.lang.Object
  extended byorg.objectweb.joram.shared.admin.AdminRequest
      extended byorg.objectweb.joram.shared.admin.SetQueueThreshold
All Implemented Interfaces:
java.io.Serializable

public class SetQueueThreshold
extends AdminRequest

A SetQueueThreshold instance requests to set a given threshold value as the threshold for a given queue.

See Also:
Serialized Form

Constructor Summary
SetQueueThreshold(java.lang.String queueId, int threshold)
          Constructs a SetQueueThreshold instance.
 
Method Summary
 java.lang.String getQueueId()
          Returns the identifier of the queue the threshold is set for.
 int getThreshold()
          Returns the threshold value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetQueueThreshold

public SetQueueThreshold(java.lang.String queueId,
                         int threshold)
Constructs a SetQueueThreshold instance.

Parameters:
queueId - Identifier of the queue the threshold is set for.
threshold - Threshold value.
Method Detail

getQueueId

public java.lang.String getQueueId()
Returns the identifier of the queue the threshold is set for.


getThreshold

public int getThreshold()
Returns the threshold value.



Copyright ? 2004 Scalagent - All rights reserved