public class FutureAccess extends FutureTask<Void>
Command
submitted using
VaadinSession.access(Command)
. 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,
Command command)
Creates an instance for the given command.
|
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, setException
public FutureAccess(VaadinSession session, Command command)
session
- the session to which the task belongscommand
- the command 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>
InterruptedException
ExecutionException
public void handleError(Exception exception)
exception
- the thrown exception.Copyright © 2025. All rights reserved.