org.apache.commons.cache
Interface EvictionPolicy

All Superinterfaces:
Serializable
All Known Implementing Classes:
LRUEvictionPolicy

public interface EvictionPolicy
extends Serializable

tk.

Version:
$Id: EvictionPolicy.java 155435 2005-02-26 13:17:27Z dirkv $
Author:
Rodney Waldhoff

Method Summary
 Serializable getEvictionCandidate()
           
 Serializable[] getEvictionCandidates(int n)
           
 void setCache(Cache c)
           
 void unsetCache()
           
 

Method Detail

getEvictionCandidate

Serializable getEvictionCandidate()

getEvictionCandidates

Serializable[] getEvictionCandidates(int n)

setCache

void setCache(Cache c)

unsetCache

void unsetCache()


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.