Improve Documentation in Code #24
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "f/improved-documentation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -74,0 +75,4 @@
private final Map<Class<?>, TreeSet<EventHandler>> bindings = new ConcurrentHashMap<>();
/**
* Registered listeners.
Stores all registered listeners. Additionally prevents them from being garbage collected.
@ -74,0 +82,4 @@
private final Set<Object> registeredListeners = ConcurrentHashMap.newKeySet();
/**
* Thread-local dispatch state.
The current event dispatching state for the current thread.
@ -4,3 +4,1 @@
* This runtime exception is thrown when an event bus error occurs. This can
* either occur while registering event listeners with invalid handlers, or when
* an event handler throws an exception.
* This unchecked exception is specific to the event bus and can be thrown under the following
I think it would be kinda funny to have an
EventBusException
thatcan be thrown under (the bus and) the following…
@ -7,0 +4,4 @@
* This unchecked exception is specific to the event bus and can be thrown under the following
* circumstances:
* <ul>
* <li>An event handler throws an exception (which is stores as the cause)</li>
it
Alternatively:
stored