@ThreadSafe public final class LockingScheme extends Object
Constructor and Description |
---|
LockingScheme(AlluxioURI path,
InodeTree.LockMode desiredLockMode,
boolean shouldSync)
Constructs a
LockingScheme . |
Modifier and Type | Method and Description |
---|---|
InodeTree.LockMode |
getMode() |
AlluxioURI |
getPath() |
boolean |
shouldSync() |
public LockingScheme(AlluxioURI path, InodeTree.LockMode desiredLockMode, boolean shouldSync)
LockingScheme
.path
- the path to lockdesiredLockMode
- the desired lock modeshouldSync
- true if the path should be syncedpublic InodeTree.LockMode getMode()
public AlluxioURI getPath()
public boolean shouldSync()
Copyright © 2023. All Rights Reserved.