public class MetadataSyncLockManager extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MetadataSyncLockManager.MetadataSyncPathList
Represents a locked path for a metadata sync path.
|
Constructor and Description |
---|
MetadataSyncLockManager() |
Modifier and Type | Method and Description |
---|---|
int |
getLockPoolSize() |
MetadataSyncLockManager.MetadataSyncPathList |
lockPath(AlluxioURI uri)
Acquire locks for a given path before metadata sync.
|
public MetadataSyncLockManager.MetadataSyncPathList lockPath(AlluxioURI uri) throws InvalidPathException, IOException
uri
- the alluxio uri to perform metadata syncMetadataSyncLockManager.MetadataSyncPathList
representing the locked pathsInvalidPathException
IOException
public int getLockPoolSize()
Copyright © 2023. All Rights Reserved.