@ThreadSafe protected class ObjectUnderFileSystem.RenameBuffer extends ObjectUnderFileSystem.OperationBuffer<Pair<String,String>>
ObjectUnderFileSystem.RenameBuffer
will be renamed concurrently.mEntriesAdded
Constructor and Description |
---|
RenameBuffer(ObjectUnderFileSystem.DeleteBuffer deleteBuffer)
Construct a new
ObjectUnderFileSystem.RenameBuffer instance. |
Modifier and Type | Method and Description |
---|---|
protected int |
getBatchSize()
Gets the batch size.
|
protected List<Pair<String,String>> |
operate(List<Pair<String,String>> paths)
Operate on a list of input type
T . |
add, getResult
public RenameBuffer(ObjectUnderFileSystem.DeleteBuffer deleteBuffer)
ObjectUnderFileSystem.RenameBuffer
instance.deleteBuffer
- delete object bufferprotected int getBatchSize()
ObjectUnderFileSystem.OperationBuffer
getBatchSize
in class ObjectUnderFileSystem.OperationBuffer<Pair<String,String>>
protected List<Pair<String,String>> operate(List<Pair<String,String>> paths) throws IOException
ObjectUnderFileSystem.OperationBuffer
T
.operate
in class ObjectUnderFileSystem.OperationBuffer<Pair<String,String>>
paths
- the list of input type T
to operate onIOException
Copyright © 2023. All Rights Reserved.