org.keycloak.models.sessions.infinispan.stream

## Class ClientInitialAccessPredicate

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

- All Implemented Interfaces:
    Serializable, java.util.function.Predicate<Map.Entry<String,SessionEntity>>

      public class ClientInitialAccessPredicate
      extends Object
      implements java.util.function.Predicate<Map.Entry<String,SessionEntity>>, Serializable

  Author:
    Stian Thorgersen
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClientInitialAccessPredicate(String realm)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static ClientInitialAccessPredicate` | `create(String realm)`
    `ClientInitialAccessPredicate` | `expired(int time)`
    `boolean` | `test(Map.Entry<String,SessionEntity> 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`

- - ### Constructor Detail

    - #### ClientInitialAccessPredicate

          public ClientInitialAccessPredicate(String realm)

  - ### Method Detail

    - #### create

          public static ClientInitialAccessPredicate create(String realm)

    - #### expired

          public ClientInitialAccessPredicate expired(int time)

    - #### test

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

      Specified by:
        `test` in interface `java.util.function.Predicate<Map.Entry<String,SessionEntity>>`

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