|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This MBean is the parent for the individual instances of CacheMBeans. It is used to signal individual caches (by name) to be flushed, to invalidate some cached item (by key).
Fields inherited from class weblogic.management.configuration.ConfigurationMBean |
CACHING_STUB_SVUID |
Method Summary | |
void |
flushCache(java.lang.String cacheName)
Flush all instances of this named cache. |
void |
invalidateKey(java.lang.String cacheName,
java.io.Serializable key)
Invalidate a key in the cache. |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
addLinkMbeanAttribute,
getAttributeStringValue,
getNotes,
getSetFields,
getXml,
getXmlConverter,
isPersistenceEnabled,
setNotes,
setPersistenceEnabled |
Methods inherited from interface weblogic.management.WebLogicMBean |
getMBeanInfo,
getName,
getObjectName,
getParent,
getType,
isCachingDisabled,
isRegistered,
setName,
setParent |
Methods inherited from interface javax.management.DynamicMBean |
getAttribute,
getAttributes,
invoke,
setAttribute,
setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister,
postRegister,
preDeregister,
preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener,
getNotificationInfo,
removeNotificationListener |
Method Detail |
public void invalidateKey(java.lang.String cacheName, java.io.Serializable key)
This method will remove the key for all instances of the named cache. It sends a notification to all registered CacheNotificationListeners, who will in turn notify their associated Cache objects to invalidate this key.
These listeners are created by the CacheFactory object and registered with the CacheManagerMBean. Notifications are sent and tagged with the cache name.
cacheName
- The name of the cache to updatekey
- the key of a key/value pair to in the cache to invalidatepublic void flushCache(java.lang.String cacheName)
These listeners are created by the CacheFactory object and registered with the CacheManagerMBean. Notifications are sent and tagged with the cache name.
cacheName
- The name of the cache to flush
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |