Class HazelcastSessionHelper

  • All Implemented Interfaces:
    java.util.EventListener , org.springframework.context.ApplicationListener , pro.fessional.wings.slardar.session.WingsSessionHelper

    
    public class HazelcastSessionHelper
     implements WingsSessionHelper, ApplicationListener<E>
                        
    Since:

    2022-02-24

    Author:

    trydofor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      HazelcastSessionHelper(SessionRepository<Session> repository, HazelcastInstance instance, String sessionMap)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      List<MapSession> findByUserId(Long userId)
      boolean dropSession(String sessionId)
      void onApplicationEvent(@NotNull() SessionCreatedEvent event)
      • Methods inherited from class pro.fessional.wings.slardar.session.WingsSessionHelper

        getSecurityContext, getUserId, isExpired
      • Methods inherited from class org.springframework.context.ApplicationListener

        forPayload, supportsAsyncExecution
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HazelcastSessionHelper

        HazelcastSessionHelper(SessionRepository<Session> repository, HazelcastInstance instance, String sessionMap)