public class BlockPoolSlice extends Object
FsVolumeImpl
.Modifier and Type | Field and Description |
---|---|
static String |
DU_CACHE_FILE |
Modifier and Type | Method and Description |
---|---|
static int |
getAddReplicaForkPoolSize()
Return the size of fork pool used for adding replica in map.
|
ForkJoinPool |
getAddReplicaThreadPool() |
org.apache.hadoop.fs.GetSpaceUsed |
getDfsUsage() |
long |
getNumOfBlocks() |
static void |
reInitializeAddReplicaThreadPool() |
String |
toString() |
void |
updateDfsUsageConfig(Long interval,
Long jitter,
Class<? extends org.apache.hadoop.fs.GetSpaceUsed> klass) |
public static final String DU_CACHE_FILE
public void updateDfsUsageConfig(Long interval, Long jitter, Class<? extends org.apache.hadoop.fs.GetSpaceUsed> klass) throws IOException
IOException
public org.apache.hadoop.fs.GetSpaceUsed getDfsUsage()
public long getNumOfBlocks()
public static int getAddReplicaForkPoolSize()
public ForkJoinPool getAddReplicaThreadPool()
public static void reInitializeAddReplicaThreadPool()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.