private static final class LogCleaner.CleanerContext extends Object
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
result |
(package private) boolean |
setFromCleaner |
(package private) org.apache.hadoop.fs.FileStatus |
target |
(package private) long |
timeoutMsec |
Modifier | Constructor and Description |
---|---|
private |
CleanerContext(org.apache.hadoop.fs.FileStatus status,
long timeoutMsec) |
Modifier and Type | Method and Description |
---|---|
(package private) static LogCleaner.CleanerContext |
createCleanerContext(org.apache.hadoop.fs.FileStatus status,
long timeoutMsec) |
(package private) boolean |
getResult(long waitIfNotFinished) |
(package private) org.apache.hadoop.fs.FileStatus |
getTargetToClean() |
(package private) void |
setResult(boolean res) |
final org.apache.hadoop.fs.FileStatus target
volatile boolean result
volatile boolean setFromCleaner
long timeoutMsec
private CleanerContext(org.apache.hadoop.fs.FileStatus status, long timeoutMsec)
static LogCleaner.CleanerContext createCleanerContext(org.apache.hadoop.fs.FileStatus status, long timeoutMsec)
void setResult(boolean res)
boolean getResult(long waitIfNotFinished)
org.apache.hadoop.fs.FileStatus getTargetToClean()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.