Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JRE 8 rt.jar - javax.* Package Source Code
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries.
JRE (Java Runtime) 8 is the runtime environment included in JDK 8.
JRE 8 rt.jar libraries are divided into 6 packages:
com.* - Internal Oracle and Sun Microsystems libraries java.* - Standard Java API libraries. javax.* - Extended Java API libraries. jdk.* - JDK supporting libraries. org.* - Third party libraries. sun.* - Old libraries developed by Sun Microsystems.
JAR File Information:
Directory of C:\fyicenter\jdk-1.8.0_191\jre\lib 63,596,151 rt.jar
Here is the list of Java classes of the javax.* package in JRE 1.8.0_191 rt.jar. Java source codes are also provided.
✍: FYIcenter
⏎ javax/management/remote/NotificationResult.java
/* * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.management.remote; import java.io.IOException; import java.io.InvalidObjectException; import java.io.ObjectInputStream; import java.io.Serializable; /** * <p>Result of a query for buffered notifications. Notifications in * a notification buffer have positive, monotonically increasing * sequence numbers. The result of a notification query contains the * following elements:</p> * * <ul> * * <li>The sequence number of the earliest notification still in * the buffer. * * <li>The sequence number of the next notification available for * querying. This will be the starting sequence number for the next * notification query. * * <li>An array of (Notification,listenerID) pairs corresponding to * the returned notifications and the listeners they correspond to. * * </ul> * * <p>It is possible for the <code>nextSequenceNumber</code> to be less * than the <code>earliestSequenceNumber</code>. This signifies that * notifications between the two might have been lost.</p> * * @since 1.5 */ public class NotificationResult implements Serializable { private static final long serialVersionUID = 1191800228721395279L; /** * <p>Constructs a notification query result.</p> * * @param earliestSequenceNumber the sequence number of the * earliest notification still in the buffer. * @param nextSequenceNumber the sequence number of the next * notification available for querying. * @param targetedNotifications the notifications resulting from * the query, and the listeners they correspond to. This array * can be empty. * * @exception IllegalArgumentException if * <code>targetedNotifications</code> is null or if * <code>earliestSequenceNumber</code> or * <code>nextSequenceNumber</code> is negative. */ public NotificationResult(long earliestSequenceNumber, long nextSequenceNumber, TargetedNotification[] targetedNotifications) { validate(targetedNotifications, earliestSequenceNumber, nextSequenceNumber); this.earliestSequenceNumber = earliestSequenceNumber; this.nextSequenceNumber = nextSequenceNumber; this.targetedNotifications = (targetedNotifications.length == 0 ? targetedNotifications : targetedNotifications.clone()); } /** * Returns the sequence number of the earliest notification still * in the buffer. * * @return the sequence number of the earliest notification still * in the buffer. */ public long getEarliestSequenceNumber() { return earliestSequenceNumber; } /** * Returns the sequence number of the next notification available * for querying. * * @return the sequence number of the next notification available * for querying. */ public long getNextSequenceNumber() { return nextSequenceNumber; } /** * Returns the notifications resulting from the query, and the * listeners they correspond to. * * @return the notifications resulting from the query, and the * listeners they correspond to. This array can be empty. */ public TargetedNotification[] getTargetedNotifications() { return targetedNotifications.length == 0 ? targetedNotifications : targetedNotifications.clone(); } /** * Returns a string representation of the object. The result * should be a concise but informative representation that is easy * for a person to read. * * @return a string representation of the object. */ public String toString() { return "NotificationResult: earliest=" + getEarliestSequenceNumber() + "; next=" + getNextSequenceNumber() + "; nnotifs=" + getTargetedNotifications().length; } private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { ois.defaultReadObject(); try { validate( this.targetedNotifications, this.earliestSequenceNumber, this.nextSequenceNumber ); this.targetedNotifications = this.targetedNotifications.length == 0 ? this.targetedNotifications : this.targetedNotifications.clone(); } catch (IllegalArgumentException e) { throw new InvalidObjectException(e.getMessage()); } } private long earliestSequenceNumber; private long nextSequenceNumber; private TargetedNotification[] targetedNotifications; private static void validate(TargetedNotification[] targetedNotifications, long earliestSequenceNumber, long nextSequenceNumber) throws IllegalArgumentException { if (targetedNotifications == null) { final String msg = "Notifications null"; throw new IllegalArgumentException(msg); } if (earliestSequenceNumber < 0 || nextSequenceNumber < 0) throw new IllegalArgumentException("Bad sequence numbers"); /* We used to check nextSequenceNumber >= earliestSequenceNumber here. But in fact the opposite can legitimately be true if notifications have been lost. */ } }
⏎ javax/management/remote/NotificationResult.java
Or download all of them as a single archive file:
File name: jre-rt-javax-1.8.0_191-src.zip File size: 5381005 bytes Release date: 2018-10-28 Download
⇒ JRE 8 rt.jar - org.* Package Source Code
2023-02-07, 190867👍, 5💬
Popular Posts:
This package is the backport of java.util.concurrent API, introduced in Java 5.0 and further refined...
How to download and install mysql-connector-j-8.0.31 .zip?Connector/J Java library is a JDBC Driver ...
JDK 11 jdk.localedata.jmod is the JMOD file for JDK 11 Localedata module. JDK 11 Locale Data module ...
JDK 11 jdk.jconsole.jmod is the JMOD file for JDK 11 JConsole tool, which can be invoked by the "jco...
commons-io-2.6-sources.j aris the source JAR file for Apache Commons IO 2.6, which is a library of u...