@Scheduled(fixedRate=FIXED_RATE) public void logStatistics(){
  if (beansAvailable) {
    if (log.isInfoEnabled()) {
      logOperatingSystemStatistics();
      logRuntimeStatistics();
      logMemoryStatistics();
      logThreadStatistics();
      log.info("\n");
    }
  }
  if (log.isInfoEnabled()) {
    logDroppedData();
    logBufferStatistics();
    logStorageStatistics();
  }
}

@ Scheduled ( fixedRate = FIXED_RATE ) public void logStatistics ( ) { if ( beansAvailable ) { if ( log . isInfoEnabled ( ) ) { logOperatingSystemStatistics ( ) ; logRuntimeStatistics ( ) ; logMemoryStatistics ( ) ; logThreadStatistics ( ) ; log . info ( "\n" ) ; } } if ( log . isInfoEnabled ( ) ) { logDroppedData ( ) ; logBufferStatistics ( ) ; logStorageStatistics ( ) ; } }
log all the statistics .
