Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.activemq.capacity
Class CapacityMonitorEvent

    java.lang.Object
      org.codehaus.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.2 $

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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