public static class DiscoveryCacheEvents.DiscoveryCacheAddEventData extends Object
DiscoveryCacheEvents.EVENT_ENTITY_ADD
event type.Modifier and Type | Field and Description |
---|---|
IDiscoveryEntity |
newEntity
The new entity added to the cache.
|
IDiscoveryEntity |
oldEntity
The entity in the cache that the added entity replaced (if any).
|
Constructor and Description |
---|
DiscoveryCacheEvents.DiscoveryCacheAddEventData(IDiscoveryEntity oldEntity,
IDiscoveryEntity newEntity)
Constructor
|
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
public DiscoveryCacheEvents.DiscoveryCacheAddEventData(IDiscoveryEntity oldEntity, IDiscoveryEntity newEntity)
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.