public abstract class NamedLockFactoryAdapterTestSupport extends Object
SyncContextFactory
.Constructor and Description |
---|
NamedLockFactoryAdapterTestSupport() |
Modifier and Type | Method and Description |
---|---|
void |
before() |
static void |
cleanupAdapter() |
void |
exclusiveAccess() |
void |
justAcquire() |
void |
justCreateAndClose() |
void |
mixedAccess() |
void |
nestedExclusiveExclusive() |
void |
nestedExclusiveShared() |
void |
nestedSharedExclusive() |
void |
nestedSharedShared() |
protected static void |
setNamedLockFactory(NamedLockFactory namedLockFactory) |
void |
sharedAccess() |
public NamedLockFactoryAdapterTestSupport()
protected static void setNamedLockFactory(NamedLockFactory namedLockFactory)
public static void cleanupAdapter()
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–2021 The Apache Software Foundation. All rights reserved.