Update events javadoc again
This commit is contained in:
parent
dba856281f
commit
4592fa0828
2 changed files with 5 additions and 3 deletions
|
@ -187,6 +187,7 @@ public final class EngineConfiguration implements SubsystemConfiguration {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If enabled, will makes the {@link Logger} work asynchronous.
|
* If enabled, will makes the {@link Logger} work asynchronous.
|
||||||
|
* Don't disable unless you want your application to run <b>extremely</b> slowly.
|
||||||
*
|
*
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*
|
*
|
||||||
|
@ -201,6 +202,7 @@ public final class EngineConfiguration implements SubsystemConfiguration {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If enabled, allows for {@link java.util.EventListener} precomputation.
|
* If enabled, allows for {@link java.util.EventListener} precomputation.
|
||||||
|
* Don't disable unless you want your application to run slowly.
|
||||||
*
|
*
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*
|
*
|
||||||
|
|
|
@ -108,7 +108,7 @@ public class EventHelper {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns all annotated methods.
|
* Returns all matching event listeners.
|
||||||
*
|
*
|
||||||
* @param clazz event class
|
* @param clazz event class
|
||||||
* @return list of annotated methods
|
* @return list of annotated methods
|
||||||
|
@ -120,7 +120,7 @@ public class EventHelper {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Invokes all annotated methods without any arguments.
|
* Invokes all matching event listeners without any arguments.
|
||||||
*
|
*
|
||||||
* @param clazz event class
|
* @param clazz event class
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
|
@ -139,7 +139,7 @@ public class EventHelper {
|
||||||
* Precomputes all event listeners listening on some event.
|
* Precomputes all event listeners listening on some event.
|
||||||
* Will recompute all event listeners if the specified event is already cached.
|
* Will recompute all event listeners if the specified event is already cached.
|
||||||
*
|
*
|
||||||
* @param clazz event class to (p)recompute, set to {@code null} to recompute all cached events
|
* @param clazz event listeners to (p)recompute, set to {@code null} to recompute all cached events
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
public static void precomputeEventListeners(@Nullable Class<? extends Event> clazz) {
|
public static void precomputeEventListeners(@Nullable Class<? extends Event> clazz) {
|
||||||
|
|
Loading…
Reference in a new issue