T
- information that can be used to resume the paused operation;
can be null if the pause failed.public final class PauseResult<T> extends Object
Constructor and Description |
---|
PauseResult(PauseStatus pauseStatus) |
PauseResult(PauseStatus pauseStatus,
T infoToResume) |
Modifier and Type | Method and Description |
---|---|
T |
getInfoToResume()
Returns the information that can be used to resume a successfully paused
operation.
|
PauseStatus |
getPauseStatus()
Returns information about whether the pause was successful or not; and
if not why.
|
public PauseResult(PauseStatus pauseStatus, T infoToResume)
public PauseResult(PauseStatus pauseStatus)
public PauseStatus getPauseStatus()
public T getInfoToResume()
Copyright © 2016. All rights reserved.