org.keycloak.timer.basic

## Class BasicTimerProvider

- java.lang.Object
- - org.keycloak.timer.basic.BasicTimerProvider

- All Implemented Interfaces:
    Provider, TimerProvider

      public class BasicTimerProvider
      extends Object
      implements TimerProvider

  Author:
    Stian Thorgersen

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BasicTimerProvider(Timer timer, BasicTimerProviderFactory factory)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `cancelTask(String taskName)`
    `void` | `close()`
    `void` | `schedule(Runnable runnable, long interval, String taskName)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BasicTimerProvider

          public BasicTimerProvider(Timer timer,
                            BasicTimerProviderFactory factory)

  - ### Method Detail

    - #### schedule

          public void schedule(Runnable runnable,
                      long interval,
                      String taskName)

      Specified by:
        `schedule` in interface `TimerProvider`

    - #### cancelTask

          public void cancelTask(String taskName)

      Specified by:
        `cancelTask` in interface `TimerProvider`

    - #### close

          public void close()

      Specified by:
        `close` in interface `Provider`

Copyright © 2015. All Rights Reserved.