|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neeve.discovery.DiscoveryCacheEvents
public final class DiscoveryCacheEvents
Class containing discovery cache event definitions.
This class contains event type and associated structure definitions for events dispatched by a discovery cache.
Nested Class Summary | |
---|---|
static class |
DiscoveryCacheEvents.DiscoveryCacheAddEventData
Data object for the EVENT_ENTITY_ADD event type. |
static class |
DiscoveryCacheEvents.DiscoveryCacheRemoveEventData
Data object for the EVENT_ENTITY_REMOVE event type. |
static class |
DiscoveryCacheEvents.EntityRemovalCause
Enumerate the possible reasons for removal of an entity from a cache. |
Field Summary | |
---|---|
static int |
EVENT_ENTITY_ADD
Indicates that a new entity has been added to the discovery cache. |
static int |
EVENT_ENTITY_REMOVE
Indicates that an entity has been removed from the discovery cache. |
Constructor Summary | |
---|---|
DiscoveryCacheEvents()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int EVENT_ENTITY_ADD
This event is dispatched by a discovery cache when a new entity is
added to the cache or an entity is replaced in the cache. The event
data for this event is a DiscoveryCacheEvents.DiscoveryCacheAddEventData
object.
public static final int EVENT_ENTITY_REMOVE
This event is dispatched by a discovery cache when an entity is
removed from the cache. The removal could be either due to explicit
removal by the user or due to entity expiry. The event data for this
event is a DiscoveryCacheEvents.DiscoveryCacheRemoveEventData
object.
Constructor Detail |
---|
public DiscoveryCacheEvents()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |