1 4 package com.tc.runtime; 5 6 public final class MemoryEventType { 7 8 public static final MemoryEventType ABOVE_THRESHOLD = new MemoryEventType("ABOVE_THRESHOLD"); 9 public static final MemoryEventType ABOVE_CRITICAL_THRESHOLD = new MemoryEventType("ABOVE_CRITICAL_THRESHOLD"); 10 public static final MemoryEventType BELOW_THRESHOLD = new MemoryEventType("BELOW_THRESHOLD"); 11 12 private final String name; 13 14 private MemoryEventType(String name) { 16 this.name = name; 17 } 18 19 public String toString() { 20 return "MemoryEventType." + name; 21 } 22 23 } 24 | Popular Tags |