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