Skip navigation links
A C D E F G I M P S T V 

A

Async - Annotation Type in de.skuzzle.inject.async.annotation
Tags a method to be run asynchronously.
AsyncModule - Class in de.skuzzle.inject.async.internal
Exposes required bindings.
AsyncModule(GuiceAsync) - Constructor for class de.skuzzle.inject.async.internal.AsyncModule
As GuiceAsync is not instantiatable from outside, the constructor guards this class from being created unintentionally.

C

call() - Method in class de.skuzzle.inject.async.internal.InvocationCallable
 
configure() - Method in class de.skuzzle.inject.async.internal.AsyncModule
 
createModule() - Static method in class de.skuzzle.inject.async.GuiceAsync
Creates a module that can be used to enable asynchronous method support.
CronTrigger - Annotation Type in de.skuzzle.inject.async.annotation
A trigger annotation for specifying a cron pattern which describes the scheduling of the method.
CronTriggerStrategy - Class in de.skuzzle.inject.async.internal.trigger
TriggerStrategy that handles the CronTrigger annotation.
CronTriggerStrategy() - Constructor for class de.skuzzle.inject.async.internal.trigger.CronTriggerStrategy
Public constructor for being instantiated by the ServiceLoader.

D

de.skuzzle.inject.async - package de.skuzzle.inject.async
Main public API.
de.skuzzle.inject.async.annotation - package de.skuzzle.inject.async.annotation
Contains annotation type for supplying meta information on methods.
de.skuzzle.inject.async.internal - package de.skuzzle.inject.async.internal
Internal implementation which should not be considered part of the public API.
de.skuzzle.inject.async.internal.trigger - package de.skuzzle.inject.async.internal.trigger
Contains trigger implementations for scheduling methods.
de.skuzzle.inject.async.util - package de.skuzzle.inject.async.util
General utilities for asynchronous method executions.
DelayedTrigger - Annotation Type in de.skuzzle.inject.async.annotation
A trigger that will execute a method only once after a certain delay.
DelayedTriggerStrategy - Class in de.skuzzle.inject.async.internal.trigger
Handles the DelayedTrigger.
DelayedTriggerStrategy() - Constructor for class de.skuzzle.inject.async.internal.trigger.DelayedTriggerStrategy
 
delegate(T) - Static method in class de.skuzzle.inject.async.util.Futures
Returns a dummy Future object to be used to return a value in methods that are annotated with Async.

E

enableFor(Binder) - Static method in class de.skuzzle.inject.async.GuiceAsync
Enable support for the Async annotation in classes that are used with the injector that will be created from the given Binder.
Executor - Annotation Type in de.skuzzle.inject.async.annotation
Allows to specify the class part of the Key that is used to look up an ExecutorService for a method annotated with Async.

F

forEachMemberMethod(Class<?>, Consumer<Method>) - Static method in class de.skuzzle.inject.async.util.MethodVisitor
Starting at given type, traverses all super types (except Object.class) and passes each encountered method (including private and static ones) to the given consumer.
forMethod(Method, Object, Injector) - Static method in class de.skuzzle.inject.async.util.InjectedMethodInvocation
Creates a MethodInvocation object that is able to invoke the provided non-static method.
forStatic(Method, Injector) - Static method in class de.skuzzle.inject.async.util.InjectedMethodInvocation
Creates a MethodInvocation object that is able to invoke the provided static method.
Futures - Class in de.skuzzle.inject.async.util
Utility to created dummy Future objects to use in methods annotated with Async.

G

getArguments() - Method in class de.skuzzle.inject.async.util.InjectedMethodInvocation
 
getMethod() - Method in class de.skuzzle.inject.async.util.InjectedMethodInvocation
 
getStaticPart() - Method in class de.skuzzle.inject.async.util.InjectedMethodInvocation
 
