public class BatchInvalidator extends Invalidator
Modifier and Type | Class and Description |
---|---|
static class |
BatchInvalidator.InvalidationQueue |
eventFilter, eventService, logger, metaDataGenerator, nodeEngine, partitionCount, partitionService, serializationService, serviceName
Constructor and Description |
---|
BatchInvalidator(String serviceName,
int batchSize,
int batchFrequencySeconds,
IFunction<EventRegistration,Boolean> eventFilter,
NodeEngine nodeEngine) |
Modifier and Type | Method and Description |
---|---|
void |
destroy(String dataStructureName,
String sourceUuid)
Removes supplied data structures invalidation queues and flushes their content.
|
protected void |
invalidateInternal(Invalidation invalidation,
int orderKey) |
void |
reset()
Resets this invalidator back to its initial state.
|
void |
shutdown()
Shuts down this invalidator and releases used resources.
|
getMetaDataGenerator, invalidateAllKeys, invalidateKey, newClearInvalidation, sendImmediately
public BatchInvalidator(String serviceName, int batchSize, int batchFrequencySeconds, IFunction<EventRegistration,Boolean> eventFilter, NodeEngine nodeEngine)
protected void invalidateInternal(Invalidation invalidation, int orderKey)
invalidateInternal
in class Invalidator
public void destroy(String dataStructureName, String sourceUuid)
Invalidator
MapRemoteService.destroyDistributedObject(String)
destroy
in class Invalidator
dataStructureName
- name of the data structure.MapRemoteService.destroyDistributedObject(String)
public void shutdown()
Invalidator
ManagedService.shutdown(boolean)
shutdown
in class Invalidator
ManagedService.shutdown(boolean)
public void reset()
Invalidator
ManagedService.reset()
reset
in class Invalidator
ManagedService.reset()
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.