Enum-Klasse ICacheMonitor.Condition

java.lang.Object
java.lang.Enum<ICacheMonitor.Condition>
org.eclipse.net4j.util.cache.ICacheMonitor.Condition
Alle implementierten Schnittstellen:
Serializable, Comparable<ICacheMonitor.Condition>, Constable
Umschließende Schnittstelle:
ICacheMonitor

public static enum ICacheMonitor.Condition extends Enum<ICacheMonitor.Condition>
Autor:
Eike Stepper
  • Verschachtelte Klassen - Übersicht

    Von Klasse geerbte verschachtelte Klassen/Schnittstellen java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum-Konstanten - Übersicht

    Enum-Konstanten
    Enum-Konstante
    Beschreibung
    Condition GREEN indicates that the system is operating normally and enough free memory is available so that caches are free to cache additional elements.
    Condition RED indicates that the system state is critical and free memory is almost exhausted so that caches must immediately stop to cache additional elements.
    Condition YELLOW indicates that the system is operating normally but free memory is about to go low so that caches should stop to cache additional elements.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Gibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück.
    Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.

    Von Klasse geerbte Methoden java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum-Konstanten - Details

    • GREEN

      public static final ICacheMonitor.Condition GREEN
      Condition GREEN indicates that the system is operating normally and enough free memory is available so that caches are free to cache additional elements.
    • YELLOW

      public static final ICacheMonitor.Condition YELLOW
      Condition YELLOW indicates that the system is operating normally but free memory is about to go low so that caches should stop to cache additional elements.
    • RED

      public static final ICacheMonitor.Condition RED
      Condition RED indicates that the system state is critical and free memory is almost exhausted so that caches must immediately stop to cache additional elements. Depending of the eviction strategy element eviction is ordered.
  • Methodendetails

    • values

      public static ICacheMonitor.Condition[] values()
      Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.
      Gibt zurück:
      ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration
    • valueOf

      public static ICacheMonitor.Condition valueOf(String name)
      Gibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück. Die Zeichenfolge muss exakt mit einer ID übereinstimmen, mit der eine Enum-Konstante in dieser Klasse deklariert wird. (Zusätzliche Leerzeichen sind nicht zulässig.)
      Parameter:
      name - Name der zurückzugebenden Enumerationskonstante.
      Gibt zurück:
      Enumerationskonstante mit dem angegebenen Namen
      Löst aus:
      IllegalArgumentException - wenn diese Enum-Klasse keine Konstante mit dem angegebenen Namen enthält
      NullPointerException - wenn das Argument nicht angegeben wird