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.cli.commands.heartbeat | |
org.appng.core.controller.messaging | |
org.appng.core.domain |
The persistent domain objects.
|
Modifier and Type | Interface and Description |
---|---|
interface |
EventHandler<E extends Event>
An event-handler is responsible for handling events of a certain type.
|
Modifier and Type | Method and Description |
---|---|
<E extends Event,H extends EventHandler<E>> |
EventRegistry.getHandlers(E event)
Retrieves a list of
EventHandler s that have been registered for the given type of Event . |
<E extends Event,H extends EventHandler<E>> |
EventRegistry.register(H handler)
Registers the given
EventHandler |
Modifier and Type | Method and Description |
---|---|
Event |
Serializer.deserialize(byte[] data)
Deserializes an
Event from the given data. |
Event |
Serializer.deserialize(InputStream data)
Deserializes an
Event from the given data. |
Modifier and Type | Method and Description |
---|---|
boolean |
Sender.send(Event event)
Sends the given
Event |
void |
Serializer.serialize(OutputStream out,
Event event)
Serializes the given
Event into the given OutputStream . |
Modifier and Type | Method and 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 default
EventHandler |
Modifier and Type | Method and Description |
---|---|
boolean |
Site.sendEvent(Event event)
If clustering is enabled, sends an
Event to other appNG nodes |
Modifier and Type | Class and Description |
---|---|
static class |
HeartBeat.HeartBeatEvent |
Modifier and Type | Class and Description |
---|---|
class |
NodeEvent
An
Event that holds informations about the current status of an node (system properties and
environment,memory usage, state of sites). |
class |
ReloadSiteEvent |
class |
RequestNodeState
|
class |
SiteStateEvent
|
Modifier and Type | Method and Description |
---|---|
boolean |
MulticastSender.send(Event event) |
boolean |
TribesSender.send(Event event) |
boolean |
JedisSender.send(Event event) |
boolean |
RabbitMQSender.send(Event event) |
Modifier and Type | Method and Description |
---|---|
boolean |
SiteImpl.sendEvent(Event event) |
Copyright © 2011–2018 aiticon GmbH. All rights reserved.