@ThreadSafe public class CompositeInodeLockList extends InodeLockList
Inode
s, based off an existing lock list. This does not
modify the base lock list, and when this lock list is closed, the base lock list is not closed.mInodes, mLockModes
Constructor and Description |
---|
CompositeInodeLockList(InodeLockList baseLockList)
Constructs a new lock list, using an existing lock list as the base list.
|
CompositeInodeLockList(InodeLockList baseLockList,
InodeLockList descendantLockList)
Constructs a new lock list, using an existing lock list as the base list.
|
Modifier and Type | Method and Description |
---|---|
List<Inode<?>> |
getInodes() |
boolean |
isEmpty() |
close, downgradeLast, lockRead, lockReadAndCheckNameAndParent, lockReadAndCheckParent, lockWrite, lockWriteAndCheckNameAndParent, lockWriteAndCheckParent, unlockLast
public CompositeInodeLockList(InodeLockList baseLockList)
baseLockList
- the base InodeLockList
to usepublic CompositeInodeLockList(InodeLockList baseLockList, InodeLockList descendantLockList)
baseLockList
- the base InodeLockList
to usedescendantLockList
- the locklist extensionpublic List<Inode<?>> getInodes()
getInodes
in class InodeLockList
public boolean isEmpty()
isEmpty
in class InodeLockList
Copyright © 2023. All Rights Reserved.