class NotificationExpirationManagement implements RedisExpirationStrategy {

  @Override
  public void startExpiredSessionsTask(final SessionManager sessionManager) {
    sessionManager.submit(null, new SubscriptionRunner(sessionManager));

    // The task that triggers clean up session for which the expire notification
    // were
    // not received by nodes.
    Runnable taskTriggerExpiration = new TriggerExpiredSessionsTask();
    cleanupFuture = sessionManager.schedule("redis.expiration-cleanup", taskTriggerExpiration, ONE_MINUTE);
    if (sticky) {
      // When we have sticky sessions, we perform also second pass to capture
      // sessions
      // that were not cleaned by the node that last accessed them
      Runnable taskForceExpiration = new CleanHangingSessionsTask(sessionManager);
      forceCleanupFuture = sessionManager.schedule("redis.force-cleanup", taskForceExpiration, ONE_MINUTE);
    }
  }

    NotificationExpirationManagement(RedisFacade redis, RedisSessionRepository redisSession, String namespace,
      String owner, String keyPrefix, boolean sticky);

}