Interface: Runnable

system.process. Runnable

The base interface for all commands in your applications. If only this interface is implemented by a command, it is treated as a synchronous command. For additional features like asynchronous execution, cancellation or suspension, several subinterfaces are available.

In object-oriented programming, the command pattern is a behavioral design pattern in which an object is used to encapsulate all information needed to perform an action or trigger an event at a later time.

This interface is used by all internal command executors and builders.

Methods


run()

Run the command.