public interface CdcEvent extends Serializable
CdcMain
,
CdcConsumer
Modifier and Type | Method and Description |
---|---|
int |
cacheId() |
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()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.12.0 Release Date : January 10 2022