public class ProgressListenerCallbackExecutor
extends java.lang.Object
Constructor and Description |
---|
ProgressListenerCallbackExecutor()
Constructor.
|
ProgressListenerCallbackExecutor(ProgressListener listener)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
progressChanged(ProgressEvent progressEvent) |
static java.util.concurrent.Future<?> |
progressChanged(ProgressListener listener,
ProgressEvent progressEvent)
Used to submit a task to publish a progress event to the given listener.
|
static ProgressListenerCallbackExecutor |
wrapListener(ProgressListener listener) |
public ProgressListenerCallbackExecutor(ProgressListener listener)
listener
- the progress listener.public ProgressListenerCallbackExecutor()
public static java.util.concurrent.Future<?> progressChanged(ProgressListener listener, ProgressEvent progressEvent)
listener
- the progress listener.progressEvent
- the process event.public void progressChanged(ProgressEvent progressEvent)
progressEvent
- the progress event.public static ProgressListenerCallbackExecutor wrapListener(ProgressListener listener)
listener
- the progress listener.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.