Index

A C D E G I L N O P R S T U 
All Classes and Interfaces|All Packages

A

AbstractEventExecutorFactory - Class in com.atlassian.event.internal
A EventExecutorFactory that allows the Executor to be produced with a custom BlockingQueue
AbstractEventExecutorFactory(EventThreadPoolConfiguration) - Constructor for class com.atlassian.event.internal.AbstractEventExecutorFactory
 
AbstractEventExecutorFactory(EventThreadPoolConfiguration, EventThreadFactory) - Constructor for class com.atlassian.event.internal.AbstractEventExecutorFactory
 
AnnotatedMethodsListenerHandler - Class in com.atlassian.event.internal
A listener handler that will check for single parameter methods annotated with the given annotation.
AnnotatedMethodsListenerHandler() - Constructor for class com.atlassian.event.internal.AnnotatedMethodsListenerHandler
 
AnnotatedMethodsListenerHandler(Class) - Constructor for class com.atlassian.event.internal.AnnotatedMethodsListenerHandler
 
AnnotationAsynchronousEventResolver - Class in com.atlassian.event.internal
Annotation based AsynchronousEventResolver.
AsynchronousAbleEventDispatcher - Class in com.atlassian.event.internal
This dispatcher will dispatch event asynchronously if: the event 'is' asynchronous, as resolved by the AsynchronousEventResolver and the invoker supports asynchronous events
AsynchronousAbleEventDispatcher(EventExecutorFactory) - Constructor for class com.atlassian.event.internal.AsynchronousAbleEventDispatcher
 
AsynchronousAbleEventDispatcher(EventExecutorFactory, AsynchronousEventResolver) - Constructor for class com.atlassian.event.internal.AsynchronousAbleEventDispatcher
 
AsynchronousAbleEventDispatcher(EventExecutorFactory, AsynchronousEventResolver, EventRunnableFactory) - Constructor for class com.atlassian.event.internal.AsynchronousAbleEventDispatcher
 
AsynchronousAbleEventDispatcher(Executor, AsynchronousEventResolver) - Constructor for class com.atlassian.event.internal.AsynchronousAbleEventDispatcher
 
AsynchronousAbleEventDispatcher(Executor, AsynchronousEventResolver, EventRunnableFactory) - Constructor for class com.atlassian.event.internal.AsynchronousAbleEventDispatcher
 
AsynchronousEventResolver - Interface in com.atlassian.event.internal
An interface to resolve whether an event can be handled asynchronously or not.
AsynchronousPreferred - Annotation Interface in com.atlassian.event.api
Annotation to be used with events to tell whether they can be handled asynchronously

C

com.atlassian.event.api - package com.atlassian.event.api
 
com.atlassian.event.config - package com.atlassian.event.config
 
com.atlassian.event.internal - package com.atlassian.event.internal
 
com.atlassian.event.spi - package com.atlassian.event.spi
 

D

DirectEventExecutorFactory - Class in com.atlassian.event.internal
Uses a SynchronousQueue to hand off tasks to the Executor.
DirectEventExecutorFactory(EventThreadPoolConfiguration) - Constructor for class com.atlassian.event.internal.DirectEventExecutorFactory
 
DirectEventExecutorFactory(EventThreadPoolConfiguration, EventThreadFactory) - Constructor for class com.atlassian.event.internal.DirectEventExecutorFactory
 
dispatch(ListenerInvoker, Object) - Method in class com.atlassian.event.internal.AsynchronousAbleEventDispatcher
 
dispatch(ListenerInvoker, Object) - Method in interface com.atlassian.event.spi.EventDispatcher
Dispatches the event using the invoker.

E

EventDispatcher - Interface in com.atlassian.event.spi
Dispatches an event to its listener (through the invoker).
EventExecutorFactory - Interface in com.atlassian.event.spi
A factory to create executors for asynchronous event handling
EventListener - Annotation Interface in com.atlassian.event.api
Used to annotate event listener methods.
EventListenerRegistrar - Interface in com.atlassian.event.api
 
EventPublisher - Interface in com.atlassian.event.api
Interface to publish events.
EventPublisherImpl - Class in com.atlassian.event.internal
The default implementation of the EventPublisher interface.
EventPublisherImpl(EventDispatcher, ListenerHandlersConfiguration) - Constructor for class com.atlassian.event.internal.EventPublisherImpl
 
EventPublisherImpl(EventDispatcher, ListenerHandlersConfiguration, InvokerTransformer) - Constructor for class com.atlassian.event.internal.EventPublisherImpl
If you need to customise the asynchronous handling, you should use the AsynchronousAbleEventDispatcher together with a custom executor.
EventRunnableFactory - Interface in com.atlassian.event.spi
An optional SPI that allows you to hook into the creation of the Runnable that gets supplied to the Executor that's returned from the EventExecutorFactory.
EventThreadFactory - Class in com.atlassian.event.internal
A thread factory that will name the threads AtlassianEvent::[thread_name].
EventThreadFactory() - Constructor for class com.atlassian.event.internal.EventThreadFactory
 
EventThreadFactory(ThreadFactory) - Constructor for class com.atlassian.event.internal.EventThreadFactory
 
EventThreadPoolConfiguration - Interface in com.atlassian.event.config
A configuration object for thread pools used by asynchronous event dispatchers
EventThreadPoolConfigurationImpl - Class in com.atlassian.event.internal
 
EventThreadPoolConfigurationImpl() - Constructor for class com.atlassian.event.internal.EventThreadPoolConfigurationImpl
 
executorFor(ListenerInvoker, Object) - Method in class com.atlassian.event.internal.AsynchronousAbleEventDispatcher
 

G

getAsynchronousExecutor() - Method in class com.atlassian.event.internal.AsynchronousAbleEventDispatcher
 
