@InterfaceAudience.Private public class DirScanPool extends Object implements ConfigurationObserver
| Modifier and Type | Method and Description |
|---|---|
static DirScanPool |
getHFileCleanerScanPool(org.apache.hadoop.conf.Configuration conf) |
static DirScanPool |
getHFileCleanerScanPool(String poolSize) |
static DirScanPool |
getLogCleanerScanPool(org.apache.hadoop.conf.Configuration conf) |
int |
getSize() |
void |
onConfigurationChange(org.apache.hadoop.conf.Configuration conf)
Checks if pool can be updated.
|
void |
shutdownNow() |
public void onConfigurationChange(org.apache.hadoop.conf.Configuration conf)
onConfigurationChange in interface ConfigurationObserverconf - configurationpublic void shutdownNow()
public int getSize()
public static DirScanPool getHFileCleanerScanPool(org.apache.hadoop.conf.Configuration conf)
public static DirScanPool getHFileCleanerScanPool(String poolSize)
public static DirScanPool getLogCleanerScanPool(org.apache.hadoop.conf.Configuration conf)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.