Index

A C D E H I L M N P R S T U V 
All Classes and Interfaces|All Packages|Serialized Form

A

AbstractCancellableEvent - Class in com.cotani.event.cancellable
Base implementation for cancellable events.
AbstractCancellableEvent() - Constructor for class com.cotani.event.cancellable.AbstractCancellableEvent
 
active() - Method in class com.cotani.event.subscription.DefaultEventSubscription
 
active() - Method in interface com.cotani.event.subscription.EventSubscription
 
add(EventSubscription) - Method in class com.cotani.event.subscription.CompositeEventSubscription
 

C

cancel() - Method in class com.cotani.event.cancellable.AbstractCancellableEvent
 
cancel() - Method in interface com.cotani.event.cancellable.CancellableEvent
 
CancellableEvent - Interface in com.cotani.event.cancellable
Represents an event that can prevent an action from continuing.
cancelled() - Method in class com.cotani.event.cancellable.AbstractCancellableEvent
 
cancelled() - Method in interface com.cotani.event.cancellable.CancellableEvent
 
clear() - Method in interface com.cotani.event.api.EventBus
 
clear() - Method in class com.cotani.event.bus.DefaultEventBus
 
clear() - Method in class com.cotani.event.registry.DefaultEventRegistry
 
clear() - Method in interface com.cotani.event.registry.EventRegistry
 
close() - Method in interface com.cotani.event.api.EventBus
 
close() - Method in class com.cotani.event.bus.DefaultEventBus
 
close() - Method in class com.cotani.event.subscription.CompositeEventSubscription
 
com.cotani.event - package com.cotani.event
 
com.cotani.event.api - package com.cotani.event.api
 
com.cotani.event.bus - package com.cotani.event.bus
 
com.cotani.event.cancellable - package com.cotani.event.cancellable
 
com.cotani.event.dispatcher - package com.cotani.event.dispatcher
 
com.cotani.event.exception - package com.cotani.event.exception
 
com.cotani.event.registry - package com.cotani.event.registry
 
com.cotani.event.subscription - package com.cotani.event.subscription
 
CompositeEventSubscription - Class in com.cotani.event.subscription
 
CompositeEventSubscription() - Constructor for class com.cotani.event.subscription.CompositeEventSubscription
 
CotaniEvent - Interface in com.cotani.event.api
Marker interface for all Cotani domain events.
CotaniEvents - Class in com.cotani.event
Entrypoint factory for the cotani-event module.
create(EventExceptionHandler, Executor) - Static method in class com.cotani.event.bus.DefaultEventBus
 
create(EventExceptionHandler, Executor, EventDispatchPolicy) - Static method in class com.cotani.event.bus.DefaultEventBus
 
create(EventRegistry, EventDispatcher, Executor) - Static method in class com.cotani.event.bus.DefaultEventBus
 
create(Class, EventPriority, boolean, EventListener) - Static method in class com.cotani.event.subscription.DefaultEventSubscription
 
create(Class, EventPriority, boolean, EventListener, Runnable) - Static method in class com.cotani.event.subscription.DefaultEventSubscription
 
create(Class, EventPriority, EventListener) - Static method in class com.cotani.event.subscription.DefaultEventSubscription
 
create(Plugin) - Static method in class com.cotani.event.CotaniEvents
Creates an EventBus instance for the given plugin.
create(Plugin, Executor) - Static method in class com.cotani.event.CotaniEvents
Creates an EventBus instance with a custom async executor.
createOwning(EventExceptionHandler, ExecutorService) - Static method in class com.cotani.event.bus.DefaultEventBus
Creates a bus that owns the given async executor.
createOwning(EventExceptionHandler, ExecutorService, EventDispatchPolicy) - Static method in class com.cotani.event.bus.DefaultEventBus
Creates a bus that owns the given async executor with a custom dispatch policy.

D

DefaultEventBus - Class in com.cotani.event.bus
 
DefaultEventDispatcher - Class in com.cotani.event.dispatcher
 
DefaultEventDispatcher(EventExceptionHandler) - Constructor for class com.cotani.event.dispatcher.DefaultEventDispatcher
 
