public class SharedEvictor extends Evictor
SOURCE_CRITICAL, SOURCE_DAEMON, SOURCE_MANUALname, nWakeupRequests, stifleExceptionChatter| Constructor and Description |
|---|
SharedEvictor(EnvironmentImpl env,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEnvironment(EnvironmentImpl env)
Synchronized so that the set of environments cannot be changed in the
middle of an eviction (which is also synchronized).
|
boolean |
checkEnvs(java.util.Set<EnvironmentImpl> envs)
Returns true if the given set of environments matches the set of subject
environments.
|
void |
clearEnv()
Only supported by PrivateEvictor.
|
void |
loadStats(StatsConfig config,
EnvironmentStats stat)
Load stats.
|
void |
noteINListChange(int nINs)
After 1/INIT_SIZE_THRESHOLD of all INs have been changed, reinitialize
the sizes.
|
void |
removeEnvironment(EnvironmentImpl env)
Synchronized so that the set of environments cannot be changed in the
middle of an eviction (which is also synchronized).
|
alert, doCriticalEviction, doEvict, nDeadlockRetries, normalizeLevel, onWakeup, setRunnableHookcheckErrorListener, getExceptionListener, getNWakeupRequests, getThread, isPaused, isRunning, isShutdownRequested, requestShutdown, run, runOrPause, setExceptionListener, shutdown, toString, wakeuppublic SharedEvictor(EnvironmentImpl env, java.lang.String name) throws DatabaseException
DatabaseExceptionpublic void loadStats(StatsConfig config, EnvironmentStats stat) throws DatabaseException
EvictorloadStats in class EvictorDatabaseExceptionpublic void clearEnv()
public void noteINListChange(int nINs)
noteINListChange in class Evictorpublic void addEnvironment(EnvironmentImpl env)
addEnvironment in class Evictorpublic void removeEnvironment(EnvironmentImpl env)
removeEnvironment in class Evictorpublic boolean checkEnvs(java.util.Set<EnvironmentImpl> envs)