class FileProcessor extends DaemonThread
name, nWakeupRequests, stifleExceptionChatter| Constructor and Description |
|---|
FileProcessor(java.lang.String name,
EnvironmentImpl env,
Cleaner cleaner,
UtilizationProfile profile,
FileSelector fileSelector) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearEnv() |
int |
doClean(boolean invokedFromDaemon,
boolean cleanMultipleFiles,
boolean forceCleaning)
Cleans selected files and returns the number of files cleaned.
|
protected long |
nDeadlockRetries()
Return the number of retries when a deadlock exception occurs.
|
void |
onWakeup()
Activates the cleaner.
|
checkErrorListener, getExceptionListener, getNWakeupRequests, getThread, isPaused, isRunning, isShutdownRequested, requestShutdown, run, runOrPause, setExceptionListener, shutdown, toString, wakeupFileProcessor(java.lang.String name,
EnvironmentImpl env,
Cleaner cleaner,
UtilizationProfile profile,
FileSelector fileSelector)
public void clearEnv()
protected long nDeadlockRetries()
throws DatabaseException
nDeadlockRetries in class DaemonThreadDatabaseExceptionpublic void onWakeup()
throws DatabaseException
onWakeup in class DaemonThreadDatabaseExceptionpublic int doClean(boolean invokedFromDaemon,
boolean cleanMultipleFiles,
boolean forceCleaning)
throws DatabaseException
invokedFromDaemon - currently has no effect.cleanMultipleFiles - is true to clean until we're under budget,
or false to clean at most one file.forceCleaning - is true to clean even if we're not under the
utilization threshold.DatabaseExceptionCopyright (c) 2004,2008 Oracle. All rights reserved.