javax.util.jcache
Interface CacheEvent

All Known Implementing Classes:
CacheEventImpl

Deprecated. reomved with no replacement.

public interface CacheEvent

This class represents an internal cache event. If an event happens on a cached object the source object in CacheEvent is the cached object wich replastes to the event that just happened. If an event happens on a cache group, the source object in CacheEvent is the group name wich relates to the event that just happened. Applications can register a CacheEventListener to handle events. Currently, only the OBJECT_INVALIDATED event is defined.

Author:
Frank Karlstrøm

Field Summary
static int OBJECT_INVALIDATED
          Deprecated. Indicate that a cache object or group has been invalidated
 
Method Summary
 int getId()
          Deprecated. Returns the event identifier associated with the event.
 

Field Detail

OBJECT_INVALIDATED

static final int OBJECT_INVALIDATED
Deprecated. 
Indicate that a cache object or group has been invalidated

See Also:
Constant Field Values
Method Detail

getId

int getId()
Deprecated. 
Returns the event identifier associated with the event.

Returns:
the event identifier associated with the event.


Copyright © 2002-2009 Hosted by SourceForge. All Rights Reserved.