File tree Expand file tree Collapse file tree
src/main/java/re/tsuku/fastbus Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323import java .util .concurrent .atomic .AtomicLong ;
2424
2525/**
26- * a small typed event bus.
26+ * main event bus for subscribing listeners and posting events .
2727 *
2828 * <p>
29- * subscriptions are indexed by event type. posting uses a cached immutable handler snapshot for the concrete event
30- * class, so dispatch does not scan unrelated listeners.
29+ * listeners can be registered directly with {@link #subscribe(Class, Listener)} or discovered from an object with
30+ * {@link Subscribe} methods and fields using {@link #subscribe(Object)}.
31+ * </p>
32+ *
33+ * <p>
34+ * subscriptions are indexed by event type. posting uses cached immutable listener snapshots for the concrete event
35+ * class, so dispatch stays on the matching listener set.
3136 * </p>
3237 */
3338public final class FastBus {
You can’t perform that action at this time.
0 commit comments