@InterfaceAudience.Private @InterfaceStability.Unstable public class ResourceHandlerModule extends Object
| Constructor and Description |
|---|
ResourceHandlerModule() |
| Modifier and Type | Method and Description |
|---|---|
static CGroupsHandler |
getCGroupsHandler(org.apache.hadoop.conf.Configuration conf)
Returns an initialized, thread-safe CGroupsHandler instance.
|
static ResourceHandlerChain |
getConfiguredResourceHandlerChain(org.apache.hadoop.conf.Configuration conf) |
static DiskResourceHandler |
getDiskResourceHandler(org.apache.hadoop.conf.Configuration conf) |
static OutboundBandwidthResourceHandler |
getOutboundBandwidthResourceHandler(org.apache.hadoop.conf.Configuration conf) |
public static CGroupsHandler getCGroupsHandler(org.apache.hadoop.conf.Configuration conf) throws ResourceHandlerException
ResourceHandlerExceptionpublic static OutboundBandwidthResourceHandler getOutboundBandwidthResourceHandler(org.apache.hadoop.conf.Configuration conf) throws ResourceHandlerException
ResourceHandlerExceptionpublic static DiskResourceHandler getDiskResourceHandler(org.apache.hadoop.conf.Configuration conf) throws ResourceHandlerException
ResourceHandlerExceptionpublic static ResourceHandlerChain getConfiguredResourceHandlerChain(org.apache.hadoop.conf.Configuration conf) throws ResourceHandlerException
ResourceHandlerExceptionCopyright © 2017 Apache Software Foundation. All Rights Reserved.