@NotThreadSafe public final class ObjectPoolBuilderTest extends Object
| Constructor and Description |
|---|
ObjectPoolBuilderTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testBuild()
Test of build method, of class RecyclingSupplierBuilder.
|
void |
testBuild2() |
void |
testBuild3() |
void |
testBuildDisposeTimeout() |
void |
testGetTimeout() |
void |
testPoolUse() |
void |
testPoolUseNoFailures() |
void |
testPoolUseNoFailuresStarvation() |
void |
testPoolUseWithMaintenance() |
public void testBuild()
throws org.spf4j.recyclable.ObjectCreationException,
InterruptedException,
org.spf4j.recyclable.ObjectBorrowException,
TimeoutException,
org.spf4j.recyclable.ObjectDisposeException
org.spf4j.recyclable.ObjectCreationExceptionInterruptedExceptionorg.spf4j.recyclable.ObjectBorrowExceptionTimeoutExceptionorg.spf4j.recyclable.ObjectDisposeExceptionpublic void testBuildDisposeTimeout()
throws org.spf4j.recyclable.ObjectCreationException,
org.spf4j.recyclable.ObjectBorrowException,
InterruptedException,
TimeoutException,
org.spf4j.recyclable.ObjectReturnException,
org.spf4j.recyclable.ObjectDisposeException
org.spf4j.recyclable.ObjectCreationExceptionorg.spf4j.recyclable.ObjectBorrowExceptionInterruptedExceptionTimeoutExceptionorg.spf4j.recyclable.ObjectReturnExceptionorg.spf4j.recyclable.ObjectDisposeExceptionpublic void testGetTimeout()
throws org.spf4j.recyclable.ObjectCreationException,
org.spf4j.recyclable.ObjectBorrowException,
InterruptedException,
TimeoutException,
org.spf4j.recyclable.ObjectReturnException,
org.spf4j.recyclable.ObjectDisposeException,
ExecutionException
org.spf4j.recyclable.ObjectCreationExceptionorg.spf4j.recyclable.ObjectBorrowExceptionInterruptedExceptionTimeoutExceptionorg.spf4j.recyclable.ObjectReturnExceptionorg.spf4j.recyclable.ObjectDisposeExceptionExecutionExceptionpublic void testBuild2()
throws org.spf4j.recyclable.ObjectCreationException,
InterruptedException,
org.spf4j.recyclable.ObjectBorrowException,
ExecutionException,
TimeoutException
org.spf4j.recyclable.ObjectCreationExceptionInterruptedExceptionorg.spf4j.recyclable.ObjectBorrowExceptionExecutionExceptionTimeoutExceptionpublic void testBuild3()
throws org.spf4j.recyclable.ObjectCreationException,
InterruptedException,
org.spf4j.recyclable.ObjectBorrowException,
ExecutionException,
TimeoutException
org.spf4j.recyclable.ObjectCreationExceptionInterruptedExceptionorg.spf4j.recyclable.ObjectBorrowExceptionExecutionExceptionTimeoutExceptionpublic void testPoolUseNoFailures()
throws org.spf4j.recyclable.ObjectCreationException,
org.spf4j.recyclable.ObjectBorrowException,
InterruptedException,
TimeoutException,
org.spf4j.recyclable.ObjectReturnException,
org.spf4j.recyclable.ObjectDisposeException,
ExecutionException
org.spf4j.recyclable.ObjectCreationExceptionorg.spf4j.recyclable.ObjectBorrowExceptionInterruptedExceptionTimeoutExceptionorg.spf4j.recyclable.ObjectReturnExceptionorg.spf4j.recyclable.ObjectDisposeExceptionExecutionExceptionpublic void testPoolUseNoFailuresStarvation()
throws org.spf4j.recyclable.ObjectCreationException,
org.spf4j.recyclable.ObjectBorrowException,
InterruptedException,
TimeoutException,
org.spf4j.recyclable.ObjectReturnException,
org.spf4j.recyclable.ObjectDisposeException,
ExecutionException
org.spf4j.recyclable.ObjectCreationExceptionorg.spf4j.recyclable.ObjectBorrowExceptionInterruptedExceptionTimeoutExceptionorg.spf4j.recyclable.ObjectReturnExceptionorg.spf4j.recyclable.ObjectDisposeExceptionExecutionExceptionpublic void testPoolUse()
throws org.spf4j.recyclable.ObjectCreationException,
org.spf4j.recyclable.ObjectBorrowException,
InterruptedException,
TimeoutException,
org.spf4j.recyclable.ObjectReturnException,
org.spf4j.recyclable.ObjectDisposeException,
ExecutionException
org.spf4j.recyclable.ObjectCreationExceptionorg.spf4j.recyclable.ObjectBorrowExceptionInterruptedExceptionTimeoutExceptionorg.spf4j.recyclable.ObjectReturnExceptionorg.spf4j.recyclable.ObjectDisposeExceptionExecutionExceptionpublic void testPoolUseWithMaintenance()
throws org.spf4j.recyclable.ObjectCreationException,
org.spf4j.recyclable.ObjectBorrowException,
InterruptedException,
TimeoutException,
org.spf4j.recyclable.ObjectReturnException,
org.spf4j.recyclable.ObjectDisposeException,
ExecutionException
org.spf4j.recyclable.ObjectCreationExceptionorg.spf4j.recyclable.ObjectBorrowExceptionInterruptedExceptionTimeoutExceptionorg.spf4j.recyclable.ObjectReturnExceptionorg.spf4j.recyclable.ObjectDisposeExceptionExecutionExceptionCopyright © 2021 SPF4J. All rights reserved.