Package | Description |
---|---|
alluxio.collections | |
alluxio.master.file.meta | |
alluxio.resource |
Modifier and Type | Method and Description |
---|---|
LockResource |
LockPool.get(K key,
LockMode mode)
Locks the specified key in the specified mode.
|
Modifier and Type | Method and Description |
---|---|
Optional<LockResource> |
LockPool.tryGet(K key,
LockMode mode)
Attempts to take a lock on the given key.
|
Modifier and Type | Method and Description |
---|---|
LockResource |
InodeLockManager.lockEdge(Edge edge,
LockMode mode)
Acquires an edge lock.
|
LockResource |
InodeLockManager.lockInode(InodeView inode,
LockMode mode)
Acquires an inode lock.
|
LockResource |
InodeLockManager.lockUpdate(long inodeId)
Acquires the lock for modifying an inode's last modified time or size.
|
Modifier and Type | Method and Description |
---|---|
Optional<LockResource> |
InodeLockManager.tryLockEdge(Edge edge,
LockMode mode)
Attempts to acquire an edge lock.
|
Optional<LockResource> |
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LockResource.hasSameLock(LockResource other)
Returns true if the other lockresource contains the same lock.
|
Copyright © 2023. All Rights Reserved.