public class PrivateEvictor extends Evictor
Evictor.EvictProfileevictProfile, SOURCE_CRITICAL, SOURCE_DAEMON, SOURCE_MANUALname, nWakeupRequests, stifleExceptionChatter| Constructor and Description |
|---|
PrivateEvictor(EnvironmentImpl envImpl,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEnvironment(EnvironmentImpl envImpl)
Only supported by SharedEvictor.
|
boolean |
checkEnvs(java.util.Set<EnvironmentImpl> envs)
Only supported by SharedEvictor.
|
void |
clearEnv()
Standard daemon method to set envImpl to null.
|
(package private) java.util.logging.Logger |
getLogger()
Standard logging is supported by PrivateEvictor.
|
(package private) int |
getMaxINsPerBatch()
Returns the simple INList size.
|
(package private) IN |
getNextIN()
Returns the next IN, wrapping if necessary.
|
(package private) java.util.Iterator<IN> |
getScanIterator() |
void |
loadStats(StatsConfig config,
EnvironmentStats stat)
Load stats.
|
void |
noteINListChange(int nINs)
Do nothing.
|
void |
onWakeup()
Called whenever the daemon thread wakes up from a sleep.
|
void |
removeEnvironment(EnvironmentImpl envImpl)
Only supported by SharedEvictor.
|
(package private) void |
setScanIterator(java.util.Iterator<IN> iter) |
(package private) long |
startBatch()
Initializes the iterator, and performs UtilizationTracker eviction once
per batch.
|
alert, doCriticalEviction, doEvict, evictBatch, nDeadlockRetries, normalizeLevel, setRunnableHookcheckErrorListener, getExceptionListener, getNWakeupRequests, getThread, isPaused, isRunning, isShutdownRequested, requestShutdown, run, runOrPause, setExceptionListener, shutdown, toString, wakeuppublic PrivateEvictor(EnvironmentImpl envImpl, java.lang.String name) throws DatabaseException
DatabaseExceptionpublic void loadStats(StatsConfig config, EnvironmentStats stat) throws DatabaseException
EvictorloadStats in class EvictorDatabaseExceptionpublic void onWakeup()
throws DatabaseException
EvictoronWakeup in class EvictorDatabaseExceptionpublic void clearEnv()
public void noteINListChange(int nINs)
noteINListChange in class Evictorpublic void addEnvironment(EnvironmentImpl envImpl)
addEnvironment in class Evictorpublic void removeEnvironment(EnvironmentImpl envImpl)
removeEnvironment in class Evictorpublic boolean checkEnvs(java.util.Set<EnvironmentImpl> envs)
java.util.logging.Logger getLogger()
long startBatch()
throws DatabaseException
startBatch in class EvictorDatabaseExceptionint getMaxINsPerBatch()
getMaxINsPerBatch in class EvictorIN getNextIN()
java.util.Iterator<IN> getScanIterator()
getScanIterator in class Evictorvoid setScanIterator(java.util.Iterator<IN> iter)
setScanIterator in class EvictorCopyright (c) 2004,2008 Oracle. All rights reserved.