public abstract class TestInterProcessMutexBase extends BaseClassForTests
Modifier and Type | Field and Description |
---|---|
protected static String |
LOCK_BASE_PATH |
server
Constructor and Description |
---|
TestInterProcessMutexBase() |
Modifier and Type | Method and Description |
---|---|
protected abstract InterProcessLock |
makeLock(CuratorFramework client) |
void |
test2Clients() |
void |
testContainerCleanup() |
void |
testKilledSession() |
void |
testLocker() |
void |
testReentrant() |
void |
testReentrant2Threads() |
void |
testReentrantSingleLock() |
void |
testWaitingProcessKilledServer() |
void |
testWithNamespace() |
createAndStartCluster, createServer, setup, teardown
protected static final String LOCK_BASE_PATH
protected abstract InterProcessLock makeLock(CuratorFramework client)
@Test public void testWaitingProcessKilledServer() throws Exception
Exception
@Test public void testReentrantSingleLock() throws Exception
Exception
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.