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(NamedLockFactory namedLockFactory) |
void |
sharedAccess() |
protected static final HazelcastClientUtils utils
public NamedLockFactoryAdapterTestSupport()
protected static void setNamedLockFactory(NamedLockFactory namedLockFactory)
public static void cleanup()
public void before() throws IOException
IOException
public void justCreateAndClose()
public void justAcquire()
public void sharedAccess() throws InterruptedException
InterruptedException
public void exclusiveAccess() throws InterruptedException
InterruptedException
public void mixedAccess() throws InterruptedException
InterruptedException
public void nestedSharedShared() throws InterruptedException
InterruptedException
public void nestedExclusiveShared() throws InterruptedException
InterruptedException
public void nestedExclusiveExclusive() throws InterruptedException
InterruptedException
public void nestedSharedExclusive() throws InterruptedException
InterruptedException
Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.