org.keycloak.models.sessions.infinispan.stream

## Class RootAuthenticationSessionPredicate

- java.lang.Object
- - org.keycloak.models.sessions.infinispan.stream.RootAuthenticationSessionPredicate

- All Implemented Interfaces:
    Predicate<Map.Entry<String,RootAuthenticationSessionEntity>>

      @SerializeWith(value=RootAuthenticationSessionPredicate.ExternalizerImpl.class)
      public class RootAuthenticationSessionPredicate
      extends Object
      implements Predicate<Map.Entry<String,RootAuthenticationSessionEntity>>

  Author:
    Marek Posolda

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `RootAuthenticationSessionPredicate.ExternalizerImpl`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static RootAuthenticationSessionPredicate` | `create(String realm)`
    `RootAuthenticationSessionPredicate` | `expired(Integer expired)`
    `boolean` | `test(Map.Entry<String,RootAuthenticationSessionEntity> entry)`

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

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

    - ### Methods inherited from interface java.util.function.Predicate

      `and, isEqual, negate, or`

- - ### Method Detail

    - #### create

          public static RootAuthenticationSessionPredicate create(String realm)

    - #### expired

          public RootAuthenticationSessionPredicate expired(Integer expired)

    - #### test

          public boolean test(Map.Entry<String,RootAuthenticationSessionEntity> entry)

      Specified by:
        `test` in interface `Predicate<Map.Entry<String,RootAuthenticationSessionEntity>>`

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