public static enum Tracker.WorkerType extends java.lang.Enum<Tracker.WorkerType>
Enum Constant and Description |
---|
LOCATION_WORKER
A worker that will send queued location information to the database
|
NONE
Not a worker thread
|
NOTIFICATION_WORKER
A worker that will send wait for notifications from the database and queue them or process them with callbacks
|
Modifier and Type | Method and Description |
---|---|
static Tracker.WorkerType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Tracker.WorkerType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final Tracker.WorkerType LOCATION_WORKER
public static final Tracker.WorkerType NOTIFICATION_WORKER
public static final Tracker.WorkerType NONE
public static Tracker.WorkerType[] values()
for (Tracker.WorkerType c : Tracker.WorkerType.values()) System.out.println(c);
public static Tracker.WorkerType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null