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.
Modifier and Type | Method and Description |
---|---|
void |
objectExpired(NamedCacheObjectExpiredEventArgs eventArgs)
Called when the object described via
eventArgs is about to be removed from
the cache. |
void objectExpired(NamedCacheObjectExpiredEventArgs eventArgs)
eventArgs
is about to be removed from
the cache.eventArgs
- an ObjectExpiredEventArgs
instance describing the object about to be
removed.Copyright (C) 2007-2014 ScaleOut Software, Inc.