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.
|
protected boolean |
tableExists(Instance instance,
String tableId) |
void |
tabletClosed(KeyExtent extent)
This method is called when a tablet is closed.
|
public void init(ServerConfiguration conf)
MemoryManager
init
in interface MemoryManager
protected long getMinCIdleThreshold(KeyExtent extent)
public MemoryManagementActions getMemoryManagementActions(List<TabletState> tablets)
MemoryManager
getMemoryManagementActions
in interface MemoryManager
protected long currentTimeMillis()
public void tabletClosed(KeyExtent extent)
MemoryManager
tabletClosed
in interface MemoryManager
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.