DefaultEventDispatcher(EventExceptionHandler, Executor, EventDispatchPolicy) - Constructor for class com.cotani.event.dispatcher.DefaultEventDispatcher
 
DefaultEventRegistry - Class in com.cotani.event.registry
 
DefaultEventRegistry() - Constructor for class com.cotani.event.registry.DefaultEventRegistry
 
DefaultEventSubscription - Class in com.cotani.event.subscription
 
DefaultEventSubscription(UUID, Class, EventPriority, boolean, EventListener) - Constructor for class com.cotani.event.subscription.DefaultEventSubscription
 
DefaultEventSubscription(UUID, Class, EventPriority, boolean, EventListener, Runnable) - Constructor for class com.cotani.event.subscription.DefaultEventSubscription
 
DefaultEventSubscription(UUID, Class, EventPriority, EventListener) - Constructor for class com.cotani.event.subscription.DefaultEventSubscription
 
defaults() - Static method in record class com.cotani.event.api.EventDispatchPolicy
 
dispatch(T, List) - Method in class com.cotani.event.dispatcher.DefaultEventDispatcher
 
dispatch(T, List) - Method in interface com.cotani.event.dispatcher.EventDispatcher
 
dispatchAsync(T, List) - Method in class com.cotani.event.dispatcher.DefaultEventDispatcher
 
dispatchAsync(T, List) - Method in interface com.cotani.event.dispatcher.EventDispatcher
 

E

equals(Object) - Method in record class com.cotani.event.api.EventDispatchPolicy
Indicates whether some other object is "equal to" this one.
event() - Method in exception class com.cotani.event.exception.EventListenerException
 
EventBus - Interface in com.cotani.event.api
 
EventDispatcher - Interface in com.cotani.event.dispatcher
 
EventDispatchPolicy - Record Class in com.cotani.event.api
Guardrails for isolated asynchronous listener dispatch.
EventDispatchPolicy(Duration, boolean) - Constructor for record class com.cotani.event.api.EventDispatchPolicy
Creates an instance of a EventDispatchPolicy record class.
EventExceptionHandler - Interface in com.cotani.event.exception
 
EventListener<T> - Interface in com.cotani.event.api
 
EventListenerException - Exception Class in com.cotani.event.exception
 
EventListenerException(CotaniEvent, EventSubscription, Throwable) - Constructor for exception class com.cotani.event.exception.EventListenerException
 
EventPriority - Enum Class in com.cotani.event.api
Listener execution order.
EventRegistry - Interface in com.cotani.event.registry
 
EventSubscription - Interface in com.cotani.event.subscription
 
eventType() - Method in class com.cotani.event.subscription.DefaultEventSubscription
 
eventType() - Method in interface com.cotani.event.subscription.EventSubscription
 

H

handle(EventListenerException) - Method in interface com.cotani.event.exception.EventExceptionHandler
 
handle(EventListenerException) - Method in class com.cotani.event.exception.LoggingEventExceptionHandler
 
handle(T) - Method in interface com.cotani.event.api.EventListener
 
hashCode() - Method in record class com.cotani.event.api.EventDispatchPolicy
Returns a hash code value for this object.
HIGH - Enum constant in enum class com.cotani.event.api.EventPriority
 
HIGHEST - Enum constant in enum class com.cotani.event.api.EventPriority
 

I

id() - Method in class com.cotani.event.subscription.DefaultEventSubscription
 
id() - Method in interface com.cotani.event.subscription.EventSubscription
 
ignoreCancelled() - Method in class com.cotani.event.subscription.DefaultEventSubscription
 
ignoreCancelled() - Method in interface com.cotani.event.subscription.EventSubscription
Whether this subscription should ignore events that have already been cancelled.

L

listener() - Method in class com.cotani.event.subscription.DefaultEventSubscription
 
listener() - Method in interface com.cotani.event.subscription.EventSubscription
 
listenerTimeout() - Method in record class com.cotani.event.api.EventDispatchPolicy
Returns the value of the listenerTimeout record component.
LoggingEventExceptionHandler - Class in com.cotani.event.exception
 
