org.objectweb.joram.shared.admin

Class SetQueueThreshold

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(String queueId, int threshold)
Constructs a SetQueueThreshold instance.

Method Summary

String
getQueueId()
Returns the identifier of the queue the threshold is set for.
int
getThreshold()
Returns the threshold value.

Constructor Details

SetQueueThreshold

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

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

Method Details

getQueueId

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


getThreshold

public int getThreshold()
Returns the threshold value.


Copyright B) 2004 Scalagent - All rights reserved