use of com.hazelcast.cache.impl.AbstractCacheService in project hazelcast by hazelcast.
the class CacheListenerRegistrationOperation method run.
@Override
public void run() throws Exception {
final AbstractCacheService service = getService();
CacheConfig cacheConfig = service.getCacheConfig(name);
if (register) {
service.cacheEntryListenerRegistered(name, cacheEntryListenerConfiguration);
} else if (cacheConfig != null) {
service.cacheEntryListenerDeregistered(name, cacheEntryListenerConfiguration);
}
}
Aggregations