LoggingEventExceptionHandler(Logger) - Constructor for class com.cotani.event.exception.LoggingEventExceptionHandler
 
LOW - Enum constant in enum class com.cotani.event.api.EventPriority
 
LOWEST - Enum constant in enum class com.cotani.event.api.EventPriority
 

M

MONITOR - Enum constant in enum class com.cotani.event.api.EventPriority
 

N

NORMAL - Enum constant in enum class com.cotani.event.api.EventPriority
 

P

priority() - Method in class com.cotani.event.subscription.DefaultEventSubscription
 
priority() - Method in interface com.cotani.event.subscription.EventSubscription
 
publish(T) - Method in interface com.cotani.event.api.EventBus
Publishes on the calling thread and returns the same event after dispatch.
publish(T) - Method in class com.cotani.event.bus.DefaultEventBus
 
publishAsync(T) - Method in interface com.cotani.event.api.EventBus
Publishes on the executor supplied to the event bus.
publishAsync(T) - Method in class com.cotani.event.bus.DefaultEventBus
 

R

register(EventSubscription) - Method in class com.cotani.event.registry.DefaultEventRegistry
 
register(EventSubscription) - Method in interface com.cotani.event.registry.EventRegistry
 
remove(EventSubscription) - Method in class com.cotani.event.subscription.CompositeEventSubscription
 
removeInactive() - Method in class com.cotani.event.registry.DefaultEventRegistry
 
removeInactive() - Method in interface com.cotani.event.registry.EventRegistry
 

S

size() - Method in class com.cotani.event.subscription.CompositeEventSubscription
 
subscribe(Class, boolean, EventListener) - Method in interface com.cotani.event.api.EventBus
 
subscribe(Class, EventListener) - Method in interface com.cotani.event.api.EventBus
 
subscribe(Class, EventListener) - Method in class com.cotani.event.bus.DefaultEventBus
 
subscribe(Class, EventPriority, boolean, EventListener) - Method in interface com.cotani.event.api.EventBus
 
subscribe(Class, EventPriority, boolean, EventListener) - Method in class com.cotani.event.bus.DefaultEventBus
 
subscribe(Class, EventPriority, EventListener) - Method in interface com.cotani.event.api.EventBus
 
subscribe(Class, EventPriority, EventListener) - Method in class com.cotani.event.bus.DefaultEventBus
 
subscription() - Method in exception class com.cotani.event.exception.EventListenerException
 
subscriptionsFor(CotaniEvent) - Method in class com.cotani.event.registry.DefaultEventRegistry
 
subscriptionsFor(CotaniEvent) - Method in interface com.cotani.event.registry.EventRegistry
 

T

toString() - Method in record class com.cotani.event.api.EventDispatchPolicy
Returns a string representation of this record class.

U

uncancel() - Method in class com.cotani.event.cancellable.AbstractCancellableEvent
 
uncancel() - Method in interface com.cotani.event.cancellable.CancellableEvent
 
unregister(EventSubscription) - Method in class com.cotani.event.registry.DefaultEventRegistry
 
unregister(EventSubscription) - Method in interface com.cotani.event.registry.EventRegistry
 
unsubscribe() - Method in class com.cotani.event.subscription.DefaultEventSubscription
 
unsubscribe() - Method in interface com.cotani.event.subscription.EventSubscription
 
unsubscribe(EventSubscription) - Method in interface com.cotani.event.api.EventBus
 
unsubscribe(EventSubscription) - Method in class com.cotani.event.bus.DefaultEventBus
 
unsubscribeAll() - Method in class com.cotani.event.subscription.CompositeEventSubscription
 
unsubscribeOnTimeout() - Method in record class com.cotani.event.api.EventDispatchPolicy
Returns the value of the unsubscribeOnTimeout record component.
usingJavaLogger() - Static method in class com.cotani.event.exception.LoggingEventExceptionHandler
 

V

valueOf(String) - Static method in enum class com.cotani.event.api.EventPriority
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.cotani.event.api.EventPriority
Returns an array containing the constants of this enum class, in the order they are declared.
A C D E H I L M N P R S T U V 
All Classes and Interfaces|All Packages|Serialized Form