public interface ResourceLocker
| Modifier and Type | Field and Description |
|---|---|
static ResourceLocker |
NONE |
| Modifier and Type | Method and Description |
|---|---|
void |
acquireExclusive(ResourceType resourceType,
long... resourceIds)
Can be grabbed when no other client holds locks on the relevant resources.
|
static final ResourceLocker NONE
void acquireExclusive(ResourceType resourceType, long... resourceIds) throws AcquireLockTimeoutException
WaitStrategy for the given ResourceType.resourceType - type or resource(s) to lock.resourceIds - id(s) of resources to lock. Multiple ids should be ordered consistently by all callers
of this method.AcquireLockTimeoutExceptionCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.