org.apache.hadoop.hbase.regionserver.compactions
Class CompactSelection

java.lang.Object
  extended by org.apache.hadoop.hbase.regionserver.compactions.CompactSelection

@InterfaceAudience.Private
public class CompactSelection
extends Object


Constructor Summary
CompactSelection(List<StoreFile> filesToCompact)
           
 
Method Summary
 void clearSubList(int start, int end)
           
 void emptyFileList()
          Removes all files from the current compaction list, and resets off peak compactions is set.
 List<StoreFile> getFilesToCompact()
           
 long getSelectionTime()
           
 CompactSelection getSubList(int start, int end)
           
 boolean isOffPeakCompaction()
           
 void setOffPeak(boolean value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompactSelection

public CompactSelection(List<StoreFile> filesToCompact)
Method Detail

getFilesToCompact

public List<StoreFile> getFilesToCompact()

emptyFileList

public void emptyFileList()
Removes all files from the current compaction list, and resets off peak compactions is set.


isOffPeakCompaction

public boolean isOffPeakCompaction()

setOffPeak

public void setOffPeak(boolean value)

getSelectionTime

public long getSelectionTime()

getSubList

public CompactSelection getSubList(int start,
                                   int end)

clearSubList

public void clearSubList(int start,
                         int end)


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