Class LocalAsynchronousSignalTree
java.lang.Object
com.vaadin.flow.signals.shared.impl.SignalTree
com.vaadin.flow.signals.shared.impl.AsynchronousSignalTree
com.vaadin.flow.signals.shared.impl.LocalAsynchronousSignalTree
- All Implemented Interfaces:
Serializable
An asynchronous signal tree for single-JVM use that dispatches
AsynchronousSignalTree.confirm(List) using the default effect dispatcher from
SignalEnvironment. This makes the behavior consistent with clustered
implementations where confirmation happens asynchronously.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.flow.signals.shared.impl.SignalTree
SignalTree.CommandSubscriber, SignalTree.PendingCommit, SignalTree.Type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidsubmit(List<SignalCommand> commands) Submits a sequence of commands to the event log.Methods inherited from class com.vaadin.flow.signals.shared.impl.AsynchronousSignalTree
confirm, confirmed, prepareCommit, submittedMethods inherited from class com.vaadin.flow.signals.shared.impl.SignalTree
commitSingleCommand, commitSingleCommand, getLock, getWithLock, hasLock, id, notifyObservers, notifyProcessedCommandSubscribers, observeNextChange, runWithLock, subscribeToProcessed, type, wrapWithLock
-
Constructor Details
-
LocalAsynchronousSignalTree
public LocalAsynchronousSignalTree()
-
-
Method Details
-
submit
Description copied from class:AsynchronousSignalTreeSubmits a sequence of commands to the event log. It is expected that the same sequence of commands will eventually be passed back toAsynchronousSignalTree.confirm(List).- Specified by:
submitin classAsynchronousSignalTree- Parameters:
commands- the list of commands to submit, notnull
-