private class S3ServiceMulti.CreateObjectRunnable extends S3ServiceMulti.AbstractRunnable
ProgressMonitoredInputStream and can be can cancelled as the input stream is wrapped in
an InterruptableInputStream.| Modifier and Type | Field and Description |
|---|---|
private S3Bucket |
bucket |
private InterruptableInputStream |
interruptableInputStream |
private BytesProgressWatcher |
progressMonitor |
private java.lang.Object |
result |
private S3Object |
s3Object |
| Constructor and Description |
|---|
CreateObjectRunnable(S3Bucket bucket,
S3Object s3Object,
BytesProgressWatcher progressMonitor) |
| Modifier and Type | Method and Description |
|---|---|
void |
forceInterruptCalled() |
java.lang.Object |
getResult() |
void |
run() |
forceInterruptprivate S3Bucket bucket
private S3Object s3Object
private InterruptableInputStream interruptableInputStream
private BytesProgressWatcher progressMonitor
private java.lang.Object result
public CreateObjectRunnable(S3Bucket bucket, S3Object s3Object, BytesProgressWatcher progressMonitor)
public void run()
public java.lang.Object getResult()
getResult in class S3ServiceMulti.AbstractRunnablepublic void forceInterruptCalled()
forceInterruptCalled in class S3ServiceMulti.AbstractRunnable