Class PrefetchExecutorNotifier
java.lang.Object
org.apache.hadoop.hbase.regionserver.PrefetchExecutorNotifier
- All Implemented Interfaces:
ConfigurationObserver
,PropagatingConfigurationObserver
@Private
public final class PrefetchExecutorNotifier
extends Object
implements PropagatingConfigurationObserver
Class to submit requests for PrefetchExecutor depending on configuration change
-
Field Summary
Modifier and TypeFieldDescriptionprivate final org.apache.hadoop.conf.Configuration
private static final org.slf4j.Logger
static final String
Wait time in miliseconds before executing prefetch -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deregisterChildren
(ConfigurationManager manager) Needs to be called to deregister the children from the manager.int
void
onConfigurationChange
(org.apache.hadoop.conf.Configuration newConf) This method would be called by theConfigurationManager
object when theConfiguration
object is reloaded from disk.void
registerChildren
(ConfigurationManager manager) Needs to be called to register the children to the manager.
-
Field Details
-
LOG
-
PREFETCH_DELAY
Wait time in miliseconds before executing prefetch- See Also:
-
conf
-
-
Constructor Details
-
PrefetchExecutorNotifier
-
-
Method Details
-
onConfigurationChange
This method would be called by theConfigurationManager
object when theConfiguration
object is reloaded from disk.- Specified by:
onConfigurationChange
in interfaceConfigurationObserver
-
registerChildren
Needs to be called to register the children to the manager.- Specified by:
registerChildren
in interfacePropagatingConfigurationObserver
- Parameters:
manager
- : to register to
-
deregisterChildren
Needs to be called to deregister the children from the manager.- Specified by:
deregisterChildren
in interfacePropagatingConfigurationObserver
- Parameters:
manager
- : to deregister from
-
getPrefetchDelay
-