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<Consumer<ImmutableSession>>
public class ExpiredSessionRemover<SC,MV,AV,LC> extends Object implements Remover<String>, Registrar<Consumer<ImmutableSession>>
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(Consumer<ImmutableSession> listener)booleanremove(String id)
-
-
-
Constructor Detail
-
ExpiredSessionRemover
public ExpiredSessionRemover(SessionFactory<SC,MV,AV,LC> factory)
-
-
Method Detail
-
register
public Registration register(Consumer<ImmutableSession> listener)
-
-