Uses of Interface
io.fluxcapacitor.common.ThrowingRunnable
Packages that use ThrowingRunnable
Package
Description
-
Uses of ThrowingRunnable in io.fluxcapacitor.common
Methods in io.fluxcapacitor.common with parameters of type ThrowingRunnableModifier and TypeMethodDescriptionstatic Callable
<?> ObjectUtils.asCallable
(ThrowingRunnable runnable) Converts a ThrowingRunnable into aCallable<Object>
that returns null.static Runnable
ObjectUtils.asRunnable
(ThrowingRunnable runnable) static void
ObjectUtils.run
(ThrowingRunnable runnable) Executes the runnable, forcibly rethrowing exceptions as unchecked.InMemoryTaskScheduler.schedule
(long deadline, ThrowingRunnable task) TaskScheduler.schedule
(long deadline, ThrowingRunnable task) Schedules a task to be executed at the given epoch millisecond timestamp.default Registration
TaskScheduler.schedule
(Duration duration, ThrowingRunnable task) Schedules a task to be executed after a specified delay.default Registration
TaskScheduler.schedule
(Instant deadline, ThrowingRunnable task) Schedules a task to be executed at a specific timestamp.void
InMemoryTaskScheduler.submit
(ThrowingRunnable task) default void
TaskScheduler.submit
(ThrowingRunnable task) Immediately schedules a task for execution.Constructors in io.fluxcapacitor.common with parameters of type ThrowingRunnable -
Uses of ThrowingRunnable in io.fluxcapacitor.common.handling
Methods in io.fluxcapacitor.common.handling with parameters of type ThrowingRunnableModifier and TypeMethodDescriptionstatic HandlerInvoker
HandlerInvoker.run
(ThrowingRunnable task) Wraps aThrowingRunnable
in aHandlerInvoker
. -
Uses of ThrowingRunnable in io.fluxcapacitor.javaclient.configuration
Methods in io.fluxcapacitor.javaclient.configuration with parameters of type ThrowingRunnableModifier and TypeMethodDescriptionprotected FluxCapacitor
DefaultFluxCapacitor.Builder.doBuild
(Map<MessageType, ? extends Tracking> trackingSupplier, Function<String, ? extends GenericGateway> customGatewaySupplier, CommandGateway commandGateway, QueryGateway queryGateway, EventGateway eventGateway, ResultGateway resultGateway, ErrorGateway errorGateway, MetricsGateway metricsGateway, WebRequestGateway webRequestGateway, AggregateRepository aggregateRepository, SnapshotStore snapshotStore, EventStore eventStore, KeyValueStore keyValueStore, DocumentStore documentStore, MessageScheduler messageScheduler, UserProvider userProvider, Cache cache, Serializer serializer, CorrelationDataProvider correlationDataProvider, IdentityProvider identityProvider, PropertySource propertySource, DelegatingClock clock, TaskScheduler taskScheduler, Client client, ThrowingRunnable shutdownHandler) -
Uses of ThrowingRunnable in io.fluxcapacitor.javaclient.tracking.handling.authentication
Methods in io.fluxcapacitor.javaclient.tracking.handling.authentication with parameters of type ThrowingRunnableModifier and TypeMethodDescriptiondefault void
User.run
(ThrowingRunnable f) Executes a runnable task with this user set as the current thread-local user.