Interface JobActivationProperties

All Superinterfaces:
BufferWriter
All Known Implementing Classes:
JobActivationPropertiesImpl

public interface JobActivationProperties extends BufferWriter
JobActivationProperties represents the minimum set of properties required to activate a JobRecordValue in the engine.
  • Method Summary

    Modifier and Type
    Method
    Description
    Collection<org.agrona.DirectBuffer>
    Returns the variables requested by the worker, or an empty collection if all variables are requested.
    Returns the identifiers of the tenants that own the jobs requested to be activated by the worker.
    long
    Returns the activation timeout of the job, i.e. how long before the job is made activate-able again after activation
    org.agrona.DirectBuffer
    Returns the name of the worker.

    Methods inherited from interface io.camunda.zeebe.util.buffer.BufferWriter

    getLength, write
  • Method Details

    • worker

      org.agrona.DirectBuffer worker()
      Returns the name of the worker. This is mostly used for debugging purposes.
      See Also:
    • fetchVariables

      Collection<org.agrona.DirectBuffer> fetchVariables()
      Returns the variables requested by the worker, or an empty collection if all variables are requested.
      See Also:
    • timeout

      long timeout()
      Returns the activation timeout of the job, i.e. how long before the job is made activate-able again after activation
      See Also:
    • tenantIds

      Collection<String> tenantIds()
      Returns the identifiers of the tenants that own the jobs requested to be activated by the worker.
      Returns:
      the identifiers of the tenants for which to activate jobs