Package org.apache.hadoop.hbase.io.hfile
Class PrefetchExecutor
java.lang.Object
org.apache.hadoop.hbase.io.hfile.PrefetchExecutor
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
static final String
Wait time in miliseconds before executing prefetchstatic final String
static final float
private static int
Delay before beginning prefetchprivate static float
Variation in prefetch delay times, to mitigate stampedesprivate static final ScheduledExecutorService
Executor pool shared among all HFiles for block prefetchFutures for tracking block prefetch activityprivate static final Pattern
Runnables for resetting the prefetch activity -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
cancel
(org.apache.hadoop.fs.Path path) static void
complete
(org.apache.hadoop.fs.Path path) (package private) static ScheduledExecutorService
static int
static boolean
isCompleted
(org.apache.hadoop.fs.Path path) (package private) static boolean
static void
loadConfiguration
(org.apache.hadoop.conf.Configuration conf) static void
-
Field Details
-
LOG
-
PREFETCH_DELAY
Wait time in miliseconds before executing prefetch- See Also:
-
PREFETCH_DELAY_VARIATION
- See Also:
-
PREFETCH_DELAY_VARIATION_DEFAULT_VALUE
- See Also:
-
prefetchFutures
Futures for tracking block prefetch activity -
prefetchRunnable
Runnables for resetting the prefetch activity -
prefetchExecutorPool
Executor pool shared among all HFiles for block prefetch -
prefetchDelayMillis
Delay before beginning prefetch -
prefetchDelayVariation
Variation in prefetch delay times, to mitigate stampedes -
prefetchPathExclude
-
-
Constructor Details
-
PrefetchExecutor
private PrefetchExecutor()
-
-
Method Details
-
request
-
complete
-
cancel
-
isCompleted
-
getExecutorPool
-
getPrefetchFutures
-
getPrefetchRunnable
-
isPrefetchStarted
-
getPrefetchDelay
-
loadConfiguration
-