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
PersistTasks.A executor service likeCommandExecutorbut 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> APersistTaskIterablethat takes anIterableof parameters.PersistTask<A,T> Implemented by users.PersistTaskIterable<A,T> A task that returns an iterable.The priority is an indicator for the level at which aModeWrapperis applied.Set this annotation on aPersistTaskif 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.