public class PrivateEvictor extends Evictor
SOURCE_CRITICAL, SOURCE_DAEMON, SOURCE_MANUAL
name, 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.
|
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.
|
alert, doCriticalEviction, doEvict, nDeadlockRetries, normalizeLevel, setRunnableHook
checkErrorListener, getExceptionListener, getNWakeupRequests, getThread, isPaused, isRunning, isShutdownRequested, requestShutdown, run, runOrPause, setExceptionListener, shutdown, toString, wakeup
public PrivateEvictor(EnvironmentImpl envImpl, java.lang.String name) throws DatabaseException
DatabaseException
public void loadStats(StatsConfig config, EnvironmentStats stat) throws DatabaseException
Evictor
loadStats
in class Evictor
DatabaseException
public void onWakeup() throws DatabaseException
Evictor
onWakeup
in class Evictor
DatabaseException
public void clearEnv()
public void noteINListChange(int nINs)
noteINListChange
in class Evictor
public void addEnvironment(EnvironmentImpl envImpl)
addEnvironment
in class Evictor
public void removeEnvironment(EnvironmentImpl envImpl)
removeEnvironment
in class Evictor
public boolean checkEnvs(java.util.Set<EnvironmentImpl> envs)