public class Key<T> extends Object implements Serializable, Comparable<Key<T>>
Object representing a job or trigger key.
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_GROUP
The default group for scheduling entities, with the value "DEFAULT".
|
Constructor and Description |
---|
Key(String name,
String group)
Construct a new key with the given name and group.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Key<T> o) |
static String |
createUniqueName(String group) |
boolean |
equals(Object obj) |
String |
getGroup()
Get the group portion of the key.
|
String |
getName()
Get the name portion of the key.
|
int |
hashCode() |
String |
toString()
Return the string representation of the key.
|
public static final String DEFAULT_GROUP
Copyright 2001-2019, Terracotta, Inc.