Package org.eclipse.net4j.util.cache
Enum-Klasse ICacheMonitor.Condition
- Alle implementierten Schnittstellen:
Serializable
,Comparable<ICacheMonitor.Condition>
,Constable
- Umschließende Schnittstelle:
ICacheMonitor
- 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-KonstantenEnum-KonstanteBeschreibungCondition 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 TypMethodeBeschreibungstatic ICacheMonitor.Condition
Gibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück.static ICacheMonitor.Condition[]
values()
Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.
-
Enum-Konstanten - Details
-
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
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
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
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
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ältNullPointerException
- wenn das Argument nicht angegeben wird
-