class PrivateSelector extends TargetSelector
TargetSelector.EvictProfile, TargetSelector.ScanInfo, TargetSelector.SetupInfostats| Constructor and Description |
|---|
PrivateSelector(EnvironmentImpl envImpl) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEnvironment(EnvironmentImpl unused)
Only supported by SharedSelector.
|
boolean |
checkEnv(EnvironmentImpl env)
Only supported by SharedSelector.
|
(package private) StatGroup |
getINListStats(StatsConfig config)
Return stats for the single INList covered by this evictor.
|
(package private) IN |
getNextIN()
Returns the next IN, wrapping if necessary.
|
(package private) java.util.Iterator<IN> |
getScanIterator() |
StatGroup |
loadStats(StatsConfig config) |
void |
noteINListChange(int nINs)
Do nothing.
|
void |
removeEnvironment(EnvironmentImpl unused)
Only supported by SharedSelector.
|
(package private) void |
setScanIterator(java.util.Iterator<IN> iter) |
(package private) TargetSelector.SetupInfo |
startBatch(boolean doSpecialEviction)
Initializes the iterator, and performs special eviction once per batch.
|
normalizeLevel, selectINpublic PrivateSelector(EnvironmentImpl envImpl) throws DatabaseException
DatabaseExceptionpublic StatGroup loadStats(StatsConfig config)
loadStats in class TargetSelectorpublic void noteINListChange(int nINs)
noteINListChange in class TargetSelectorTargetSelector.SetupInfo startBatch(boolean doSpecialEviction) throws DatabaseException
startBatch in class TargetSelectordoSpecialEviction - Do non-tree eviction, such as flushing the
UtilizationProfile. Since special eviction is serialized, and does
require I/O, some callers may not want to be blocked doing thisDatabaseExceptionIN getNextIN()
getNextIN in class TargetSelectorStatGroup getINListStats(StatsConfig config)
getINListStats in class TargetSelectorjava.util.Iterator<IN> getScanIterator()
getScanIterator in class TargetSelectorvoid setScanIterator(java.util.Iterator<IN> iter)
setScanIterator in class TargetSelectorpublic void addEnvironment(EnvironmentImpl unused)
addEnvironment in class TargetSelectorpublic void removeEnvironment(EnvironmentImpl unused)
removeEnvironment in class TargetSelectorpublic boolean checkEnv(EnvironmentImpl env)
checkEnv in class TargetSelectorCopyright (c) 2004-2012 Oracle. All rights reserved.