com.alachisoft.ncache.client.services.NotificationService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ncache-professional-client Show documentation
Show all versions of ncache-professional-client Show documentation
NCache Professional client for java.
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;
}