getCorePoolSize() - Method in interface com.atlassian.event.config.EventThreadPoolConfiguration
 
getCorePoolSize() - Method in class com.atlassian.event.internal.EventThreadPoolConfigurationImpl
 
getExecutor() - Method in class com.atlassian.event.internal.AbstractEventExecutorFactory
 
getExecutor() - Method in interface com.atlassian.event.spi.EventExecutorFactory
 
getInvokers(Object) - Method in class com.atlassian.event.internal.AnnotatedMethodsListenerHandler
 
getInvokers(Object) - Method in interface com.atlassian.event.spi.ListenerHandler
Retrieves the list of invokers for the given listener.
getKeepAliveTime() - Method in interface com.atlassian.event.config.EventThreadPoolConfiguration
 
getKeepAliveTime() - Method in class com.atlassian.event.internal.EventThreadPoolConfigurationImpl
 
getListenerHandlers() - Method in interface com.atlassian.event.config.ListenerHandlersConfiguration
 
getListenerHandlers() - Method in class com.atlassian.event.internal.ListenerHandlerConfigurationImpl
 
getMaximumPoolSize() - Method in interface com.atlassian.event.config.EventThreadPoolConfiguration
 
getMaximumPoolSize() - Method in class com.atlassian.event.internal.EventThreadPoolConfigurationImpl
 
getOrder() - Method in interface com.atlassian.event.spi.ListenerInvoker
See EventPublisher.publish(Object) for details on processing event order.
getQueue() - Method in class com.atlassian.event.internal.AbstractEventExecutorFactory
 
getQueue() - Method in class com.atlassian.event.internal.DirectEventExecutorFactory
 
getQueue() - Method in class com.atlassian.event.internal.UnboundedEventExecutorFactory
 
getRunnable(ListenerInvoker, Object) - Method in interface com.atlassian.event.spi.EventRunnableFactory
Returns a new Runnable.
getScope() - Method in interface com.atlassian.event.spi.ListenerInvoker
 
getSupportedEventTypes() - Method in interface com.atlassian.event.spi.ListenerInvoker
The types of events supported by this invoker.
getSynchronousExecutor() - Method in class com.atlassian.event.internal.AsynchronousAbleEventDispatcher
 
getTimeUnit() - Method in interface com.atlassian.event.config.EventThreadPoolConfiguration
 
getTimeUnit() - Method in class com.atlassian.event.internal.EventThreadPoolConfigurationImpl
 

I

invoke(Object) - Method in interface com.atlassian.event.spi.ListenerInvoker
Invokes the underlying listener for the given event.
InvokerTransformer - Interface in com.atlassian.event.internal
Transforms a collection of ListenerInvokers into another collection of ListenerInvokers before they are dispatched.
isAsynchronousEvent(Object) - Method in class com.atlassian.event.internal.AnnotationAsynchronousEventResolver
 
isAsynchronousEvent(Object) - Method in interface com.atlassian.event.internal.AsynchronousEventResolver
Tells whether the event can be handled asynchronously or not

L

ListenerHandler - Interface in com.atlassian.event.spi
Interface to find invokers for a given listener objects.
ListenerHandlerConfigurationImpl - Class in com.atlassian.event.internal
The default configuration that only uses the AnnotatedMethodsListenerHandler.
ListenerHandlerConfigurationImpl() - Constructor for class com.atlassian.event.internal.ListenerHandlerConfigurationImpl
 
ListenerHandlersConfiguration - Interface in com.atlassian.event.config
Specifies a listener handler configuration to use
ListenerInvoker - Interface in com.atlassian.event.spi
Implementation of this interface know how to invoke 'given types' of listeners so that they handle given events.

N

newThread(Runnable) - Method in class com.atlassian.event.internal.EventThreadFactory
 

O

order() - Element in annotation interface com.atlassian.event.api.EventListener
See EventPublisher.publish(Object) for details on processing event order.

P

publish(Object) - Method in interface com.atlassian.event.api.EventPublisher
Publish an event that will be consumed by all listeners which have registered to receive it.
publish(Object) - Method in class com.atlassian.event.internal.EventPublisherImpl
 

R

register(Object) - Method in interface com.atlassian.event.api.EventListenerRegistrar
Register a listener to receive events.
register(Object) - Method in class com.atlassian.event.internal.EventPublisherImpl
 

S

scope() - Element in annotation interface com.atlassian.event.api.EventListener
 
supportAsynchronousEvents() - Method in interface com.atlassian.event.spi.ListenerInvoker
Whether or not the underlying listener can handle asynchronous event.

T

transformAll(Iterable<ListenerInvoker>, Object) - Method in interface com.atlassian.event.internal.InvokerTransformer
Takes a collection of ListenerInvokers and returns a potentially transformed version of these.

U

UnboundedEventExecutorFactory - Class in com.atlassian.event.internal
Uses a LinkedBlockingQueue to hand off tasks to the Executor.
UnboundedEventExecutorFactory(EventThreadPoolConfiguration) - Constructor for class com.atlassian.event.internal.UnboundedEventExecutorFactory
 
UnboundedEventExecutorFactory(EventThreadPoolConfiguration, EventThreadFactory) - Constructor for class com.atlassian.event.internal.UnboundedEventExecutorFactory
 
unregister(Object) - Method in interface com.atlassian.event.api.EventListenerRegistrar
Un-register a listener so that it will no longer receive events.
unregister(Object) - Method in class com.atlassian.event.internal.EventPublisherImpl
 
unregisterAll() - Method in interface com.atlassian.event.api.EventListenerRegistrar
Un-register all listeners that this registrar knows about.
unregisterAll() - Method in class com.atlassian.event.internal.EventPublisherImpl
 
A C D E G I L N O P R S T U 
All Classes and Interfaces|All Packages