atg.rview
Interface CacheInvalidationListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
RelationalViewManager, RelationalViewManagerImpl

public interface CacheInvalidationListener
extends java.util.EventListener

This event listener outlines the calls that outside parties can use to cause the RelationalViews system to invalidate various caches.


Field Summary
static java.lang.String CLASS_VERSION
           
 
Method Summary
 void invalidateAllCaches()
          This invalidates all of the caches in the system.
 void invalidateCache(java.lang.String pCacheName)
          Invalidates all of the entries in the cache with the specified name.
 void invalidateCacheEntries(java.lang.String pCacheName, java.lang.Object[][] pKeys)
          Invalidates multiple entries in the specified cache.
 void invalidateCacheEntry(java.lang.String pCacheName, java.lang.Object[] pKey)
          Invalidates an entry in the specified cache.
 void invalidateCachesByTableName(java.lang.String pTableName)
          This invalidates all of the caches whose entries depend on the specified table.
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
See Also:
Constant Field Values
Method Detail

invalidateAllCaches

void invalidateAllCaches()
This invalidates all of the caches in the system.


invalidateCachesByTableName

void invalidateCachesByTableName(java.lang.String pTableName)
This invalidates all of the caches whose entries depend on the specified table.


invalidateCache

void invalidateCache(java.lang.String pCacheName)
Invalidates all of the entries in the cache with the specified name. The cache name follows the form {rviewName}.{subviewName}.{call} (i.e., "Person.byId.select.all").


invalidateCacheEntry

void invalidateCacheEntry(java.lang.String pCacheName,
                          java.lang.Object[] pKey)
Invalidates an entry in the specified cache. The cache name follows the form {rviewName}.{subviewName}.{call} (i.e., "Person.byId.select.all"). The key indicates which entry is to be invalidated (the key is an array because a cache entry may have a multi-column key). The size of the key should be the same number and types as the cache's keyProperties.


invalidateCacheEntries

void invalidateCacheEntries(java.lang.String pCacheName,
                            java.lang.Object[][] pKeys)
Invalidates multiple entries in the specified cache. The cache name follows the form {rviewName}.{subviewName}.{call} (i.e., "Person.byId.select.all"). The keys indicate which entries are to be invalidated (each key is an array because a cache entry may have a multi-column key, and because this method can invalidate a number of entries, this array takes a double-dimensioned key). The size of the key should be the same number and types as the cache's keyProperties.