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

## umontreal.iro.lecuyer.util
Interface LowMemoryListener

    public interface LowMemoryListener

Represents a low-memory notification listener that can be registered with a low-memory notifier.

Method Summary
`void` | `lowMemory(LowMemoryNotifier source, MemoryPoolMXBean pool, double fraction)` This method is called when a low-memory condition is detected by the low-memory notifier `source` for the memory pool `pool`, `fraction` indicating the number of used bytes over the maximum number of bytes for the pool.

Method Detail

### lowMemory

    void lowMemory(LowMemoryNotifier source,
                   MemoryPoolMXBean pool,
                   double fraction)

  This method is called when a low-memory condition is detected by the low-memory notifier `source` for the memory pool `pool`, `fraction` indicating the number of used bytes over the maximum number of bytes for the pool.

  Parameters:
    `source` - the low-memory notifier.
    `pool` - the memory pool which has exceeded its memory usage threshold.
    `fraction` - the number of used bytes over the maximal number of bytes.

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

To submit a bug or ask questions, send an e-mail to Richard Simard.