org.keycloak.models.sessions.infinispan.mapreduce

## Class SessionMapper

- java.lang.Object
- - org.keycloak.models.sessions.infinispan.mapreduce.SessionMapper

- All Implemented Interfaces:
    Serializable, org.infinispan.distexec.mapreduce.Mapper<String,SessionEntity,String,Object>

      public class SessionMapper
      extends Object
      implements org.infinispan.distexec.mapreduce.Mapper<String,SessionEntity,String,Object>, Serializable

  Author:
    Stian Thorgersen
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SessionMapper(String realm)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static SessionMapper` | `create(String realm)`
    `SessionMapper` | `emitKey()`
    `void` | `map(String key, SessionEntity e, org.infinispan.distexec.mapreduce.Collector collector)`

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

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

- - ### Constructor Detail

    - #### SessionMapper

          public SessionMapper(String realm)

  - ### Method Detail

    - #### create

          public static SessionMapper create(String realm)

    - #### emitKey

          public SessionMapper emitKey()

    - #### map

          public void map(String key,
                 SessionEntity e,
                 org.infinispan.distexec.mapreduce.Collector collector)

      Specified by:
        `map` in interface `org.infinispan.distexec.mapreduce.Mapper<String,SessionEntity,String,Object>`

Copyright © 2014. All Rights Reserved.