Class ExpiredSessionRemover<SC,MV,AV,LC>
- java.lang.Object
-
- org.wildfly.clustering.web.infinispan.session.ExpiredSessionRemover<SC,MV,AV,LC>
-
- Type Parameters:
SC- the ServletContext specification typeMV- the meta-data value typeAV- the attributes value typeLC- the local context type
- All Implemented Interfaces:
Remover<String>,Registrar<SessionExpirationListener>
public class ExpiredSessionRemover<SC,MV,AV,LC> extends Object implements Remover<String>, Registrar<SessionExpirationListener>
Session remover that removes a session if and only if it is expired.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description ExpiredSessionRemover(SessionFactory<SC,MV,AV,LC> factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Registrationregister(SessionExpirationListener listener)booleanremove(String id)
-
-
-
Constructor Detail
-
ExpiredSessionRemover
public ExpiredSessionRemover(SessionFactory<SC,MV,AV,LC> factory)
-
-
Method Detail
-
register
public Registration register(SessionExpirationListener listener)
-
-