org.jboss.cache.invalidation
Interface Invalidatable

All Known Implementing Classes:
CacheInvalidator, InvalidableEntityInstanceCache

public interface Invalidatable

Represent an invalidable resource, such as a cache

Version:
$Revision: 1.1 $

Revisions:

21. septembre 2002 Sacha Labourey:

Author:
Sacha Labourey.
See Also:
InvalidationGroup

Method Summary
 void areInvalid(Serializable[] keys)
          Indicates that the resources with the give keys should be invalidated (i.e.
 void invalidateAll()
          All entries should be invalidated.
 void isInvalid(Serializable key)
          Indicates that the resource with the given key should be invalidated (i.e.
 

Method Detail

isInvalid

void isInvalid(Serializable key)
Indicates that the resource with the given key should be invalidated (i.e. removed from cache)

Parameters:
key - Key of the resource to be invalidated

areInvalid

void areInvalid(Serializable[] keys)
Indicates that the resources with the give keys should be invalidated (i.e. removed from cache)

Parameters:
keys - Keys of the resources to be invalidated

invalidateAll

void invalidateAll()
All entries should be invalidated.



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.