Class SessionExpirationTask<SC,MV,AV,LC>
java.lang.Object
org.wildfly.clustering.session.infinispan.embedded.SessionExpirationTask<SC,MV,AV,LC>
- Type Parameters:
SC- the ServletContext specification typeMV- the meta-data value typeAV- the attributes value typeLC- the local context type
-
Field Summary
Fields inherited from interface org.wildfly.clustering.function.Predicate
ALWAYS, NEVER -
Constructor Summary
ConstructorsConstructorDescriptionSessionExpirationTask(org.wildfly.clustering.session.cache.SessionFactory<SC, MV, AV, LC> sessionFactory, org.wildfly.clustering.function.Supplier<org.wildfly.clustering.cache.batch.Batch> batchFactory, org.wildfly.clustering.function.Consumer<org.wildfly.clustering.session.ImmutableSession> expirationListener) Creates a remover for expired sessions. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.function.Predicate
and, compose, composeBinary, composeDouble, composeInt, composeLong, handle, negate, or, xor
-
Constructor Details
-
SessionExpirationTask
public SessionExpirationTask(org.wildfly.clustering.session.cache.SessionFactory<SC, MV, AV, LC> sessionFactory, org.wildfly.clustering.function.Supplier<org.wildfly.clustering.cache.batch.Batch> batchFactory, org.wildfly.clustering.function.Consumer<org.wildfly.clustering.session.ImmutableSession> expirationListener) Creates a remover for expired sessions.- Parameters:
sessionFactory- the associated session factorybatchFactory- the batch factoryexpirationListener- the listener of expired sessions
-
-
Method Details
-
test
-