Package com.newrelic.jfr.daemon.app
Class JmxJfrRecorderFactory
- java.lang.Object
-
- com.newrelic.jfr.daemon.app.JmxJfrRecorderFactory
-
- All Implemented Interfaces:
JfrRecorderFactory
public class JmxJfrRecorderFactory extends java.lang.Object implements JfrRecorderFactory
An implementation ofJfrRecorderFactorythat producesJmxJfrRecorders which record JFR data from a remote MBean server over JMX.
-
-
Constructor Summary
Constructors Constructor Description JmxJfrRecorderFactory(DaemonConfig daemonConfig, MBeanConnectionFactory connectionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JfrRecordergetRecorder()Obtain an instance of aJfrRecorder.
-
-
-
Constructor Detail
-
JmxJfrRecorderFactory
public JmxJfrRecorderFactory(DaemonConfig daemonConfig, MBeanConnectionFactory connectionFactory)
-
-
Method Detail
-
getRecorder
public JfrRecorder getRecorder() throws JfrRecorderException
Description copied from interface:JfrRecorderFactoryObtain an instance of aJfrRecorder.- Specified by:
getRecorderin interfaceJfrRecorderFactory- Returns:
- the recorder
- Throws:
JfrRecorderException- if a fatal error occurs which prevents creation of additional recorders
-
-