Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.0.0

E18683-01


com.tangosol.coherence.servlet
Interface SessionExpiryFilterFactory


public interface SessionExpiryFilterFactory

This interface is used to create a filter that filters out the sessions that have expired. A typical filter would look at the expiration time and compare with the current time, but there could be other filters that first select a subset of all sessions based on some other criteria. Several filters can be combined dynamically by passing in the result from one factory as an argument to the next factory. A factory implementation should use the passed in base filter to combine it with its own using and/or filter with the desired order. Note that the order can be important for performance reasons so the filter that is less likely to pass should be executed first (in case of an And operation).

Author:
Torkel Dominique

Method Summary
 Filter createSessionExpiryFilter(Filter baseFilter)
          Creates a new session expiry filter.

 

Method Detail

createSessionExpiryFilter

Filter createSessionExpiryFilter(Filter baseFilter)
Creates a new session expiry filter.
Parameters:
baseFilter - The filter that should be used to produce a new filter.
Returns:
The new filter.

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.0.0

E18683-01


Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.