Package com.newrelic.jfr.daemon.agent
Class FileJfrRecorderFactory
- java.lang.Object
-
- com.newrelic.jfr.daemon.agent.FileJfrRecorderFactory
-
- All Implemented Interfaces:
JfrRecorderFactory
public class FileJfrRecorderFactory extends java.lang.Object implements JfrRecorderFactory
-
-
Constructor Summary
Constructors Constructor Description FileJfrRecorderFactory(java.time.Duration harvestInterval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JfrRecordergetRecorder()Obtain an instance of aJfrRecorder.
-
-
-
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
-
-