public interface CdcEvent extends Serializable
CdcMain
,
CdcConsumer
Modifier and Type | Method and Description |
---|---|
int |
cacheId() |
long |
expireTime() |
Object |
key() |
int |
partition()
Ignite split dataset into smaller chunks to distribute them across the cluster.
|
boolean |
primary() |
@Nullable Object |
value() |
CacheEntryVersion |
version() |
Object key()
@Nullable @Nullable Object value()
null
in case of entry removal.boolean primary()
True
if event fired on primary node for partition containing this entry.int partition()
CdcConsumer
implementations can use partition()
to split changes processing
in the same way as it done for the cache.Affinity.partition(Object)
,
Affinity.partitions()
,
Data partitioning,
Affinity collocationCacheEntryVersion version()
int cacheId()
GridCacheUtils.cacheId(String)
,
CacheView.cacheId()
long expireTime()
0
then entry will be cached until removed.IgniteCache.withExpiryPolicy(ExpiryPolicy)
,
CacheConfiguration.setExpiryPolicyFactory(Factory)
,
GridCacheUtils.EXPIRE_TIME_ETERNAL
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023