Package ch.tocco.nice2.persist.core.api.exec
package ch.tocco.nice2.persist.core.api.exec
-
ClassDescriptionBase class for a 'partitioned' task.Used with persist tasks to determine whether results of loops are collected or not.Service for executing/submitting
PersistTask
s.A executor service likeCommandExecutor
but submitting the given task for asynchronous execution instead of executing it on the behalf of the calling thread.ComposedTask<A,B, C> DefaultExceptionMapper<E extends Throwable>ExceptionMapper<E extends Throwable>Translates a throwable to another one.ExpandedTask<A,B> Takes multiple inputs and runs its inner task with each.Describes the execution of a task; such as whether the task is executed in a transaction can control exception handling ofPersistException
.Mode.Key<T>OptionalTask<A,B> A task encapsulating thenull
-Check allowing for better chaining of tasks.PartitionedTask<I,O, X, Y> APersistTaskIterable
that takes anIterable
of parameters.PersistTask<A,T> Implemented by users.PersistTaskBase<A,T> Deprecated.PersistTaskIterable<A,T> A task that returns an iterable.The priority is an indicator for the level at which aModeWrapper
is applied.Set this annotation on aPersistTask
if it can simply be executed again when it failed because of aOutdatedException
.RetryablePersistTask<A,T> Implement this interface if a persist task can simply be executed again when it failed because of aOutdatedException
.
PersistTask
has default method implementations - there is need of extending this abstract class anymore.