java (1)

  String recode_time = new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new java.util.Date(data.getTimestamp() * 1000));
  System.out.printf("%s get  %s disk metrics at %s \r\n", source, data.getEndpoint(), recode_time);
posted @ 2019-04-28 15:17  linengier  阅读(104)  评论(0编辑  收藏  举报