public static interface BucketWriter.PendingFile
Modifier and Type | Method and Description |
---|---|
void |
commit()
Commits the pending file, making it visible.
|
void |
commitAfterRecovery()
Commits the pending file, making it visible.
|
void commit() throws IOException
IOException
- Thrown if committing fails.void commitAfterRecovery() throws IOException
This method tolerates situations where the file was already committed and will not raise an exception in that case. This is important for idempotent commit retries as they need to happen after recovery.
IOException
- Thrown if committing fails.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.