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.spi
Interface InstanceIdGenerator

All Known Implementing Classes:
  HostnameInstanceIdGenerator, SimpleInstanceIdGenerator

public interface InstanceIdGenerator

An InstanceIdGenerator is responsible for generating the clusterwide unique instance id for a `Scheduler` nodde.

This interface may be of use to those wishing to have specific control over the mechanism by which the `Scheduler` instances in their application are named.

See Also:
  `SimpleInstanceIdGenerator`

Method Summary
`String` | `generateInstanceId()` Generate the instance id for a `Scheduler`

Method Detail

### generateInstanceId

    public String generateInstanceId()
                              throws SchedulerException

  Generate the instance id for a `Scheduler`

  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