Class WMInMemorySessionRepository

java.lang.Object
com.wavemaker.runtime.session.WMInMemorySessionRepository
All Implemented Interfaces:
org.springframework.session.FindByIndexNameSessionRepository<org.springframework.session.MapSession>, org.springframework.session.SessionRepository<org.springframework.session.MapSession>

public class WMInMemorySessionRepository extends Object implements org.springframework.session.FindByIndexNameSessionRepository<org.springframework.session.MapSession>
  • Constructor Details

    • WMInMemorySessionRepository

      public WMInMemorySessionRepository()
  • Method Details

    • init

      @PostConstruct public void init()
    • findByIndexNameAndIndexValue

      public Map<String,org.springframework.session.MapSession> findByIndexNameAndIndexValue(String indexName, String value)
      Specified by:
      findByIndexNameAndIndexValue in interface org.springframework.session.FindByIndexNameSessionRepository<org.springframework.session.MapSession>
    • createSession

      public org.springframework.session.MapSession createSession()
      Specified by:
      createSession in interface org.springframework.session.SessionRepository<org.springframework.session.MapSession>
    • save

      public void save(org.springframework.session.MapSession session)
      Specified by:
      save in interface org.springframework.session.SessionRepository<org.springframework.session.MapSession>
    • findById

      public org.springframework.session.MapSession findById(String id)
      Specified by:
      findById in interface org.springframework.session.SessionRepository<org.springframework.session.MapSession>
    • deleteById

      public void deleteById(String id)
      Specified by:
      deleteById in interface org.springframework.session.SessionRepository<org.springframework.session.MapSession>
    • setDefaultMaxInactiveInterval

      public void setDefaultMaxInactiveInterval(int defaultMaxInactiveInterval)