org.apache.accumulo.server.tabletserver
Class LargestFirstMemoryManager

java.lang.Object
  extended by org.apache.accumulo.server.tabletserver.LargestFirstMemoryManager
All Implemented Interfaces:
MemoryManager

public class LargestFirstMemoryManager
extends Object
implements MemoryManager


Method Summary
 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.
static void main(String[] args)
           
 void tabletClosed(KeyExtent extent)
          This method is called when a tablet is closed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMemoryManagementActions

public MemoryManagementActions getMemoryManagementActions(List<TabletState> tablets)
Description copied from interface: MemoryManager
An implementation of this function will be called periodically by accumulo and should return a list of tablets to minor compact. Instructing a tablet that is already minor compacting (this can be inferred from the TabletState) to minor compact has no effect. Holding all ingest does not affect metadata tablets.

Specified by:
getMemoryManagementActions in interface MemoryManager

tabletClosed

public void tabletClosed(KeyExtent extent)
Description copied from interface: MemoryManager
This method is called when a tablet is closed. A memory manger can clean up any per tablet state it is keeping when this is called.

Specified by:
tabletClosed in interface MemoryManager

main

public static void main(String[] args)


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.