public class AsyncAppenderBaseTest extends Object
| Constructor and Description |
|---|
AsyncAppenderBaseTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
emptyQueueShouldBeStoppable() |
void |
exceptionsShouldNotCauseHalting() |
void |
invalidQueueCapacityShouldResultInNonStartedAppender() |
void |
lossyAppenderShouldBeNonLossyIfDiscardingThresholdIsZero() |
void |
lossyAppenderShouldOnlyLooseCertainEvents() |
void |
noEventLoss() |
void |
setUp() |
void |
smoke() |
void |
stopExitsWhenMaxRuntimeReached() |
void |
verifyInterruptionIsNotSwallowed() |
void |
verifyInterruptionOfWorkerIsSwallowed() |
void |
workerShouldStopEvenIfInterruptExceptionConsumedWithinSubappender() |
void |
workerThreadFlushesOnStop() |
public void setUp()
public void smoke()
public void exceptionsShouldNotCauseHalting()
throws InterruptedException
InterruptedExceptionpublic void emptyQueueShouldBeStoppable()
public void workerShouldStopEvenIfInterruptExceptionConsumedWithinSubappender()
public void noEventLoss()
public void lossyAppenderShouldOnlyLooseCertainEvents()
public void lossyAppenderShouldBeNonLossyIfDiscardingThresholdIsZero()
public void invalidQueueCapacityShouldResultInNonStartedAppender()
public void workerThreadFlushesOnStop()
public void stopExitsWhenMaxRuntimeReached()
throws InterruptedException
InterruptedExceptionpublic void verifyInterruptionIsNotSwallowed()
public void verifyInterruptionOfWorkerIsSwallowed()
Copyright © 2005–2016 QOS.ch. All rights reserved.