| Package | Description |
|---|---|
| de.skuzzle.inject.async |
Main public API.
|
| de.skuzzle.inject.async.internal.runnables | |
| de.skuzzle.inject.async.internal.trigger |
Contains trigger implementations for scheduling methods.
|
| Modifier and Type | Method and Description |
|---|---|
ScheduledContext |
TriggerStrategy.schedule(Method method,
Object self,
ScheduledExecutorService executor,
ExceptionHandler handler)
Extracts scheduling information from the provided
Method and then schedules
invocations of that method according to the information. |
| Modifier and Type | Method and Description |
|---|---|
LockableRunnable |
RunnableBuilder.createLockedRunnableStack(InjectedMethodInvocation invocation,
ScheduledContext context,
ExceptionHandler handler)
Like
RunnableBuilder.createRunnableStack(InjectedMethodInvocation, ScheduledContext, ExceptionHandler)
but creates a Runnable which must be released before it is able to be executed. |
Runnable |
RunnableBuilder.createRunnableStack(InjectedMethodInvocation invocation,
ScheduledContext context,
ExceptionHandler handler)
Creates a
Runnable for running an execution in the scope of a given
context and to handle errors with the given
ExceptionHandler. |
Runnable |
RunnableBuilder.handleException(Runnable wrapped,
ExceptionHandler handler)
Creates a
Runnable that wraps around the given one and which delegates
excptions thrown by the inner runnable to the given handler. |
| Modifier and Type | Method and Description |
|---|---|
ScheduledContext |
SimpleTriggerStrategy.schedule(Method method,
Object self,
ScheduledExecutorService executor,
ExceptionHandler handler) |
ScheduledContext |
DelayedTriggerStrategy.schedule(Method method,
Object self,
ScheduledExecutorService executor,
ExceptionHandler handler) |
ScheduledContext |
CronTriggerStrategy.schedule(Method method,
Object self,
ScheduledExecutorService executor,
ExceptionHandler handler) |
Copyright © 2014–2018. All rights reserved.