Skip navigation links
A D E G H I P R S U X 

A

AcceptConcurrentEvents - Annotation Type in xyz.justblink.eventbus
When this annotation is added to a method, it implies that the EventBus may call this method from multiple threads and the method is made to be thread safe
AsyncEventBus - Class in xyz.justblink.eventbus
This EventBus expects a Executor of your choice to dispatch events.
AsyncEventBus(String, Executor) - Constructor for class xyz.justblink.eventbus.AsyncEventBus
Creates a new EventBus with the executor of your choice
AsyncEventBus(Executor, SubscriberExceptionHandler) - Constructor for class xyz.justblink.eventbus.AsyncEventBus
Creates a new EventBus with provided executor and SubscriberExceptionHandler
AsyncEventBus(Executor) - Constructor for class xyz.justblink.eventbus.AsyncEventBus
Creates a new EventBus with the executor of your choice

D

DeadEvent - Class in xyz.justblink.eventbus
This event is used to wrap event which are posted to bus and doesn't to have a corresponding subscriber method
Dispatcher - Class in xyz.justblink.eventbus
Handler for maintaining the order of events to be dispatched.
Dispatcher() - Constructor for class xyz.justblink.eventbus.Dispatcher
 

E

EventBus - Class in xyz.justblink.eventbus
This will dispatch event to its subscribers and provides a way to register objects themselves as subscribers.
EventBus() - Constructor for class xyz.justblink.eventbus.EventBus
Creates an EventBus named "default"
EventBus(String) - Constructor for class xyz.justblink.eventbus.EventBus
Creates a new EventBsus with identifier
EventBus(SubscriberExceptionHandler) - Constructor for class xyz.justblink.eventbus.EventBus
Creates a new EventBus with provided SubscriberExceptionHandler
EventBus(Dispatcher) - Constructor for class xyz.justblink.eventbus.EventBus
Creates a new EventBus with provided Dispatcher
EventBus(SubscriberExceptionHandler, Dispatcher) - Constructor for class xyz.justblink.eventbus.EventBus
Creates a new EventBus with provided SubscriberExceptionHandler and Dispatcher

G

getEvent() - Method in class xyz.justblink.eventbus.DeadEvent
Returns the event which has no registered subscribers in the event bus
getIdentifier() - Method in class xyz.justblink.eventbus.EventBus
 
getSource() - Method in class xyz.justblink.eventbus.DeadEvent
Returns the object that generated this event.

H

handle(Throwable, SubscriberExceptionContext) - Method in interface xyz.justblink.eventbus.SubscriberExceptionHandler
 

I

immediateDispatcher() - Static method in class xyz.justblink.eventbus.Dispatcher
Returns a dispatcher that dispatches events to subscribers immediately as they're posted without using an intermediate queue to change the dispatch order.

P

post(Object) - Method in class xyz.justblink.eventbus.EventBus
 

R

register(Object) - Method in class xyz.justblink.eventbus.EventBus
 

S

Subscribe - Annotation Type in xyz.justblink.eventbus
Used to mark a method as an event subscriber Make sure the method has one and only parameter which is the event to be subscribed to.
SubscriberExceptionHandler - Interface in xyz.justblink.eventbus
Handler for exceptions thrown by the subscriber method

U

unregister(Object) - Method in class xyz.justblink.eventbus.EventBus
 

X

xyz.justblink.eventbus - package xyz.justblink.eventbus
 
A D E G H I P R S U X 
Skip navigation links

Copyright © 2019. All rights reserved.