org.jboss.cache.jmx
Interface CacheNotificationBroadcaster

All Superinterfaces:
NotificationBroadcaster, NotificationEmitter
All Known Implementing Classes:
CacheJmxWrapper

public interface CacheNotificationBroadcaster
extends NotificationEmitter


Field Summary
static String NOTIF_CACHE_STARTED
           
static String NOTIF_CACHE_STOPPED
           
static String NOTIF_NODE_ACTIVATED
           
static String NOTIF_NODE_CREATED
           
static String NOTIF_NODE_EVICTED
           
static String NOTIF_NODE_LOADED
           
static String NOTIF_NODE_MODIFIED
           
static String NOTIF_NODE_MOVED
           
static String NOTIF_NODE_PASSIVATED
           
static String NOTIF_NODE_REMOVED
           
static String NOTIF_NODE_VISITED
           
static String NOTIF_VIEW_CHANGED
           
 
Method Summary
 long getNextNotificationSequenceNumber()
          Gets the sequence number for the next notification.
 void sendNotification(Notification notification)
          Sends a notification to any interested NotificationListener.
 
Methods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Field Detail

NOTIF_CACHE_STARTED

static final String NOTIF_CACHE_STARTED
See Also:
Constant Field Values

NOTIF_CACHE_STOPPED

static final String NOTIF_CACHE_STOPPED
See Also:
Constant Field Values

NOTIF_NODE_CREATED

static final String NOTIF_NODE_CREATED
See Also:
Constant Field Values

NOTIF_NODE_MODIFIED

static final String NOTIF_NODE_MODIFIED
See Also:
Constant Field Values

NOTIF_NODE_REMOVED

static final String NOTIF_NODE_REMOVED
See Also:
Constant Field Values

NOTIF_NODE_MOVED

static final String NOTIF_NODE_MOVED
See Also:
Constant Field Values

NOTIF_NODE_VISITED

static final String NOTIF_NODE_VISITED
See Also:
Constant Field Values

NOTIF_NODE_EVICTED

static final String NOTIF_NODE_EVICTED
See Also:
Constant Field Values

NOTIF_NODE_LOADED

static final String NOTIF_NODE_LOADED
See Also:
Constant Field Values

NOTIF_NODE_ACTIVATED

static final String NOTIF_NODE_ACTIVATED
See Also:
Constant Field Values

NOTIF_NODE_PASSIVATED

static final String NOTIF_NODE_PASSIVATED
See Also:
Constant Field Values

NOTIF_VIEW_CHANGED

static final String NOTIF_VIEW_CHANGED
See Also:
Constant Field Values
Method Detail

sendNotification

void sendNotification(Notification notification)
Sends a notification to any interested NotificationListener.

Parameters:
notification - the notification to send

getNextNotificationSequenceNumber

long getNextNotificationSequenceNumber()
Gets the sequence number for the next notification.



Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.