public static class VaadinSession.FutureAccess extends FutureTask<Void>
Runnable submitted using
VaadinSession.access(Runnable). This class is used internally by
the framework and is not intended to be directly used by application
developers.| Constructor and Description |
|---|
FutureAccess(VaadinSession session,
Runnable runnable)
Creates an instance for the given runnable.
|
| Modifier and Type | Method and Description |
|---|---|
Void |
get() |
void |
handleError(Exception exception)
Handles exceptions thrown during the execution of this task.
|
cancel, done, get, isCancelled, isDone, run, runAndReset, set, setExceptionpublic FutureAccess(VaadinSession session, Runnable runnable)
session - the session to which the task belongsrunnable - the runnable to run when this task is purged from the
queuepublic Void get() throws InterruptedException, ExecutionException
get in interface Future<Void>get in class FutureTask<Void>InterruptedExceptionExecutionExceptionpublic void handleError(Exception exception)
exception - the thrown exception.Copyright © 2020 Vaadin Ltd. All rights reserved.