Expresso 5-5-0

com.jcorporate.expresso.core.cache
Interface CacheSyncInterface


public interface CacheSyncInterface

This represents the cache syncing interface for sending out notifications to other servers to remove an object from their cache. Not all classes have to implement everything... for example, Multicast CacheSync would ignore port, protocol, etc.

Since:
Expresso 4.0
Author:
Michael Rimov

Method Summary
 void destroy()
          Used for closing out any resources by whatever class is implementing the cache sync interface
 void notifyRemote(CacheSyncMessage message)
          The guts of the notification engine, may be blocking or non-blocking depending on the implementation.
 

Method Detail

notifyRemote

public void notifyRemote(CacheSyncMessage message)
                  throws CacheException
The guts of the notification engine, may be blocking or non-blocking depending on the implementation.

Parameters:
message - the CacheSyncMessage that is used for parameters for the remote notification
Throws:
CacheException - upon error

destroy

public void destroy()
Used for closing out any resources by whatever class is implementing the cache sync interface


Expresso 5-5-0

Please see www.jcorporate.com for information about new Expresso releases.