public enum WatchDog extends Enum<WatchDog>
| Enum Constant and Description |
|---|
INSTANCE
The one and only instance of the WatchDog.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addResourceToWatch(Resource resource) |
long |
getPause() |
void |
removeResourceFromWatch(Resource resource) |
static WatchDog |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WatchDog[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WatchDog INSTANCE
public static WatchDog[] values()
for (WatchDog c : WatchDog.values()) System.out.println(c);
public static WatchDog 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 long getPause()
public void addResourceToWatch(Resource resource)
public void removeResourceFromWatch(Resource resource)
Copyright © 2010-2014 anotheria.net. All Rights Reserved.