SimpleInstanceIdGenerator (Quartz Parent POM 2.0.1 API)

Quartz Java



org.quartz.simpl Class SimpleInstanceIdGenerator

java.lang.Object
  extended by org.quartz.simpl.SimpleInstanceIdGenerator
All Implemented Interfaces:
org.quartz.spi.InstanceIdGenerator

public class SimpleInstanceIdGenerator
extends Object
implements org.quartz.spi.InstanceIdGenerator

The default InstanceIdGenerator used by Quartz when instance id is to be automatically generated. Instance id is of the form HOSTNAME + CURRENT_TIME.

See Also:
InstanceIdGenerator, HostnameInstanceIdGenerator

Constructor Summary
SimpleInstanceIdGenerator()
           
 
Method Summary
 String generateInstanceId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleInstanceIdGenerator

public SimpleInstanceIdGenerator()
Method Detail

generateInstanceId

public String generateInstanceId()
                          throws SchedulerException
Specified by:
generateInstanceId in interface org.quartz.spi.InstanceIdGenerator
Throws:
SchedulerException


Copyright 2001-2011, Terracotta, Inc.