@NotThreadSafe protected class ObjectUnderFileSystem.DeleteBuffer extends Object
ObjectUnderFileSystem.DeleteBuffer
will be deleted in batches. Multiple batches are
processed in parallel.Modifier and Type | Class and Description |
---|---|
protected class |
ObjectUnderFileSystem.DeleteBuffer.DeleteThread
Thread class to delete a batch of objects.
|
Constructor and Description |
---|
DeleteBuffer()
Construct a new
ObjectUnderFileSystem.DeleteBuffer instance. |
Modifier and Type | Method and Description |
---|---|
void |
add(String path)
Add a new object to be deleted.
|
List<String> |
getResult()
Get the combined result from all batches.
|
public DeleteBuffer()
ObjectUnderFileSystem.DeleteBuffer
instance.public void add(String path) throws IOException
path
- of objectIOException
- if a non-Alluxio error occurspublic List<String> getResult() throws IOException
IOException
- if a non-Alluxio error occursCopyright © 2023. All Rights Reserved.