Interface JobKeyGenerator<T>

Type Parameters:
T - The type of the source data used to calculate the key.
All Known Implementing Classes:
DefaultJobKeyGenerator
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface JobKeyGenerator<T>
Strategy interface for the generation of the key used in identifying unique JobInstance objects.
Since:
2.2
Author:
Michael Minella, Mahmoud Ben Hassine, Taeik Lim
  • Method Summary

    Modifier and Type
    Method
    Description
    generateKey(T source)
    Method to generate the unique key used to identify a job instance.
  • Method Details

    • generateKey

      String generateKey(T source)
      Method to generate the unique key used to identify a job instance.
      Parameters:
      source - Source information used to generate the key (must not be null).
      Returns:
      a unique string identifying the job based on the information supplied.