public class LargestFirstMemoryManager extends Object implements MemoryManager
| Constructor and Description |
|---|
LargestFirstMemoryManager() |
| Modifier and Type | Method and Description |
|---|---|
protected long |
currentTimeMillis() |
MemoryManagementActions |
getMemoryManagementActions(List<TabletState> tablets)
An implementation of this function will be called periodically by accumulo and should return a list of tablets to minor compact.
|
protected long |
getMinCIdleThreshold(KeyExtent extent) |
void |
init(ServerConfiguration conf)
Initialize the memory manager.
|
void |
tabletClosed(KeyExtent extent)
This method is called when a tablet is closed.
|
public void init(ServerConfiguration conf)
MemoryManagerinit in interface MemoryManagerprotected long getMinCIdleThreshold(KeyExtent extent)
public MemoryManagementActions getMemoryManagementActions(List<TabletState> tablets)
MemoryManagergetMemoryManagementActions in interface MemoryManagerprotected long currentTimeMillis()
public void tabletClosed(KeyExtent extent)
MemoryManagertabletClosed in interface MemoryManagerCopyright © 2015 Apache Accumulo Project. All rights reserved.