public class FrameCompletionHandler extends Object implements CompletionHandler<DataFrame>
Constructor and Description |
---|
FrameCompletionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
cancelled()
The operation was cancelled.
|
void |
completed(DataFrame result)
The operation was completed.
|
void |
failed(Throwable throwable)
The operation was failed.
|
DataFrame |
getResult() |
void |
updated(DataFrame result)
The callback method may be called, when there is some progress in
operation execution, but it is still not completed
|
public void cancelled()
CompletionHandler
cancelled
in interface CompletionHandler<DataFrame>
public void failed(Throwable throwable)
CompletionHandler
failed
in interface CompletionHandler<DataFrame>
throwable
- error, which occurred during operation executionpublic void completed(DataFrame result)
CompletionHandler
completed
in interface CompletionHandler<DataFrame>
result
- the operation result
Please note, for performance reasons the result object might be recycled
after returning from the completed method. So it's not guaranteed that
using of the result object is safe outside this method's scope.public void updated(DataFrame result)
CompletionHandler
updated
in interface CompletionHandler<DataFrame>
result
- the current result
Please note, for performance reasons the result object might be recycled
after returning from the updated method. So it's not guaranteed that
using of the result object is safe outside this method's scope.public DataFrame getResult()
Copyright © 2015 Oracle Corporation. All rights reserved.