Uses of Class
org.appng.api.messaging.Event
-
Packages that use Event Package Description org.appng.api.messaging org.appng.api.model Provides an interface-based view to the domain model of appNG and some very basic interfaces.org.appng.appngizer.controller org.appng.cli.commands.heartbeat org.appng.core.controller.messaging org.appng.core.domain The persistent domain objects. -
-
Uses of Event in org.appng.api.messaging
Classes in org.appng.api.messaging with type parameters of type Event Modifier and Type Interface Description interface
EventHandler<E extends Event>
An event-handler is responsible for handling events of a certain type.Methods in org.appng.api.messaging with type parameters of type Event Modifier and Type Method Description <E extends Event,H extends EventHandler<E>>
List<H>EventRegistry. getHandlers(E event)
Retrieves a list ofEventHandler
s that have been registered for the given type ofEvent
.<E extends Event,H extends EventHandler<E>>
voidEventRegistry. register(H handler)
Registers the givenEventHandler
Methods in org.appng.api.messaging that return Event Modifier and Type Method Description Event
Serializer. deserialize(byte[] data)
Deserializes anEvent
from the given data.Event
Serializer. deserialize(InputStream data)
Deserializes anEvent
from the given data.Methods in org.appng.api.messaging with parameters of type Event Modifier and Type Method Description boolean
Sender. send(Event event)
Sends the givenEvent
void
Serializer. serialize(OutputStream out, Event event)
Serializes the givenEvent
into the givenOutputStream
.Method parameters in org.appng.api.messaging with type arguments of type Event Modifier and Type Method Description static Sender
Messaging. createMessageSender(Environment env, ExecutorService executor, String nodeId, EventHandler<? extends Event> defaultHandler, Iterable<EventHandler<? extends Event>> handlers)
static Sender
Messaging. createMessageSender(Environment env, ExecutorService executor, String nodeId, EventHandler<? extends Event> defaultHandler, Iterable<EventHandler<? extends Event>> handlers)
void
EventRegistry. setDefaultHandler(EventHandler<? extends Event> defaultHandler)
Set the defaultEventHandler
-
Uses of Event in org.appng.api.model
Methods in org.appng.api.model with parameters of type Event Modifier and Type Method Description boolean
Site. sendEvent(Event event)
If clustering is enabled, sends anEvent
to other appNG nodes -
Uses of Event in org.appng.appngizer.controller
Subclasses of Event in org.appng.appngizer.controller Modifier and Type Class Description static class
SiteController.ReloadSiteFromAppNGizer
-
Uses of Event in org.appng.cli.commands.heartbeat
Subclasses of Event in org.appng.cli.commands.heartbeat Modifier and Type Class Description static class
HeartBeat.HeartBeatEvent
-
Uses of Event in org.appng.core.controller.messaging
Subclasses of Event in org.appng.core.controller.messaging Modifier and Type Class Description class
NodeEvent
AnEvent
that holds information about the current status of an node (system properties and environment,memory usage, state of sites).class
ReloadSiteEvent
class
ReloadTemplateEvent
class
RequestNodeState
class
SiteDeletedEvent
An event to be fired when aSite
has been deleted.class
SiteStateEvent
class
StopSiteEvent
Methods in org.appng.core.controller.messaging with parameters of type Event Modifier and Type Method Description boolean
HazelcastSender. send(Event event)
boolean
JedisSender. send(Event event)
boolean
MulticastSender. send(Event event)
boolean
RabbitMQSender. send(Event event)
boolean
TribesSender. send(Event event)
-
Uses of Event in org.appng.core.domain
Methods in org.appng.core.domain with parameters of type Event Modifier and Type Method Description boolean
SiteImpl. sendEvent(Event event)
-