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

## com.atomikos.timing
Class PooledAlarmTimer

    java.lang.Object
      com.atomikos.timing.PooledAlarmTimer

All Implemented Interfaces:
  AlarmTimer, Runnable

    public final class PooledAlarmTimer

extends Object
implements AlarmTimer

An alarm timer for use in a pool of threads.

Author:
  Lars J. Nilsson

Constructor Summary
`PooledAlarmTimer(long timeout)`

Method Summary
`void` | `addAlarmTimerListener(AlarmTimerListener lstnr)`
`long` | `getTimeout()`
`boolean` | `isActive()`
`void` | `removeAlarmTimerListener(AlarmTimerListener lstnr)`
`void` | `run()`
`void` | `stop()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PooledAlarmTimer

    public PooledAlarmTimer(long timeout)

Method Detail

### addAlarmTimerListener

    public void addAlarmTimerListener(AlarmTimerListener lstnr)

  Specified by:
    `addAlarmTimerListener` in interface `AlarmTimer`

### removeAlarmTimerListener

    public void removeAlarmTimerListener(AlarmTimerListener lstnr)

  Specified by:
    `removeAlarmTimerListener` in interface `AlarmTimer`

### getTimeout

    public long getTimeout()

  Specified by:
    `getTimeout` in interface `AlarmTimer`

### isActive

    public boolean isActive()

  Specified by:
    `isActive` in interface `AlarmTimer`

### stop

    public void stop()

  Specified by:
    `stop` in interface `AlarmTimer`

### run

    public void run()

  Specified by:
    `run` in interface `Runnable`

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 © 2012. All Rights Reserved.