Şöyle yaparız
FlightRecorderMXBean flightRecorder = ManagementFactory .getPlatformMXBean(FlightRecorderMXBean.class); long recordingId = flightRecorder.newRecording(); flightRecorder.startRecording(recordingId); // Perform some operations flightRecorder.stopRecording(recordingId);
Hiç yorum yok:
Yorum Gönder