public class ProductCacheDirListener<K,V> extends Object implements com.hazelcast.core.EntryListener<K,V>, com.hazelcast.core.HazelcastInstanceAware
Constructor and Description |
---|
ProductCacheDirListener(long maxDirSizeBytes)
Constructor for new Hazelcast listener
|
Modifier and Type | Method and Description |
---|---|
void |
entryAdded(com.hazelcast.core.EntryEvent<K,V> event) |
void |
entryEvicted(com.hazelcast.core.EntryEvent<K,V> event) |
void |
entryRemoved(com.hazelcast.core.EntryEvent<K,V> event) |
void |
entryUpdated(com.hazelcast.core.EntryEvent<K,V> event) |
long |
getMaxDirSizeBytes() |
void |
setHazelcastInstance(com.hazelcast.core.HazelcastInstance hc) |
void |
setMaxDirSizeBytes(long maxDirSizeBytes) |
public ProductCacheDirListener(long maxDirSizeBytes)
maxDirSizeBytes:
- If 0, no size limit will be enforced.public void setHazelcastInstance(com.hazelcast.core.HazelcastInstance hc)
setHazelcastInstance
in interface com.hazelcast.core.HazelcastInstanceAware
public long getMaxDirSizeBytes()
public void setMaxDirSizeBytes(long maxDirSizeBytes)
This work is licensed under a Creative Commons Attribution 4.0 International License.