@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.ObjectCreationException
InterruptedException
org.spf4j.recyclable.ObjectBorrowException
TimeoutException
org.spf4j.recyclable.ObjectDisposeException
public void testBuildDisposeTimeout() throws org.spf4j.recyclable.ObjectCreationException, org.spf4j.recyclable.ObjectBorrowException, InterruptedException, TimeoutException, org.spf4j.recyclable.ObjectReturnException, org.spf4j.recyclable.ObjectDisposeException
org.spf4j.recyclable.ObjectCreationException
org.spf4j.recyclable.ObjectBorrowException
InterruptedException
TimeoutException
org.spf4j.recyclable.ObjectReturnException
org.spf4j.recyclable.ObjectDisposeException
public 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.ObjectCreationException
org.spf4j.recyclable.ObjectBorrowException
InterruptedException
TimeoutException
org.spf4j.recyclable.ObjectReturnException
org.spf4j.recyclable.ObjectDisposeException
ExecutionException
public void testBuild2() throws org.spf4j.recyclable.ObjectCreationException, InterruptedException, org.spf4j.recyclable.ObjectBorrowException, ExecutionException, TimeoutException
org.spf4j.recyclable.ObjectCreationException
InterruptedException
org.spf4j.recyclable.ObjectBorrowException
ExecutionException
TimeoutException
public void testBuild3() throws org.spf4j.recyclable.ObjectCreationException, InterruptedException, org.spf4j.recyclable.ObjectBorrowException, ExecutionException, TimeoutException
org.spf4j.recyclable.ObjectCreationException
InterruptedException
org.spf4j.recyclable.ObjectBorrowException
ExecutionException
TimeoutException
public 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.ObjectCreationException
org.spf4j.recyclable.ObjectBorrowException
InterruptedException
TimeoutException
org.spf4j.recyclable.ObjectReturnException
org.spf4j.recyclable.ObjectDisposeException
ExecutionException
public 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.ObjectCreationException
org.spf4j.recyclable.ObjectBorrowException
InterruptedException
TimeoutException
org.spf4j.recyclable.ObjectReturnException
org.spf4j.recyclable.ObjectDisposeException
ExecutionException
public 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.ObjectCreationException
org.spf4j.recyclable.ObjectBorrowException
InterruptedException
TimeoutException
org.spf4j.recyclable.ObjectReturnException
org.spf4j.recyclable.ObjectDisposeException
ExecutionException
public 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.ObjectCreationException
org.spf4j.recyclable.ObjectBorrowException
InterruptedException
TimeoutException
org.spf4j.recyclable.ObjectReturnException
org.spf4j.recyclable.ObjectDisposeException
ExecutionException
Copyright © 2021 SPF4J. All rights reserved.