|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.quartz.simpl.SystemPropertyInstanceIdGenerator
public class SystemPropertyInstanceIdGenerator
InstanceIdGenerator that will use a system property
to configure the scheduler.
If no value set for the property, a SchedulerException
is thrown
Field Summary | |
---|---|
static java.lang.String |
SYSTEM_PROPERTY
System property to read the instanceId from |
Constructor Summary | |
---|---|
SystemPropertyInstanceIdGenerator()
|
Method Summary | |
---|---|
java.lang.String |
generateInstanceId()
Returns the cluster wide value for this scheduler instance's id, based on a system property |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SYSTEM_PROPERTY
Constructor Detail |
---|
public SystemPropertyInstanceIdGenerator()
Method Detail |
---|
public java.lang.String generateInstanceId() throws SchedulerException
generateInstanceId
in interface InstanceIdGenerator
system property
SchedulerException
- Shouldn't a value be found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |