01: /*
02: * $Id: IPageMapEvictionStrategy.java,v 1.1 2005/12/29 05:30:24 jonathanlocke
03: * Exp $ $Revision: 458456 $ $Date: 2006-01-02 08:37:31 +0100 (Mon, 02 Jan 2006) $
04: *
05: * ==============================================================================
06: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
07: * use this file except in compliance with the License. You may obtain a copy of
08: * the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15: * License for the specific language governing permissions and limitations under
16: * the License.
17: */
18: package wicket.session.pagemap;
19:
20: import java.io.Serializable;
21:
22: import wicket.PageMap;
23:
24: /**
25: * Given a page map, evicts zero or more entries from the map according to some
26: * algorithm in the implementation.
27: *
28: * @author Jonathan Locke
29: */
30: public interface IPageMapEvictionStrategy extends Serializable {
31: /**
32: * @param pageMap
33: * The page map to evict from
34: */
35: void evict(PageMap pageMap);
36: }
|