Table of Contents

Interface IInstanceIdGenerator

Namespace
Quartz.Extensibility
Assembly
Quartz.dll

An IInstanceIdGenerator is responsible for generating the clusterwide unique instance id for a IScheduler node.

public interface IInstanceIdGenerator

Remarks

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

Methods

GenerateInstanceId(CancellationToken)

Generate the instance id for a IScheduler

ValueTask<string> GenerateInstanceId(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

ValueTask<string>

The clusterwide unique instance id.

See Also