public class TestChoreService extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestChoreService.ScheduledChoreSamples
A few ScheduledChore samples that are useful for testing with ChoreService
|
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
static org.slf4j.Logger |
log |
Constructor and Description |
---|
TestChoreService() |
Modifier and Type | Method and Description |
---|---|
void |
shutdownService(org.apache.hadoop.hbase.ChoreService service) |
void |
testCancelChore() |
void |
testChangingChoreServices() |
void |
testChoreServiceConstruction() |
void |
testCorePoolDecrease() |
void |
testCorePoolIncrease() |
void |
testForceTrigger() |
void |
testFrequencyOfChores() |
void |
testInitialChorePrecedence() |
void |
testMaximumChoreServiceThreads()
ChoreServices should never have a core pool size that exceeds the number of chores that have
been scheduled with the service.
|
void |
testNumberOfChoresMissingStartTime() |
void |
testNumberOfRunningChores() |
void |
testScheduledChoreConstruction() |
void |
testShutdownCancelsScheduledChores() |
void |
testShutdownRejectsNewSchedules() |
void |
testShutdownWorksWhileChoresAreExecuting() |
void |
testStopperForScheduledChores() |
public static final HBaseClassTestRule CLASS_RULE
public static final org.slf4j.Logger log
public TestChoreService()
public void testInitialChorePrecedence() throws InterruptedException
InterruptedException
public void testCancelChore() throws InterruptedException
InterruptedException
public void testScheduledChoreConstruction()
public void testChoreServiceConstruction() throws InterruptedException
InterruptedException
public void testFrequencyOfChores() throws InterruptedException
InterruptedException
public void shutdownService(org.apache.hadoop.hbase.ChoreService service) throws InterruptedException
InterruptedException
public void testForceTrigger() throws InterruptedException
InterruptedException
public void testCorePoolIncrease() throws InterruptedException
InterruptedException
public void testCorePoolDecrease() throws InterruptedException
InterruptedException
public void testNumberOfRunningChores() throws InterruptedException
InterruptedException
public void testNumberOfChoresMissingStartTime() throws InterruptedException
InterruptedException
public void testMaximumChoreServiceThreads() throws InterruptedException
InterruptedException
public void testChangingChoreServices() throws InterruptedException
InterruptedException
public void testStopperForScheduledChores() throws InterruptedException
InterruptedException
public void testShutdownCancelsScheduledChores() throws InterruptedException
InterruptedException
public void testShutdownWorksWhileChoresAreExecuting() throws InterruptedException
InterruptedException
public void testShutdownRejectsNewSchedules() throws InterruptedException
InterruptedException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.