org.keycloak.services.scheduled

## Class ClearExpiredUserSessions

- java.lang.Object
- - org.keycloak.services.scheduled.ClearExpiredUserSessions

- All Implemented Interfaces:
    ScheduledTask

      public class ClearExpiredUserSessions
      extends Object
      implements ScheduledTask

  Author:
    Stian Thorgersen

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `TASK_NAME`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClearExpiredUserSessions()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `run(KeycloakSession session)`

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

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

- - ### Field Detail

    - #### TASK_NAME

          public static final String TASK_NAME

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### ClearExpiredUserSessions

          public ClearExpiredUserSessions()

  - ### Method Detail

    - #### run

          public void run(KeycloakSession session)

      Specified by:
        `run` in interface `ScheduledTask`

Copyright © 2021 JBoss by Red Hat. All rights reserved.