org.activemq.capacity
Class CapacityMonitorEvent
java.lang.Object
org.activemq.capacity.CapacityMonitorEvent
- public class CapacityMonitorEvent
- extends java.lang.Object
A CapacityMonitorEvent is raised to notify that a change has occurred to the
capacity of a CapacityMonitor
- Version:
- $Revision: 1.1.1.1 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CapacityMonitorEvent
public CapacityMonitorEvent()
- Default Constructor
CapacityMonitorEvent
public CapacityMonitorEvent(java.lang.String name,
int newCapacity)
- Parameters:
name
- newCapacity
-
getCapacity
public int getCapacity()
- Returns:
- Returns the capacity.
setCapacity
public void setCapacity(int capacity)
- Parameters:
capacity
- The capacity to set.
getMonitorName
public java.lang.String getMonitorName()
- Returns:
- Returns the monitorName.
setMonitorName
public void setMonitorName(java.lang.String monitorName)
- Parameters:
monitorName
- The monitorName to set.
toString
public java.lang.String toString()
- Returns:
- a pretty print of this
Copyright © 2004-2005 Protique, Ltd.. All Rights Reserved.