public class ClonedLibrarySessionManager.ReserveSessionTask extends Task
Modifier and Type | Method and Description |
---|---|
Object |
call()
Compute the value to be returned by the
get method. |
protected void |
complete(Object returnValue,
Throwable error)
Notification by the ExecutionService that the call is complete.
|
protected void |
forceComplete() |
finish, get, getDefaultExecutor, getExecutor, getThrowable, getTimeoutPeriod, isDone, isFailed, markCompleted, start, start, timeout
public Object call() throws Exception
Task
get
method.
This is analgous to construct
in the SwingWorker class.
protected void complete(Object returnValue, Throwable error)
Task
This posts an invokeLater
for the finish
operation.
protected void forceComplete()
Copyright © 2023. All rights reserved.