| Package | Description |
|---|---|
| org.gridgain.grid.events |
Contains Event Subscription functionality together with various events emitted by GridGain.
|
| org.gridgain.grid.kernal |
Contains main implementation.
|
| org.gridgain.grid.kernal.managers.eventstorage |
TODO.
|
| org.gridgain.grid.spi |
Contains common classes and interfaces for SPI implementations.
|
| org.gridgain.grid.spi.eventstorage |
Contains APIs for event storage SPI.
|
| org.gridgain.grid.spi.eventstorage.memory |
Contains default in-memory implementation for event storage SPI.
|
| org.gridgain.grid.util.lang |
| Modifier and Type | Class and Description |
|---|---|
class |
GridAuthenticationEvent
Grid authentication event.
|
class |
GridAuthorizationEvent
Grid authorization event.
|
class |
GridCacheEvent
In-memory database (cache) event.
|
class |
GridCachePreloadingEvent
In-memory database (cache) preloading event.
|
class |
GridCheckpointEvent
Grid checkpoint event.
|
class |
GridDeploymentEvent
Grid deployment event.
|
class |
GridDiscoveryEvent
Grid discovery event.
|
class |
GridEventAdapter
Base adapter for the events.
|
class |
GridGgfsEvent
GGFS event.
|
class |
GridJobEvent
Grid job event.
|
class |
GridLicenseEvent
Grid license event.
|
class |
GridSecureSessionEvent
Grid secure session validation event.
|
class |
GridSwapSpaceEvent
Grid swap space event.
|
class |
GridTaskEvent
Grid task event.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends GridEvent> |
GridEvents.localQuery(GridPredicate<T> p,
int... types)
Queries local node for events using passed-in predicate filter for event selection.
|
<T extends GridEvent> |
GridEvents.remoteListen(GridBiPredicate<UUID,T> locLsnr,
GridPredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the projection (possibly including
local node if it belongs to the projection as well).
|
<T extends GridEvent> |
GridEvents.remoteListen(int bufSize,
long interval,
boolean autoUnsubscribe,
GridBiPredicate<UUID,T> locLsnr,
GridPredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the projection (possibly including
local node if it belongs to the projection as well).
|
<T extends GridEvent> |
GridEvents.remoteQuery(GridPredicate<T> p,
long timeout,
int... types)
Asynchronously queries nodes in this projection for events using passed in predicate filter for event
selection.
|
<T extends GridEvent> |
GridEvents.waitForLocal(GridPredicate<T> filter,
int... types)
Gets event future that allows for asynchronous waiting for the specified events.
|
| Modifier and Type | Method and Description |
|---|---|
int |
GridEventAdapter.compareTo(GridEvent o) |
void |
GridEvents.recordLocal(GridEvent evt)
Records customer user generated event.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridEvents.localListen(GridPredicate<? extends GridEvent> lsnr,
int... types)
Adds an event listener for local events.
|
boolean |
GridEvents.stopLocalListen(GridPredicate<? extends GridEvent> lsnr,
int... types)
Removes local event listener.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends GridEvent> |
GridEventsImpl.localQuery(GridPredicate<T> p,
int... types)
Queries local node for events using passed-in predicate filter for event selection.
|
<T extends GridEvent> |
GridEventsImpl.remoteListen(GridBiPredicate<UUID,T> locLsnr,
GridPredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the projection (possibly including
local node if it belongs to the projection as well).
|
<T extends GridEvent> |
GridEventsImpl.remoteListen(int bufSize,
long interval,
boolean autoUnsubscribe,
GridBiPredicate<UUID,T> locLsnr,
GridPredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the projection (possibly including
local node if it belongs to the projection as well).
|
<T extends GridEvent> |
GridEventsImpl.remoteQuery(GridPredicate<T> p,
long timeout,
int... types)
Asynchronously queries nodes in this projection for events using passed in predicate filter for event
selection.
|
<T extends GridEvent> |
GridEventsImpl.waitForLocal(GridPredicate<T> filter,
int... types)
Gets event future that allows for asynchronous waiting for the specified events.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridEventsImpl.recordLocal(GridEvent evt)
Records customer user generated event.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridEventsImpl.localListen(GridPredicate<? extends GridEvent> lsnr,
int[] types)
Adds an event listener for local events.
|
boolean |
GridEventsImpl.stopLocalListen(GridPredicate<? extends GridEvent> lsnr,
int... types)
Removes local event listener.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends GridEvent> |
GridEventStorageManager.localEvents(GridPredicate<T> p) |
<T extends GridEvent> |
GridEventStorageManager.remoteEventsAsync(GridPredicate<T> p,
Collection<? extends GridNode> nodes,
long timeout) |
<T extends GridEvent> |
GridEventStorageManager.waitForEvent(GridPredicate<T> p,
int... types) |
| Modifier and Type | Method and Description |
|---|---|
GridEvent |
GridEventStorageManager.waitForEvent(long timeout,
Runnable c,
GridPredicate<? super GridEvent> p,
int... types) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridLocalEventListener.onEvent(GridEvent evt)
Local event callback.
|
void |
GridEventStorageManager.record(GridEvent evt)
Records event if it's recordable.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridEventStorageManager.addLocalEventListener(GridPredicate<? extends GridEvent> lsnr,
int[] types)
Adds local user event listener.
|
boolean |
GridEventStorageManager.removeLocalEventListener(GridPredicate<? extends GridEvent> lsnr,
int... types)
Removes user listener for specified events, if any.
|
GridEvent |
GridEventStorageManager.waitForEvent(long timeout,
Runnable c,
GridPredicate<? super GridEvent> p,
int... types) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridSpiContext.recordEvent(GridEvent evt)
Records local event.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends GridEvent> |
GridEventStorageSpi.localEvents(GridPredicate<T> p)
Queries locally-stored events only.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridEventStorageSpi.record(GridEvent evt)
Records single event.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends GridEvent> |
GridMemoryEventStorageSpi.localEvents(GridPredicate<T> p)
Queries locally-stored events only.
|
| Modifier and Type | Method and Description |
|---|---|
GridPredicate<GridEvent> |
GridMemoryEventStorageSpi.getFilter()
Gets filter for events to be recorded.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridMemoryEventStorageSpi.record(GridEvent evt)
Records single event.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridMemoryEventStorageSpi.setFilter(GridPredicate<GridEvent> filter)
Sets filter for events to be recorded.
|
| Modifier and Type | Method and Description |
|---|---|
static GridPredicate<GridEvent> |
GridFunc.eventAfter(long tstamp)
Gets event predicate that returns
true only if event was produced
after given timestamp. |
static GridPredicate<GridEvent> |
GridFunc.eventId(GridUuid... ids)
Gets event predicate that returns
true only if event id is one of the given. |
static GridPredicate<GridEvent> |
GridFunc.eventNode(Collection<? extends GridNode> nodes)
Gets event predicate that returns
true only if node that produced the event
is one of the given. |
static GridPredicate<GridEvent> |
GridFunc.eventNode(String gridName,
GridPredicate<GridNode>... p)
Gets event predicate that returns
true only if node that produced the event
satisfies all given predicates. |
static GridPredicate<GridEvent> |
GridFunc.eventNodeId(UUID... nodeIds)
Gets event predicate that returns
true only if event was produced on one of
given nodes (specified by ids). |
static GridPredicate<GridEvent> |
GridFunc.eventType(int... types)
Gets event predicate that returns
true only if event type is one of the given. |
Copyright © 2014. All rights reserved.