public interface CacheWanEventPublisher
| Modifier and Type | Method and Description |
|---|---|
void |
publishWanReplicationRemove(String cacheName,
Data key)
This method will create a wrapper object using the given
CacheEntryView
and place it to wan replication queues. |
void |
publishWanReplicationRemoveBackup(String cacheName,
Data key)
Backup operations of operations that call
this#publishWanReplicationRemove(String, Data)
should call this method to provide wan event backups |
void |
publishWanReplicationUpdate(String cacheName,
CacheEntryView<Data,Data> entryView)
This method will create a wrapper object using the given
CacheEntryView
and place it to wan replication queues. |
void |
publishWanReplicationUpdateBackup(String cacheName,
CacheEntryView<Data,Data> entryView)
Backup operations of operations that call
this#publishWanReplicationUpdate(String, CacheEntryView)
should call this method to provide wan event backups |
void publishWanReplicationUpdate(String cacheName, CacheEntryView<Data,Data> entryView)
CacheEntryView
and place it to wan replication queues.
Updating cache operations should call this method in their AbstractOperation.afterRun() method.CachePutOperation,
CacheGetAndReplaceOperationvoid publishWanReplicationRemove(String cacheName, Data key)
CacheEntryView
and place it to wan replication queues.
Cache operations which removes data from cache should call this method in their
AbstractOperation.afterRun() method.CacheRemoveOperationvoid publishWanReplicationUpdateBackup(String cacheName, CacheEntryView<Data,Data> entryView)
this#publishWanReplicationUpdate(String, CacheEntryView)
should call this method to provide wan event backupsCachePutBackupOperationvoid publishWanReplicationRemoveBackup(String cacheName, Data key)
this#publishWanReplicationRemove(String, Data)
should call this method to provide wan event backupsCacheRemoveBackupOperationCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.