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:
JDK 17 jdk.management.jfr.jmod - Management JFR Module
JDK 17 jdk.management.jfr.jmod is the JMOD file for JDK 17 Management Jfr module.
JDK 17 Management JFR module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.management.jfr.jmod.
JDK 17 Management JFR module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Management JFR module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\jdk.management.jfr.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ jdk/management/jfr/internal/FlightRecorderMXBeanProvider.java
/* * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package jdk.management.jfr.internal; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.Callable; import jdk.jfr.internal.management.ManagementSupport; import jdk.management.jfr.FlightRecorderMXBean; import jdk.management.jfr.SettingDescriptorInfo; import sun.management.spi.PlatformMBeanProvider; public final class FlightRecorderMXBeanProvider extends PlatformMBeanProvider { private static final class SingleMBeanComponent implements PlatformComponent<FlightRecorderMXBean> { private final String objectName; private final Class<FlightRecorderMXBean> mbeanInterface; public SingleMBeanComponent(String objectName, Class<FlightRecorderMXBean> mbeanInterface) { this.objectName = objectName; this.mbeanInterface = mbeanInterface; } @Override public Set<String> mbeanInterfaceNames() { return Collections.singleton(mbeanInterface.getName()); } @Override public Map<String, FlightRecorderMXBean> nameToMBeanMap() { FlightRecorderMXBean bean = getFlightRecorderMXBean(); if (bean != null) { return Collections.singletonMap(objectName, bean); } else { return Collections.emptyMap(); } } @Override public String getObjectNamePattern() { return objectName; } @Override public Set<Class<? extends FlightRecorderMXBean>> mbeanInterfaces() { return Collections.singleton(mbeanInterface); } } private static Callable<FlightRecorderMXBean> flightRecorderMXBeanFactory; private static volatile FlightRecorderMXBean flightRecorderMXBean; private static FlightRecorderMXBean getFlightRecorderMXBean() { FlightRecorderMXBean bean = flightRecorderMXBean; if (bean == null) { SettingDescriptorInfo.from(null); // Sets flightRecorderMXBeanFactory under <clinit> lock synchronized (flightRecorderMXBeanFactory) { bean = flightRecorderMXBean; if (bean != null) { return bean; } try { bean = flightRecorderMXBean = flightRecorderMXBeanFactory.call(); } catch (Exception e) { ManagementSupport.logError("Could not create Flight Recorder " + "instance for MBeanServer. " + e.getMessage()); } } } return bean; } public static void setFlightRecorderMXBeanFactory(Callable<FlightRecorderMXBean> factory) { flightRecorderMXBeanFactory = factory; } @Override public List<PlatformComponent<?>> getPlatformComponentList() { String objectName = FlightRecorderMXBean.MXBEAN_NAME; Class<FlightRecorderMXBean> mbeanInterface = FlightRecorderMXBean.class; return Collections.singletonList(new SingleMBeanComponent(objectName, mbeanInterface)); } }
⏎ jdk/management/jfr/internal/FlightRecorderMXBeanProvider.java
Or download all of them as a single archive file:
File name: jdk.management.jfr-17.0.5-src.zip File size: 34348 bytes Release date: 2022-09-13 Download
⇒ JDK 17 jdk.naming.dns.jmod - Naming DNS Module
⇐ JDK 17 jdk.management.agent.jmod - Management Agent Module
2023-07-29, 1541👍, 0💬
Popular Posts:
JDK 17 jdk.localedata.jmod is the JMOD file for JDK 17 Localedata module. JDK 17 Locale Data module ...
JDK 11 jdk.jlink.jmod is the JMOD file for JDK 11 JLink tool, which can be invoked by the "jlink" co...
commons-io-1.4.jar is the JAR file for Commons IO 1.4, which is a library of utilities to assist wit...
Apache Log4j provides the interface that applications should code to and provides the adapter compon...
JDK 11 jdk.jdi.jmod is the JMOD file for JDK 11 JDI (Java Debug Interface) tool. JDK 11 JDI tool com...