class TestCompaction.StoreMockMaker extends StatefulStoreMockMaker
Modifier and Type | Class and Description |
---|---|
class |
TestCompaction.StoreMockMaker.TestCompactionContext |
Modifier and Type | Field and Description |
---|---|
ArrayList<org.apache.hadoop.hbase.regionserver.HStoreFile> |
compacting |
ArrayList<org.apache.hadoop.hbase.regionserver.HStoreFile> |
notCompacting |
private ArrayList<Integer> |
results |
Constructor and Description |
---|
StoreMockMaker(ArrayList<Integer> results) |
Modifier and Type | Method and Description |
---|---|
void |
cancelCompaction(Object object) |
void |
finishCompaction(List<org.apache.hadoop.hbase.regionserver.HStoreFile> sfs) |
int |
getPriority() |
Optional<org.apache.hadoop.hbase.regionserver.compactions.CompactionContext> |
selectCompaction() |
createStoreMock
public ArrayList<org.apache.hadoop.hbase.regionserver.HStoreFile> compacting
public ArrayList<org.apache.hadoop.hbase.regionserver.HStoreFile> notCompacting
public StoreMockMaker(ArrayList<Integer> results)
public Optional<org.apache.hadoop.hbase.regionserver.compactions.CompactionContext> selectCompaction()
selectCompaction
in class StatefulStoreMockMaker
public void cancelCompaction(Object object)
cancelCompaction
in class StatefulStoreMockMaker
public void finishCompaction(List<org.apache.hadoop.hbase.regionserver.HStoreFile> sfs)
public int getPriority()
getPriority
in class StatefulStoreMockMaker
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.