org.infinispan.jmx.annotations.Units Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-component-annotations Show documentation
Show all versions of infinispan-component-annotations Show documentation
Annotations for Infinispan components and MBeans
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