Interface TaskIdGenerator

All Known Implementing Classes:
DefaultTaskIdGenerator
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 TaskIdGenerator
Strategy for generating task identifiers.
  • Method Summary

    Modifier and Type
    Method
    Description
    generateTaskId(@Nullable Map<String,Object> meta, @Nullable String sessionId)
    Generates a task identifier.
  • Method Details

    • generateTaskId

      String generateTaskId(@Nullable Map<String,Object> meta, @Nullable String sessionId)
      Generates a task identifier.
      Parameters:
      meta - the request metadata, or null
      sessionId - the current session identifier, or null
      Returns:
      a unique task identifier