org.keycloak.models.sessions.infinispan.changes

## Class Tasks

- java.lang.Object
- - org.keycloak.models.sessions.infinispan.changes.Tasks

-     public class Tasks
      extends Object

  Author:
    hmlnarik

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Tasks()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <S extends SessionEntity> SessionUpdateTask<S>` | `addIfAbsentSync()` Returns a typed task of type `SessionUpdateTask.CacheOperation.ADD_IF_ABSENT` that does no other update.
    `static <S extends SessionEntity> SessionUpdateTask<S>` | `removeSync()` Returns a typed task of type `SessionUpdateTask.CacheOperation.REMOVE` that does no other update.

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

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

- - ### Constructor Detail

    - #### Tasks

          public Tasks()

  - ### Method Detail

    - #### addIfAbsentSync

          public static <S extends SessionEntity> SessionUpdateTask<S> addIfAbsentSync()

      Returns a typed task of type `SessionUpdateTask.CacheOperation.ADD_IF_ABSENT` that does no other update. This operation has DC message status `SessionUpdateTask.CrossDCMessageStatus.SYNC`.
      Type Parameters:
        `S` -
      Returns:

    - #### removeSync

          public static <S extends SessionEntity> SessionUpdateTask<S> removeSync()

      Returns a typed task of type `SessionUpdateTask.CacheOperation.REMOVE` that does no other update. This operation has DC message status `SessionUpdateTask.CrossDCMessageStatus.SYNC`.
      Type Parameters:
        `S` -
      Returns:

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