19 Şubat 2023 Pazar

FlightRecorderMXBean Sınıfı

Örnek
Şö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