| Package | Description |
|---|---|
| de.skuzzle.inject.async.internal.runnables | |
| de.skuzzle.inject.async.util |
General utilities for asynchronous method executions.
|
| 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.invoke(InjectedMethodInvocation invocation)
Creates a
Runnable which will execute the given invocation. |
static Runnable |
InvokeMethodRunnable.of(InjectedMethodInvocation invocation)
Creates a Runnable which will proceed the given MethodInvocation when being
executed.
|
| Modifier and Type | Method and Description |
|---|---|
static InjectedMethodInvocation |
InjectedMethodInvocation.forMethod(Method method,
Object self,
com.google.inject.Injector injector)
Creates a InjectedMethodInvocation object that is able to invoke the
provided method.
|
static InjectedMethodInvocation |
InjectedMethodInvocation.forStatic(Method method,
com.google.inject.Injector injector)
Creates an InjectedMethodInvocation object that is able to invoke the
provided static method.
|
Copyright © 2014–2018. All rights reserved.