| Modifier and Type | Class and Description |
|---|---|
static class |
Handlers.EventHandler
An event handler.
|
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Function<Method,Handler> |
Handlers.handlerBuilder(String identifier,
com.google.common.base.Function<? super Method,? extends Executor> deliveryExecutor,
com.google.common.base.Predicate<? super Method> batchDelivery)
Creates a handler factory.
|
static com.google.common.cache.LoadingCache<Class<?>,Set<Handler>> |
Handlers.newHandlerCache(com.google.common.base.Predicate<? super Method> isHandler,
com.google.common.base.Function<? super Method,Handler> builder)
Creates a new event
Handler cache. |
protected Set<Handler> |
EventBus.newHandlerSet()
Provides a new empty set for handlers.
|
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.cache.LoadingCache<Class<?>,Set<Handler>> |
Handlers.newHandlerCache(com.google.common.base.Predicate<? super Method> isHandler,
com.google.common.base.Function<? super Method,Handler> builder)
Creates a new event
Handler cache. |
| Constructor and Description |
|---|
EventBus(com.google.common.base.Function<? super Method,Handler> handlerBuilder,
Executor dispatcher)
Creates this.
|
EventBus(com.google.common.base.Predicate<? super Method> isHandler,
com.google.common.base.Function<? super Method,Handler> handlerBuilder,
Executor dispatcher)
Creates this.
|
Copyright © 2013. All Rights Reserved.