org.norther.tammi.core.cache
Class DomainCacheNotification
java.lang.Object
java.util.EventObject
javax.management.Notification
org.norther.tammi.core.base.ReferableNotification
org.norther.tammi.core.cache.DomainCacheNotification
- All Implemented Interfaces:
- Serializable, MBeanReference
public class DomainCacheNotification
- extends ReferableNotification
A notification of shared caches sent after creation and after removal of a
domain.
- Author:
- Ilkka Priha
- See Also:
- Serialized Form
CACHE_CREATED
public static final String CACHE_CREATED
- The creation notification.
CACHE_REMOVED
public static final String CACHE_REMOVED
- The removal notification.
CACHE_MODIFIED
public static final String CACHE_MODIFIED
- The modification notification.
DomainCacheNotification
public DomainCacheNotification(String type,
MBeanReference src,
long sequenceNumber,
long timeStamp,
String message,
String domain,
Map cache)
- Creates a notification with a time stamp and message.
- Parameters:
type - the notification type.src - the notification source.sequenceNumber - the sequence number.timeStamp - the time stamp.message - the notification message.domain - the cache domain.cache - the domain cache.
getDomain
public String getDomain()
- Gets the domain of the cache.
- Returns:
- the cache domain.
getCache
public Map getCache()
- Gets the read-only cache of the domain.
- Returns:
- the domain cache.
Copyright © 2004 The Norther Organization. All rights reserved.