Uses of Enum Class
org.gcube.informationsystem.resourceregistry.cluster.ClusterEventType
Packages that use ClusterEventType
-
Uses of ClusterEventType in org.gcube.informationsystem.resourceregistry.cluster
Methods in org.gcube.informationsystem.resourceregistry.cluster that return ClusterEventTypeModifier and TypeMethodDescriptionClusterEvent.getEventType()Returns the kind of event.static ClusterEventTypeReturns the enum constant of this class with the specified name.static ClusterEventType[]ClusterEventType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.gcube.informationsystem.resourceregistry.cluster with parameters of type ClusterEventTypeModifier and TypeMethodDescriptionvoidClusterEventBus.publish(ClusterEventType eventType, String payload) Emits an event to every instance, this one included: local consumers are invoked synchronously before the remote channels are written, so the emitting instance never has to wait for a network round trip to see the effect of its own change.voidClusterEventBus.subscribe(ClusterEventType eventType, Consumer<ClusterEvent> consumer) Registers a consumer for one kind of event.Constructors in org.gcube.informationsystem.resourceregistry.cluster with parameters of type ClusterEventTypeModifierConstructorDescriptionClusterEvent(UUID eventId, ClusterEventType eventType, String payload, String originId, long timestamp) Creates an event with every field supplied explicitly.