org.activemq.capacity
Class CapacityMonitorEvent

java.lang.Object
  extended byorg.activemq.capacity.CapacityMonitorEvent

public class CapacityMonitorEvent
extends Object

A CapacityMonitorEvent is raised to notify that a change has occurred to the capacity of a CapacityMonitor

Version:
$Revision: 1.1.1.1 $

Constructor Summary
CapacityMonitorEvent()
          Default Constructor
CapacityMonitorEvent(String name, int newCapacity)
           
 
Method Summary
 int getCapacity()
           
 String getMonitorName()
           
 void setCapacity(int capacity)
           
 void setMonitorName(String monitorName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CapacityMonitorEvent

public CapacityMonitorEvent()
Default Constructor


CapacityMonitorEvent

public CapacityMonitorEvent(String name,
                            int newCapacity)
Parameters:
name -
newCapacity -
Method Detail

getCapacity

public int getCapacity()
Returns:
Returns the capacity.

setCapacity

public void setCapacity(int capacity)
Parameters:
capacity - The capacity to set.

getMonitorName

public String getMonitorName()
Returns:
Returns the monitorName.

setMonitorName

public void setMonitorName(String monitorName)
Parameters:
monitorName - The monitorName to set.

toString

public String toString()
Returns:
a pretty print of this


Copyright © 2004-2007 Protique, Ltd.. All Rights Reserved.