Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
Collections:
Other Resources:
JDK 17 jdk.jstatd.jmod - JStatd Module
JDK 17 jdk.jstatd.jmod is the JMOD file for JDK 17 JStatd module.
JDK 17 JStatd module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.jstatd.jmod.
JDK 17 JStatd module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 JStatd module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\jdk.jstatd.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ sun/jvmstat/perfdata/monitor/protocol/rmi/RemoteVmManager.java
/*
* Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package sun.jvmstat.perfdata.monitor.protocol.rmi;
import java.util.*;
import java.util.regex.*;
import java.io.*;
import java.rmi.RemoteException;
import sun.jvmstat.monitor.*;
import sun.jvmstat.monitor.event.*;
import sun.jvmstat.monitor.remote.*;
/**
* Class for managing the RemoteMonitoredVm instances on a remote system.
* <p>
* This class is responsible for the mechanism that detects the active
* HotSpot Java Virtual Machines on the remote host and possibly for a
* specific user. The ability to detect all possible HotSpot Java Virtual
* Machines on the remote host may be limited by the permissions of the
* principal running the RMI server application on the remote host.
*
* @author Brian Doherty
* @since 1.5
*/
public class RemoteVmManager {
private RemoteHost remoteHost;
private String user;
/**
* Creates a RemoteVmManager instance for the remote system.
* <p>
* Manages RemoteMonitordVm instances for which the principal
* running the remote server has appropriate permissions.
*
* @param remoteHost the remote proxy object to the RMI server on
* the remote system.
*/
public RemoteVmManager(RemoteHost remoteHost) {
this(remoteHost, null);
}
/**
* Creates a RemoteVmManager instance for the given user.
* <p>
* Manages RemoteMonitoredVm instances for all remote Java Virtual
* machines owned by the specified user on the remote system. The
* RMI server on the remote system must have the appropriate permissions
* to access the named users Java Virtual Machines.
*
* @param remoteHost the remote proxy object to the RMI server on
* the remote system.
* @param user the name of the user
*/
public RemoteVmManager(RemoteHost remoteHost, String user) {
this.user = user;
this.remoteHost = remoteHost;
}
/**
* Return the current set of monitorable Java Virtual Machines.
* <p>
* The set returned by this method depends on the user name passed
* to the constructor. If no user name was specified, then this
* method will return all candidate JVMs on the system. Otherwise,
* only the JVMs for the given user will be returned. This assumes
* that the RMI server process has the appropriate permissions to
* access the target set of JVMs.
*
* @return Set - the Set of monitorable Java Virtual Machines
*/
public Set<Integer> activeVms() throws MonitorException {
int[] active = null;
try {
active = remoteHost.activeVms();
} catch (RemoteException e) {
throw new MonitorException("Error communicating with remote host: "
+ e.getMessage(), e);
}
Set<Integer> activeSet = new HashSet<Integer>(active.length);
for (int i = 0; i < active.length; i++) {
activeSet.add(active[i]);
}
return activeSet;
}
}
⏎ sun/jvmstat/perfdata/monitor/protocol/rmi/RemoteVmManager.java
Or download all of them as a single archive file:
File name: jdk.jstatd-17.0.5-src.zip File size: 16755 bytes Release date: 2022-09-13 Download
⇒ JDK 17 jdk.localedata.jmod - Locale Data Module
2023-08-03, ∼6161🔥, 0💬
Popular Posts:
What Is javax.websocket-api-1.1. jar?javax.websocket-api-1.1. jaris the JAR file for Java API for We...
What Is ojdbc5.jar for Oracle 11g R1? ojdbc5.jar for Oracle 11g R1 is the JAR files of ojdbc.jar, JD...
JDK 17 jdk.jlink.jmod is the JMOD file for JDK 17 JLink tool, which can be invoked by the "jlink" co...
What is the dom\GetElementsByTagName .javaprovided in the Apache Xerces package? I have Apache Xerce...
JDK 11 java.sql.rowset.jmod is the JMOD file for JDK 11 SQL Rowset module. JDK 11 SQL Rowset module ...