public class JdbcSemaphoreTest extends Object
Constructor and Description |
---|
JdbcSemaphoreTest() |
Modifier and Type | Method and Description |
---|---|
void |
testMultiProcess() |
void |
testMultiProcess2() |
void |
testPerformance() |
static void |
testReleaseAck(DataSource ds,
String semName,
int maxReservations) |
void |
testSingleMultipleInstance() |
void |
testSingleProcess() |
void |
testSingleProcessLock() |
public void testSingleProcess() throws SQLException, IOException, InterruptedException, TimeoutException, org.spf4j.recyclable.ObjectCreationException, org.spf4j.recyclable.ObjectDisposeException
SQLException
IOException
InterruptedException
TimeoutException
org.spf4j.recyclable.ObjectCreationException
org.spf4j.recyclable.ObjectDisposeException
public void testSingleProcessLock() throws SQLException, IOException, InterruptedException, TimeoutException
public void testSingleMultipleInstance() throws SQLException, IOException, InterruptedException, TimeoutException
public static void testReleaseAck(DataSource ds, String semName, int maxReservations) throws SQLException, InterruptedException, TimeoutException
public void testMultiProcess() throws SQLException, IOException, InterruptedException, ExecutionException, TimeoutException
public void testMultiProcess2() throws SQLException, IOException, InterruptedException, ExecutionException, TimeoutException
public void testPerformance() throws SQLException, IOException, InterruptedException, ExecutionException, TimeoutException
Copyright © 2021 SPF4J. All rights reserved.