All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.jmx.annotations.Units Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev04
Show newest version
package org.infinispan.jmx.annotations;

import java.util.EnumSet;

public enum Units {

   NONE,

   SECONDS,

   MILLISECONDS,

   MICROSECONDS,

   NANOSECONDS,

   PER_SECOND,

   PERCENTAGE,

   BITS,

   BYTES,

   KILO_BYTES,

   MEGA_BYTES;

   public static final EnumSet TIME_UNITS = EnumSet.of(SECONDS, MILLISECONDS, MICROSECONDS, NANOSECONDS);

   @Override
   public String toString() {
      return name().toLowerCase();
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy