com.scaleoutsoftware.soss.client
Interface NamedCacheObjectExpirationListener

All Superinterfaces:
EventListener

public interface NamedCacheObjectExpirationListener
extends EventListener

The interface clients use to receive callback notifications when an object is removed from StateServer.

Typically, there are multiple StateServer client instances on multiple machines in an application farm. In that case, multiple client instances may be registered for object expiration callbacks. StateServer will choose one of those client instances to deliver event notifications to. It will not broadcast the event notification to all registered clients.


Method Summary
 void objectExpired(NamedCacheObjectExpiredEventArgs eventArgs)
          Called when the object described via eventArgs is about to be removed from the cache.
 

Method Detail

objectExpired

void objectExpired(NamedCacheObjectExpiredEventArgs eventArgs)
Called when the object described via eventArgs is about to be removed from the cache.

Parameters:
eventArgs - an ObjectExpiredEventArgs instance describing the object about to be removed.


Copyright (C) 2007-2012 ScaleOut Software, Inc.