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 static class
TabletServerResourceManager.AssignmentWatcher
Accepts 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.class
TabletServerResourceManager.TabletResourceManager
-
Constructor Summary
Constructors Constructor Description TabletServerResourceManager(ServerContext context, TabletHostingServer tserver)
-
Method Summary
-
-
-
Constructor Detail
-
TabletServerResourceManager
public TabletServerResourceManager(ServerContext context, TabletHostingServer tserver)
-
-
Method Detail
-
holdAllCommits
protected void holdAllCommits(boolean holdAllCommits)
-
holdTime
public long holdTime()
-
createTabletResourceManager
public TabletServerResourceManager.TabletResourceManager createTabletResourceManager(KeyExtent extent, AccumuloConfiguration conf)
-
executeReadAhead
public void executeReadAhead(KeyExtent tablet, ScanDispatcher dispatcher, ScanSession scanInfo, Runnable task)
-
addAssignment
public void addAssignment(KeyExtent extent, org.slf4j.Logger log, org.apache.accumulo.tserver.AssignmentHandler assignmentHandler)
-
addMetaDataAssignment
public void addMetaDataAssignment(KeyExtent extent, org.slf4j.Logger log, org.apache.accumulo.tserver.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()
-
-