public static enum CacheService.State extends Enum<CacheService.State>
| Enum Constant and Description |
|---|
INITIALIZED |
SHUTDOWN |
STARTED |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isInitialized() |
boolean |
isShutdown() |
boolean |
isStarted() |
static CacheService.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheService.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheService.State INITIALIZED
public static final CacheService.State STARTED
public static final CacheService.State SHUTDOWN
public static CacheService.State[] values()
for (CacheService.State c : CacheService.State.values()) System.out.println(c);
public static CacheService.State valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isInitialized()
public boolean isStarted()
public boolean isShutdown()
Copyright © 2014–2021 OSGL (Open Source General Library). All rights reserved.