public abstract class NamedLockFactoryAdapterTestSupport extends Object
SyncContextFactory.| Modifier and Type | Field and Description |
|---|---|
protected static HazelcastClientUtils |
utils |
| Constructor and Description |
|---|
NamedLockFactoryAdapterTestSupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
before() |
static void |
cleanup() |
void |
exclusiveAccess() |
void |
justAcquire() |
void |
justCreateAndClose() |
void |
mixedAccess() |
void |
nestedExclusiveExclusive() |
void |
nestedExclusiveShared() |
void |
nestedSharedExclusive() |
void |
nestedSharedShared() |
protected static void |
setNamedLockFactory(org.eclipse.aether.named.NamedLockFactory namedLockFactory) |
void |
sharedAccess() |
protected static final HazelcastClientUtils utils
public NamedLockFactoryAdapterTestSupport()
protected static void setNamedLockFactory(org.eclipse.aether.named.NamedLockFactory namedLockFactory)
public static void cleanup()
public void before() throws IOException
IOExceptionpublic void justCreateAndClose()
public void justAcquire()
public void sharedAccess() throws InterruptedException
InterruptedExceptionpublic void exclusiveAccess() throws InterruptedException
InterruptedExceptionpublic void mixedAccess() throws InterruptedException
InterruptedExceptionpublic void nestedSharedShared() throws InterruptedException
InterruptedExceptionpublic void nestedExclusiveShared() throws InterruptedException
InterruptedExceptionpublic void nestedExclusiveExclusive() throws InterruptedException
InterruptedExceptionpublic void nestedSharedExclusive() throws InterruptedException
InterruptedExceptionCopyright © 2010–2022 The Apache Software Foundation. All rights reserved.