Package org.apache.accumulo.tserver
Class TabletServerResourceManager
- java.lang.Object
-
- org.apache.accumulo.tserver.TabletServerResourceManager
-
public class TabletServerResourceManager extends Object
ResourceManager is responsible for managing the resources of all tablets within a tablet server.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classTabletServerResourceManager.AssignmentWatcherAccepts some map which is tracking active assignment task(s) (running) and monitors them to ensure that the time the assignment(s) have been running don't exceed a threshold.classTabletServerResourceManager.TabletResourceManager
-
Constructor Summary
Constructors Constructor Description TabletServerResourceManager(ServerContext context)
-
Method Summary
-
-
-
Constructor Detail
-
TabletServerResourceManager
public TabletServerResourceManager(ServerContext context)
-
-
Method Detail
-
createScanExecutors
protected Map<String,ExecutorService> createScanExecutors(Collection<AccumuloConfiguration.ScanExecutorConfig> scanExecCfg, Map<String,Queue<?>> scanExecQueues)
-
holdAllCommits
protected void holdAllCommits(boolean holdAllCommits)
-
holdTime
public long holdTime()
-
createTabletResourceManager
public TabletServerResourceManager.TabletResourceManager createTabletResourceManager(KeyExtent extent, AccumuloConfiguration conf)
-
executeMajorCompaction
public void executeMajorCompaction(KeyExtent tablet, Runnable compactionTask)
-
executeReadAhead
public void executeReadAhead(KeyExtent tablet, ScanDispatcher dispatcher, ScanSession scanInfo, Runnable task)
-
addAssignment
public void addAssignment(KeyExtent extent, org.slf4j.Logger log, TabletServer.AssignmentHandler assignmentHandler)
-
addMetaDataAssignment
public void addMetaDataAssignment(KeyExtent extent, org.slf4j.Logger log, TabletServer.AssignmentHandler assignmentHandler)
-
getIndexCache
public BlockCache getIndexCache()
-
getDataCache
public BlockCache getDataCache()
-
getSummaryCache
public BlockCache getSummaryCache()
-
getSummaryRetrievalExecutor
public ExecutorService getSummaryRetrievalExecutor()
-
getSummaryPartitionExecutor
public ExecutorService getSummaryPartitionExecutor()
-
getSummaryRemoteExecutor
public ExecutorService getSummaryRemoteExecutor()
-
-