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