Searched refs:notif (Results 1 - 25 of 39) sorted by relevance

12

/openjdk9/jdk/src/java.management/share/classes/javax/management/remote/
H A DTargetedNotification.java60 // this.notif = notification;
82 this.notif = notification;
92 return notif;
111 return "{" + notif + ", " + id + "}";
118 private Notification notif; field in class:TargetedNotification
137 validate(this.notif, this.id);
143 private static void validate(Notification notif, Integer id) throws IllegalArgumentException { argument
144 if (notif == null) {
H A DJMXConnectorServer.java315 Notification notif =
322 sendNotification(notif);
/openjdk9/jdk/test/com/sun/management/GarbageCollectorMXBean/
H A DGarbageCollectionNotificationContentTest.java54 public void handleNotification(Notification notif, Object handback) { argument
55 String type = notif.getType();
58 GarbageCollectionNotificationInfo.from((CompositeData) notif.getUserData());
59 String source = ((ObjectName)notif.getSource()).getCanonicalName();
62 listenerInvoked.put(((ObjectName)notif.getSource()).getCanonicalName(),gcNotif);
112 for (GarbageCollectionNotificationInfo notif : listenerInvoked.values() ) {
113 checkGarbageCollectionNotificationInfoContent(notif);
118 private static void checkGarbageCollectionNotificationInfoContent(GarbageCollectionNotificationInfo notif) throws Exception { argument
119 System.out.println("GC notification for "+notif.getGcName());
120 System.out.print("Action: "+notif
[all...]
H A DGarbageCollectionNotificationTest.java53 public void handleNotification(Notification notif, Object handback) { argument
54 String type = notif.getType();
57 GarbageCollectionNotificationInfo.from((CompositeData) notif.getUserData());
58 String source = ((ObjectName)notif.getSource()).getCanonicalName();
61 listenerInvoked.put(((ObjectName)notif.getSource()).getCanonicalName(),true);
/openjdk9/jdk/test/javax/management/mxbean/
H A DMXBeanNotifTest.java254 Notification notif =
260 if (i == 0 && notif == null) {
264 notif = notifList.poll(timeForNotificationInSeconds,
268 if ( notif == null ) {
275 checkNotification(notif,
324 private int checkNotification(Notification notif, argument
331 "\t getSource " + notif.getSource());
333 "\t getMessage " + notif.getMessage());
335 "\t getSequenceNumber " + notif.getSequenceNumber());
337 "\t getTimeStamp " + notif
[all...]
/openjdk9/jdk/src/java.management/share/classes/com/sun/jmx/remote/internal/
H A DNotificationBufferFilter.java39 ObjectName source, Notification notif);
38 apply(List<TargetedNotification> targetedNotifs, ObjectName source, Notification notif) argument
H A DArrayNotificationBuffer.java461 Notification notif = candidate.getNotification();
466 filter.apply(matchedNotifs, name, notif);
511 synchronized void addNotification(NamedNotification notif) { argument
513 logger.trace("addNotification", notif.toString());
519 "dropped oldest notif, earliestSeq=" +
523 queue.add(notif);
547 NamedNotification(ObjectName sender, Notification notif) { argument
549 this.notification = notif;
765 public void handleNotification(Notification notif, Object handback) { argument
768 "notif
[all...]
/openjdk9/jdk/src/java.management/share/classes/javax/management/timer/
H A DTimerAlarmClock.java73 TimerAlarmClockNotification notif = new TimerAlarmClockNotification(this);
74 listener.notifyAlarmClock(notif);
H A DTimer.java251 TimerNotification notif = (TimerNotification)
253 notifTypes.add(notif.getType());
454 TimerNotification notif = new TimerNotification(type, this, 0, 0, message, notifID);
455 notif.setUserData(userData);
474 obj[TIMER_NOTIF_INDEX] = (Object)notif;
485 .append(notif.getSource())
487 .append(notif.getType())
987 TimerNotification notif;
998 notif = (TimerNotification)obj[TIMER_NOTIF_INDEX];
999 notifID = notif
[all...]
/openjdk9/jdk/test/java/lang/management/MemoryMXBean/
H A DGetMBeanInfo.java60 private static void printNotifType(MBeanNotificationInfo notif) { argument
61 String[] types = notif.getNotifTypes();
H A DMemoryManagement.java59 public void handleNotification(Notification notif, Object handback) { argument
60 String type = notif.getType();
66 from((CompositeData) notif.getUserData());
H A DLowMemoryTest.java151 public void handleNotification(Notification notif, Object handback) { argument
152 String type = notif.getType();
158 from((CompositeData) notif.getUserData());
177 public void handleNotification(Notification notif, Object handback) { argument
179 from((CompositeData) notif.getUserData());
/openjdk9/jdk/test/javax/management/remote/mandatory/notif/
H A DNotSerializableNotifTest.java102 // ask to send one not serializable notif
136 public void handleNotification(Notification notif, Object handback) { argument
172 Notification notif;
174 notif = new Notification(myType, this, i);
176 notif.setUserData(new Object());
177 sendNotification(notif);
187 Notification notif;
189 notif = new Notification(myType, this, i);
191 sendNotification(notif);
H A DUnexpectedNotifTest.java168 public void handleNotification(Notification notif, Object handback) { argument
169 System.out.println("Received: " + notif + " (" +
170 notif.getSequenceNumber() + ")");
217 Notification notif;
219 notif = new Notification(myType, this, ++seqno);
220 sendNotification(notif);
H A DNotifBufferSizePropertyNameTest.java144 Notification notif;
146 notif = new Notification("MyType", this, i);
147 weakNotifs.put(notif, null);
148 sendNotification(notif);
H A DRMINotifTest.java87 // create a notif emitter mbean
170 public void handleNotification(Notification notif, Object handback) { argument
217 Notification notif;
219 notif = new Notification(myType, this, i);
220 sendNotification(notif);
/openjdk9/jdk/test/javax/management/remote/mandatory/connection/
H A DConnectionTest.java141 // we don't get the notif immediately either
143 Notification notif = waitForNotification(1000);
144 System.out.println("Server got notification: " + notif);
146 ok = mustBeConnectionNotification(notif, clientConnId,
154 notif = waitForNotification(1000);
155 System.out.println("Got notification: " + notif);
157 ok = mustBeConnectionNotification(notif, clientConnId,
173 notif = waitForNotification(1);
174 ok = mustBeConnectionNotification(notif, clientConnId2,
186 notif
216 mustBeConnectionNotification(Notification notif, String requiredConnId, String requiredType) argument
[all...]
/openjdk9/jdk/src/java.management/share/classes/javax/management/
H A DNotificationBroadcasterSupport.java263 * listener.handleNotification(notif, handback);
268 * @param notif the notification being delivered to the listener.
274 Notification notif, Object handback) {
275 listener.handleNotification(notif, handback);
345 public SendNotifJob(Notification notif, ListenerInfo listenerInfo) { argument
346 this.notif = notif;
353 notif, listenerInfo.handback);
361 private final Notification notif; field in class:NotificationBroadcasterSupport.SendNotifJob
273 handleNotification(NotificationListener listener, Notification notif, Object handback) argument
/openjdk9/jdk/test/javax/management/notification/
H A DNotifExecutorTest.java118 throw new RuntimeException("The notif executor should be called " +
135 public void handleNotification(Notification notif, Object handback) { argument
162 Notification notif;
164 notif = new Notification(null, this, ++seqno);
165 super.sendNotification(notif);
/openjdk9/jdk/src/java.management/share/classes/sun/management/
H A DMemoryImpl.java149 Notification notif = new Notification(notifType,
160 notif.setUserData(cd);
161 mbean.sendNotification(notif);
/openjdk9/jdk/src/jdk.management/share/classes/com/sun/management/internal/
H A DGarbageCollectorExtImpl.java105 Notification notif = new Notification(GarbageCollectionNotificationInfo.GARBAGE_COLLECTION_NOTIFICATION,
118 notif.setUserData(cd);
119 sendNotification(notif);
/openjdk9/jdk/src/java.management/share/classes/javax/management/relation/
H A DMBeanServerNotificationFilter.java327 * @param notif The notification to be sent.
334 public synchronized boolean isNotificationEnabled(Notification notif) argument
337 if (notif == null) {
342 RELATION_LOGGER.log(Level.TRACE, "ENTRY {0}", notif);
345 String ntfType = notif.getType();
354 MBeanServerNotification mbsNtf = (MBeanServerNotification)notif;
/openjdk9/jdk/test/javax/management/relation/
H A DNonArrayListTest.java87 RelationNotification notif =
106 RelationNotification notif =
/openjdk9/jdk/test/javax/management/modelmbean/SimpleModelMBean/
H A DSimpleModelMBeanCommand.java226 Notification notif = new Notification("type", "source", 123L);
227 mbs.invoke(on, "sendNotification", new Object[] {notif},
235 public void handleNotification(Notification notif,
237 System.out.println("Got notif: " + notif +
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/org/glassfish/external/amx/
H A DMBeanListener.java295 final MBeanServerNotification notif = (MBeanServerNotification) notifIn;
296 final ObjectName objectName = notif.getMBeanName();
317 final String notifType = notif.getType();

Completed in 205 milliseconds

12