com.sleepycat.je.evictor
Class PrivateEvictor

java.lang.Object
  extended by com.sleepycat.je.evictor.Evictor
      extended by com.sleepycat.je.evictor.PrivateEvictor
All Implemented Interfaces:
EnvConfigObserver

public class PrivateEvictor
extends Evictor

An evictor for a private cache. [#21330]


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sleepycat.je.evictor.Evictor
Evictor.BackgroundEvictTask, Evictor.DbCache, Evictor.EvictionSource, Evictor.RejectEvictHandler
 
Field Summary
 
Fields inherited from class com.sleepycat.je.evictor.Evictor
dbCacheClearCount, envImpl
 
Constructor Summary
PrivateEvictor(EnvironmentImpl envImpl)
           
 
Method Summary
(package private)  Evictor.DbCache createDbCache()
          PrivateEvictor implements a DbCache simply using a HashMap, like cleaner.FileProcessor and other components.
(package private)  TargetSelector makeSelector()
           
 
Methods inherited from class com.sleepycat.je.evictor.Evictor
addEnvironment, alert, checkEnv, doCriticalEviction, doDaemonEviction, doEvict, doEvictOneIN, doManualEvict, envConfigUpdate, evictBatch, getNINCompactKey, getNINNoTarget, getNINSparseTarget, getSelector, getStatsGroup, getThreadPool, incBINEvictStats, incBINFetchStats, incINEvictStats, incINFetchStats, incLNFetchStats, isCacheFull, loadStats, noteINListChange, removeEnvironment, requestShutdownPool, setEvictProfileHook, setPreEvictINHook, setRunnableHook, shutdown, wasCacheEverFull
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrivateEvictor

public PrivateEvictor(EnvironmentImpl envImpl)
Method Detail

makeSelector

TargetSelector makeSelector()
Specified by:
makeSelector in class Evictor

createDbCache

Evictor.DbCache createDbCache()
PrivateEvictor implements a DbCache simply using a HashMap, like cleaner.FileProcessor and other components. (SharedEvictor has a more complex implemention.)

Specified by:
createDbCache in class Evictor


Copyright (c) 2004-2012 Oracle. All rights reserved.