public class CompositeCacheUpdateHandler<K,V> extends Object implements io.kcache.CacheUpdateHandler<K,V>
| Constructor and Description |
|---|
CompositeCacheUpdateHandler(List<? extends io.kcache.CacheUpdateHandler<K,V>> handlers) |
| Modifier and Type | Method and Description |
|---|---|
void |
cacheDestroyed() |
void |
cacheFlushed() |
void |
cacheInitialized(int count,
Map<org.apache.kafka.common.TopicPartition,Long> checkpoints) |
void |
cacheReset() |
void |
cacheSynchronized(int count,
Map<org.apache.kafka.common.TopicPartition,Long> checkpoints) |
Map<org.apache.kafka.common.TopicPartition,Long> |
checkpoint(int count) |
void |
close() |
void |
endBatch(int count) |
void |
failBatch(int count,
Throwable t) |
void |
handleUpdate(K key,
V value,
V oldValue,
org.apache.kafka.common.TopicPartition tp,
long offset,
long ts) |
void |
startBatch(int count) |
io.kcache.CacheUpdateHandler.ValidationStatus |
validateUpdate(org.apache.kafka.common.header.Headers headers,
K key,
V value,
org.apache.kafka.common.TopicPartition tp,
long offset,
long ts,
org.apache.kafka.common.record.TimestampType tsType,
Optional<Integer> leaderEpoch) |
public void cacheInitialized(int count,
Map<org.apache.kafka.common.TopicPartition,Long> checkpoints)
public void cacheReset()
public void cacheSynchronized(int count,
Map<org.apache.kafka.common.TopicPartition,Long> checkpoints)
public void startBatch(int count)
public io.kcache.CacheUpdateHandler.ValidationStatus validateUpdate(org.apache.kafka.common.header.Headers headers,
K key,
V value,
org.apache.kafka.common.TopicPartition tp,
long offset,
long ts,
org.apache.kafka.common.record.TimestampType tsType,
Optional<Integer> leaderEpoch)
public void handleUpdate(K key, V value, V oldValue, org.apache.kafka.common.TopicPartition tp, long offset, long ts)
public void endBatch(int count)
public void failBatch(int count,
Throwable t)
public void cacheFlushed()
public void close()
throws IOException
close in interface io.kcache.CacheUpdateHandler<K,V>close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2026 Confluent, Inc.. All rights reserved.