站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

Invalidatable (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


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:

  • First implementation
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

public 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

public 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

public void invalidateAll()
All entries should be invalidated.



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