Package | Description |
---|---|
alluxio.collections | |
alluxio.master.file.meta | |
alluxio.resource |
Modifier and Type | Method and Description |
---|---|
RWLockResource |
LockPool.get(K key,
LockMode mode,
boolean useTryLock)
Locks the specified key in the specified mode.
|
Modifier and Type | Method and Description |
---|---|
Optional<RWLockResource> |
LockPool.tryGet(K key,
LockMode mode)
Attempts to take a lock on the given key.
|
Modifier and Type | Method and Description |
---|---|
RWLockResource |
InodeLockManager.lockEdge(Edge edge,
LockMode mode,
boolean useTryLock)
Acquires an edge lock.
|
RWLockResource |
InodeLockManager.lockInode(InodeView inode,
LockMode mode,
boolean useTryLock)
Acquires an inode lock.
|
RWLockResource |
InodeLockManager.lockInode(Long inodeId,
LockMode mode)
Acquires an inode lock using
Lock.lock() . |
Modifier and Type | Method and Description |
---|---|
Optional<RWLockResource> |
InodeLockManager.tryLockEdge(Edge edge,
LockMode mode)
Attempts to acquire an edge lock.
|
Optional<RWLockResource> |
InodeLockManager.tryLockInode(Long inodeId,
LockMode mode)
Attempts to acquire an inode lock.
|
Modifier and Type | Class and Description |
---|---|
class |
RefCountLockResource
Reference counted Lock resource, automatically unlocks and decrements the reference count.
|
Copyright © 2023. All Rights Reserved.