getStrategyFor(Annotation) - Method in interface de.skuzzle.inject.async.internal.TriggerStrategyRegistry
Gets the TriggerStrategy that is able to handle the provided trigger annotation.
getThis() - Method in class de.skuzzle.inject.async.util.InjectedMethodInvocation
 
getTriggerType() - Method in class de.skuzzle.inject.async.internal.trigger.CronTriggerStrategy
 
getTriggerType() - Method in class de.skuzzle.inject.async.internal.trigger.DelayedTriggerStrategy
 
getTriggerType() - Method in class de.skuzzle.inject.async.internal.trigger.SimpleTriggerStrategy
 
getTriggerType() - Method in interface de.skuzzle.inject.async.TriggerStrategy
Returns the annotation type that this strategy can handle.
GuiceAsync - Class in de.skuzzle.inject.async
Entry point for enabling asynchronous method support within your guice application.

I

InjectedMethodInvocation - Class in de.skuzzle.inject.async.util
Allows to invoke any method without explicitly providing its arguments.
InvocationCallable<T> - Class in de.skuzzle.inject.async.internal
Wraps a MethodInvocation object in a Callable for asynchronous execution.

M

MethodVisitor - Class in de.skuzzle.inject.async.util
Allows to iterate the methods of a class and its whole type hierarchy.

P

proceed() - Method in class de.skuzzle.inject.async.util.InjectedMethodInvocation
 

S

schedule(ScheduledExecutorService, Runnable, long, long, TimeUnit) - Method in enum de.skuzzle.inject.async.annotation.SimpleScheduleType
Schedules a Runnable according to this scheduling type.
schedule(Method, Object, ScheduledExecutorService) - Method in class de.skuzzle.inject.async.internal.trigger.CronTriggerStrategy
 
schedule(Method, Object, ScheduledExecutorService) - Method in class de.skuzzle.inject.async.internal.trigger.DelayedTriggerStrategy
 
schedule(Method, Object, ScheduledExecutorService) - Method in class de.skuzzle.inject.async.internal.trigger.SimpleTriggerStrategy
 
schedule(Method, Object, ScheduledExecutorService) - Method in interface de.skuzzle.inject.async.TriggerStrategy
Extracts scheduling information from the provided Method and then schedules invocations of that method according to the information.
Scheduled - Annotation Type in de.skuzzle.inject.async.annotation
Marks a method to be executed periodically.
Scheduler - Annotation Type in de.skuzzle.inject.async.annotation
Allows to specify the class part of the Key that is used to look up a ScheduledExecutorService for a method annotated with Scheduled.
SimpleScheduleType - Enum in de.skuzzle.inject.async.annotation
Defines the way in which a method annotated with SimpleTrigger is scheduled with a ScheduledExecutorService.
SimpleTrigger - Annotation Type in de.skuzzle.inject.async.annotation
A trigger annotation that allows to define a simple periodicity for method execution.
SimpleTriggerStrategy - Class in de.skuzzle.inject.async.internal.trigger
TriggerStrategy that handles the SimpleTrigger annotation for defining simple periodic executions.
SimpleTriggerStrategy() - Constructor for class de.skuzzle.inject.async.internal.trigger.SimpleTriggerStrategy
 

T

Trigger - Annotation Type in de.skuzzle.inject.async.annotation
Marks another annotation type to be a trigger annotation.
TriggerStrategy - Interface in de.skuzzle.inject.async
Defines how a certain Trigger annotation is handled in order to extract scheduling meta information and to actually schedule method invocations.
TriggerStrategyRegistry - Interface in de.skuzzle.inject.async.internal
Holds registered TriggerStrategy implementations.

V

valueOf(String) - Static method in enum de.skuzzle.inject.async.annotation.SimpleScheduleType
Returns the enum constant of this type with the specified name.
values() - Static method in enum de.skuzzle.inject.async.annotation.SimpleScheduleType
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E F G I M P S T V 
Skip navigation links

Copyright © 2014–2016. All rights reserved.