| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private class | |
| private static class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final String | |
| private static final QueryExp | |
| private final NotificationListener | |
| private Set | |
| private static final NotificationFilter | |
| private final NotificationListener | |
| private boolean | |
| private long | |
| private static final Object | |
| private static final ClassLogger | |
| private final MBeanServer | |
| private static final HashMap | |
| private long | |
| private final ArrayQueue | |
| private int | |
| private final Collection |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| pack-priv synchronized void | |
| private void | addNotificationListener(final ObjectName name, final NotificationListener listener, final NotificationFilter filter, final Object handback)
|
| pack-priv void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public void | |
| private void | |
| pack-priv synchronized long | |
| public NotificationResult | fetchNotifications(NotificationBufferFilter
an object that will add notifications to a
filter, long List<TargetedNotification> if they match the current
listeners with their filters.the first sequence number to
consider. startSequenceNumber, long the maximum time to wait. May be 0 to indicate
not to wait if there are no notifications. timeout, int the maximum number of notifications to
return. May be 0 to indicate a wait for eligible notifications
that will return a usable maxNotifications)nextSequenceNumber. The
TargetedNotification array in the returned NotificationResult may contain more than this number of
elements but will not contain more than this number of
different notifications.Implements com. Fetch notifications that match the given listeners. |
| public static NotificationBuffer | |
| private synchronized boolean | |
| private static boolean | |
| pack-priv synchronized long | |
| pack-priv synchronized ArrayNotificationBuffer. | |
| private Set | |
| private void | |
| pack-priv static void | |
| private void | |
| private void | |
| private synchronized void |
| broadcasterClass | back to summary |
|---|---|
| pack-priv static final String broadcasterClass | |
| broadcasterQuery | back to summary |
|---|---|
| private static final QueryExp broadcasterQuery | |
| bufferListener | back to summary |
|---|---|
| private final NotificationListener bufferListener | |
| createdDuringQuery | back to summary |
|---|---|
| private Set<ObjectName> createdDuringQuery | |
| creationFilter | back to summary |
|---|---|
| private static final NotificationFilter creationFilter | |
| creationListener | back to summary |
|---|---|
| private final NotificationListener creationListener | |
| disposed | back to summary |
|---|---|
| private boolean disposed | |
| earliestSequenceNumber | back to summary |
|---|---|
| private long earliestSequenceNumber | |
| globalLock | back to summary |
|---|---|
| private static final Object globalLock | |
| logger | back to summary |
|---|---|
| private static final ClassLogger logger | |
| mBeanServer | back to summary |
|---|---|
| private final MBeanServer mBeanServer | |
| mbsToBuffer | back to summary |
|---|---|
| private static final HashMap<MBeanServer, ArrayNotificationBuffer> mbsToBuffer | |
| nextSequenceNumber | back to summary |
|---|---|
| private long nextSequenceNumber | |
| queue | back to summary |
|---|---|
| private final ArrayQueue<ArrayNotificationBuffer. | |
| queueSize | back to summary |
|---|---|
| private int queueSize | |
| sharers | back to summary |
|---|---|
| private final Collection<ArrayNotificationBuffer. | |
| ArrayNotificationBuffer | back to summary |
|---|---|
| private ArrayNotificationBuffer(MBeanServer mbs, int queueSize) | |
| addBufferListener | back to summary |
|---|---|
| private void addBufferListener(ObjectName name) | |
| addNotification | back to summary |
|---|---|
| pack-priv synchronized void addNotification(ArrayNotificationBuffer. | |
| addNotificationListener | back to summary |
|---|---|
| private void addNotificationListener(final ObjectName name, final NotificationListener listener, final NotificationFilter filter, final Object handback) throws Exception | |
| addSharer | back to summary |
|---|---|
| pack-priv void addSharer(ArrayNotificationBuffer. | |
| checkNoLocks | back to summary |
|---|---|
| private void checkNoLocks() | |
| createdNotification | back to summary |
|---|---|
| private void createdNotification(MBeanServerNotification n) | |
| createListeners | back to summary |
|---|---|
| private void createListeners() | |
| destroyListeners | back to summary |
|---|---|
| private void destroyListeners() | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements com. Doc from com. Discard this buffer. | |
| dropNotification | back to summary |
|---|---|
| private void dropNotification() | |
| earliestSequenceNumber | back to summary |
|---|---|
| pack-priv synchronized long earliestSequenceNumber() | |
| fetchNotifications | back to summary |
|---|---|
| public NotificationResult fetchNotifications(NotificationBufferFilter filter, long startSequenceNumber, long timeout, int maxNotifications) throws InterruptedException Implements com. Fetch notifications that match the given listeners. The operation only considers notifications with a sequence
number at least If there are no notifications matching the criteria, the operation will block until one arrives, subject to the timeout.
| |
| getNotificationBuffer | back to summary |
|---|---|
| public static NotificationBuffer getNotificationBuffer(MBeanServer mbs, Map<String, ?> env) | |
| isDisposed | back to summary |
|---|---|
| private synchronized boolean isDisposed() | |
| isInstanceOf | back to summary |
|---|---|
| private static boolean isInstanceOf(final MBeanServer mbs, final ObjectName name, final String className) | |
| nextSequenceNumber | back to summary |
|---|---|
| pack-priv synchronized long nextSequenceNumber() | |
| notificationAt | back to summary |
|---|---|
| pack-priv synchronized ArrayNotificationBuffer. | |
| queryNames | back to summary |
|---|---|
| private Set | |
| removeBufferListener | back to summary |
|---|---|
| private void removeBufferListener(ObjectName name) | |
| removeNotificationBuffer | back to summary |
|---|---|
| pack-priv static void removeNotificationBuffer(MBeanServer mbs) | |
| removeNotificationListener | back to summary |
|---|---|
| private void removeNotificationListener(final ObjectName name, final NotificationListener listener) throws Exception | |
| removeSharer | back to summary |
|---|---|
| private void removeSharer(ArrayNotificationBuffer. | |
| resize | back to summary |
|---|---|
| private synchronized void resize(int newSize) | |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | apply(final ObjectName name)
Implements javax. Applies the QueryExp on an MBean. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| BroadcasterQuery | back to summary |
|---|---|
| private BroadcasterQuery() | |
| apply | back to summary |
|---|---|
| public boolean apply(final ObjectName name) Implements javax. Doc from javax. Applies the QueryExp on an MBean. | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | handleNotification(Notification notif, Object handback)
Implements javax. Invoked when a JMX notification occurs. |
| BufferListener | back to summary |
|---|---|
| private BufferListener() | |
| handleNotification | back to summary |
|---|---|
| public void handleNotification(Notification notif, Object handback) Implements javax. Doc from javax. Invoked when a JMX notification occurs. The implementation of this method should return as soon as possible, to avoid blocking its notification broadcaster. | |
| Modifier and Type | Field and Description |
|---|---|
| private final Notification | |
| private final ObjectName |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Notification | |
| pack-priv ObjectName | |
| public String |
| notification | back to summary |
|---|---|
| private final Notification notification | |
| sender | back to summary |
|---|---|
| private final ObjectName sender | |
| NamedNotification | back to summary |
|---|---|
| pack-priv NamedNotification(ObjectName sender, Notification notif) | |
| getNotification | back to summary |
|---|---|
| pack-priv Notification getNotification() | |
| getObjectName | back to summary |
|---|---|
| pack-priv ObjectName getObjectName() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |