IEvictionPolicy Interface | 
.NET API Reference for Oracle® Coherence Community Edition 
 (14.1.1.0)
E55634-01
 
            An eviction policy is an object that the cache provides with access
            information, and when requested, the eviction policy selects and
            evicts entries from the cache. 
            
 
    Namespace: 
   Tangosol.Net.Cache
    Assembly:
   Coherence (in Coherence.dll) Version: 14.1.1.1 (14.1.1.1)
Syntaxpublic interface IEvictionPolicy
The IEvictionPolicy type exposes the following members.
Properties| 
								 
							 | Name | Description | 
|---|
  | Name | 
            Obtain the name of the eviction policy. 
              | 
Top
Methods| 
								 
							 | Name | Description | 
|---|
  | EntryTouched | 
            This method is called by the cache to indicate that an entry has
            been touched.
              | 
  | RequestEviction | 
            This method is called by the cache when the cache requires the
            eviction policy to evict entries.
              | 
Top
Remarks
            If the eviction policy needs to be aware of changes to the cache, 
            it must implement the 
ICacheListener interface; 
            if it does, it will automatically be registered to receive
            cache events.
            
See Also