Beispiel #1
0
 /** {@inheritDoc} */
 @NotNull
 @Override
 public String getActiveTime() {
   return isAlive()
       ? StringUtils.timeSecToHumanReadable(
           (System.currentTimeMillis() - creationTime) / ONE_SEC.getValue())
       : TIMER_STUB;
 }