All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alachisoft.ncache.client.services.NotificationService Maven / Gradle / Ivy

There is a newer version: 5.3.0
Show newest version
package com.alachisoft.ncache.client.services;

import com.alachisoft.ncache.client.*;
import com.alachisoft.ncache.runtime.exceptions.CacheException;

import java.util.EnumSet;

/**
 * This interface contains properties and methods required for a Notification Service.
 */
public interface NotificationService {

    void addCacheConnectivityChangedListener(CacheClientConnectivityChangedListener listener) throws CacheException,IllegalArgumentException;

    void removeCacheConnectivityChangedListener(CacheClientConnectivityChangedListener listener)throws CacheException,IllegalArgumentException;

    void addCacheClearedListener(CacheClearedListener listener)throws CacheException,IllegalArgumentException;

    void removeCacheClearedListener(CacheClearedListener listener)throws CacheException,IllegalArgumentException;

    void addCacheStatusEventListener(CacheStatusEventListener cacheStatusEventListener, EnumSet statusNotificationTypes)throws CacheException,IllegalArgumentException;

    void removeCacheStatusEventListener(CacheStatusEventListener cacheStatusEventListener, EnumSet statusNotificationTypes)throws CacheException,IllegalArgumentException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy