@InterfaceAudience.Private public class PutTracker extends Object
close()
operation.Constructor and Description |
---|
PutTracker(String destKey)
Instantiate.
|
Modifier and Type | Method and Description |
---|---|
boolean |
aboutToComplete(String uploadId,
List<com.amazonaws.services.s3.model.PartETag> parts,
long bytesWritten)
Callback when the upload is is about to complete.
|
String |
getDestKey()
get the destination key.
|
boolean |
initialize()
Startup event.
|
boolean |
outputImmediatelyVisible()
Flag to indicate that output is not immediately visible after the stream
is closed.
|
String |
toString() |
public PutTracker(String destKey)
destKey
- destination keypublic boolean initialize() throws IOException
IOException
- any IO problem.public boolean outputImmediatelyVisible()
public boolean aboutToComplete(String uploadId, List<com.amazonaws.services.s3.model.PartETag> parts, long bytesWritten) throws IOException
uploadId
- Upload IDparts
- list of partsbytesWritten
- bytes writtenIOException
- I/O problem or validation failure.public String getDestKey()
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.