Class ExpiredSessionRemover<SC,​MV,​AV,​LC>

  • Type Parameters:
    SC - the ServletContext specification type
    MV - the meta-data value type
    AV - the attributes value type
    LC - the local context type
    All Implemented Interfaces:
    org.wildfly.clustering.ee.Remover<String>, org.wildfly.clustering.Registrar<org.wildfly.clustering.web.session.SessionExpirationListener>

    public class ExpiredSessionRemover<SC,​MV,​AV,​LC>
    extends Object
    implements org.wildfly.clustering.ee.Remover<String>, org.wildfly.clustering.Registrar<org.wildfly.clustering.web.session.SessionExpirationListener>
    Session remover that removes a session if and only if it is expired.
    Author:
    Paul Ferraro
    • Constructor Detail

    • Method Detail

      • remove

        public boolean remove​(String id)
        Specified by:
        remove in interface org.wildfly.clustering.ee.Remover<SC>
      • register

        public org.wildfly.clustering.Registration register​(org.wildfly.clustering.web.session.SessionExpirationListener listener)
        Specified by:
        register in interface org.wildfly.clustering.Registrar<SC>