Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.quartz.simpl
Class SimpleInstanceIdGenerator

    java.lang.Object
      org.quartz.simpl.SimpleInstanceIdGenerator

All Implemented Interfaces:
  InstanceIdGenerator

public class SimpleInstanceIdGenerator
extends Object
implements 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()` Generate the instance id for a `Scheduler`

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

  Description copied from interface: `InstanceIdGenerator`
  Generate the instance id for a `Scheduler`

  Specified by:
    `generateInstanceId` in interface `InstanceIdGenerator`
  Returns:
    The clusterwide unique instance id.
  Throws:
    `SchedulerException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Quartz Enterprise Job Scheduler Project Page
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD