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 java.lang.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(java.lang.String name, int newCapacity)`

Method Summary
`int` | `getCapacity()`
`java.lang.String` | `getMonitorName()`
`void` | `setCapacity(int capacity)`
`void` | `setMonitorName(java.lang.String monitorName)`
`java.lang.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(java.lang.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 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

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.