|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neeve.discovery.DiscoveryCacheEvents.DiscoveryCacheAddEventData
public static class DiscoveryCacheEvents.DiscoveryCacheAddEventData
Data object for the DiscoveryCacheEvents.EVENT_ENTITY_ADD
event type.
Field Summary | |
---|---|
IDiscoveryEntity |
newEntity
The new entity added to the cache. |
IDiscoveryEntity |
oldEntity
The entity in the cache that the added entity replaced (if any). |
Constructor Summary | |
---|---|
DiscoveryCacheEvents.DiscoveryCacheAddEventData(IDiscoveryEntity oldEntity,
IDiscoveryEntity newEntity)
Constructor |
Method Summary | |
---|---|
String |
toString()
Get a string representation of the object |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final IDiscoveryEntity oldEntity
This field contains the entity in the cache that the added entity replaced. It is null in case the new entity was added to the cache fresh.
public final IDiscoveryEntity newEntity
Constructor Detail |
---|
public DiscoveryCacheEvents.DiscoveryCacheAddEventData(IDiscoveryEntity oldEntity, IDiscoveryEntity newEntity)
Method Detail |
---|
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |