Skip navigation links
A C D E F H I K N O R S T U V W 

A

Any - Static variable in annotation type org.gcube.common.events.Observes
 

C

configure(Hub) - Static method in class org.gcube.common.events.utils.HubFactory
Sets the shared Hub instance, overriding the default one.
containsVariable(Type) - Static method in class org.gcube.common.events.impl.ReflectionUtils
 

D

DefaultHub - Class in org.gcube.common.events.impl
Default Hub implementation.
DefaultHub() - Constructor for class org.gcube.common.events.impl.DefaultHub
 
DefaultHub(ExecutorService) - Constructor for class org.gcube.common.events.impl.DefaultHub
 

E

elementTypeOf(Type) - Static method in class org.gcube.common.events.impl.ReflectionUtils
 
equals(Object) - Method in class org.gcube.common.events.impl.Observer
 
Event<T> - Class in org.gcube.common.events.impl
Event wrapper that captures the parametric type of events.
Event(T) - Constructor for class org.gcube.common.events.impl.Event
 

F

fire(Object, String...) - Method in interface org.gcube.common.events.Hub
Fires an event to all observers which have subscribed for them, blocking the client until all the critical observers have executed.
fire(Object, String...) - Method in class org.gcube.common.events.impl.DefaultHub
 

H

hashCode() - Method in class org.gcube.common.events.impl.Observer
 
Hub - Interface in org.gcube.common.events
Mediates between producers and observers of events.
hub() - Static method in class org.gcube.common.events.utils.HubFactory
Returns the shared Hub instance.
HubFactory - Class in org.gcube.common.events.utils
Convenience factory to share Hub instances.
HubFactory() - Constructor for class org.gcube.common.events.utils.HubFactory
 

I

isCollectionType(Type) - Static method in class org.gcube.common.events.impl.ReflectionUtils
 

K

key() - Method in class org.gcube.common.events.impl.Observer
 
kind() - Method in class org.gcube.common.events.impl.Observer
 

N

notEmpty(String, String) - Static method in class org.gcube.common.events.impl.Utils
 
notNull(Object) - Static method in class org.gcube.common.events.impl.Utils
 
notNull(String, Object) - Static method in class org.gcube.common.events.impl.Utils
 

O

Observer - Class in org.gcube.common.events.impl
Used internally to wrap arbitrary objects subscribed as observers.
observerMethodsOf(Object) - Static method in class org.gcube.common.events.impl.Observer
 
observersFor(Object, ExecutorService) - Static method in class org.gcube.common.events.impl.Observer
 
Observes - Annotation Type in org.gcube.common.events
Identifies callback methods in event observers.
Observes.Kind - Enum in org.gcube.common.events
The kind of the observer, critical, safe, or resilient.
onEvent(Object) - Method in class org.gcube.common.events.impl.Observer
 
onEventDelayed(Object) - Method in class org.gcube.common.events.impl.Observer
 
onEventImmediate(Object) - Method in class org.gcube.common.events.impl.Observer
 
org.gcube.common.events - package org.gcube.common.events
 
org.gcube.common.events.impl - package org.gcube.common.events.impl
 
org.gcube.common.events.utils - package org.gcube.common.events.utils
 

R

ReflectionUtils - Class in org.gcube.common.events.impl
Library-wide reflection utilities.
ReflectionUtils() - Constructor for class org.gcube.common.events.impl.ReflectionUtils
 

S

stop() - Method in interface org.gcube.common.events.Hub
Signals that this hub is no longer needed and can release its resources.
stop() - Method in class org.gcube.common.events.impl.DefaultHub
 
subscribe(Object) - Method in interface org.gcube.common.events.Hub
Subscribes an observer for notification of events of a given type.
subscribe(Object) - Method in class org.gcube.common.events.impl.DefaultHub
 

T

typeOf(Object) - Static method in class org.gcube.common.events.impl.ReflectionUtils
 

U

unsubscribe(Object) - Method in interface org.gcube.common.events.Hub
Unsubscribes an observer.
unsubscribe(Object) - Method in class org.gcube.common.events.impl.DefaultHub
 
Utils - Class in org.gcube.common.events.impl
Library-wide utilities.
Utils() - Constructor for class org.gcube.common.events.impl.Utils
 

V

valid(String, String) - Static method in class org.gcube.common.events.impl.Utils
 
valid(String, Collection<String>) - Static method in class org.gcube.common.events.impl.Utils
 
valid(String, String[]) - Static method in class org.gcube.common.events.impl.Utils
 
valueOf(Object) - Static method in class org.gcube.common.events.impl.ReflectionUtils
 
valueOf(String) - Static method in enum org.gcube.common.events.Observes.Kind
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.gcube.common.events.Observes.Kind
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitFor(Class<?>) - Method in interface org.gcube.common.events.Hub
Blocks the caller until an event of a given type occurs.
waitFor(Class<?>, long, TimeUnit) - Method in interface org.gcube.common.events.Hub
Blocks the caller until an event of a given type occurs or a given length of time elapses.
waitFor(Class<?>) - Method in class org.gcube.common.events.impl.DefaultHub
 
waitFor(Class<?>, long, TimeUnit) - Method in class org.gcube.common.events.impl.DefaultHub
 
A C D E F H I K N O R S T U V W 
Skip navigation links

Copyright © 2020. All Rights Reserved.