Class JobActivationPropertiesImpl
java.lang.Object
io.camunda.zeebe.msgpack.value.BaseValue
io.camunda.zeebe.msgpack.value.ObjectValue
io.camunda.zeebe.msgpack.UnpackedObject
io.camunda.zeebe.protocol.impl.stream.job.JobActivationPropertiesImpl
- All Implemented Interfaces:
Recyclable,JobActivationProperties,BufferReader,BufferWriter
-
Field Summary
Fields inherited from class io.camunda.zeebe.msgpack.UnpackedObject
reader, writer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<org.agrona.DirectBuffer> Returns the variables requested by the worker, or an empty collection if all variables are requested.setFetchVariables(Collection<StringValue> variables) setTenantIds(Collection<String> tenantIds) setTimeout(long val) setWorker(org.agrona.DirectBuffer worker, int offset, int length) Returns the identifiers of the tenants that own the jobs requested to be activated by the worker.longtimeout()Returns the activation timeout of the job, i.e. how long before the job is made activate-able again after activationorg.agrona.DirectBufferworker()Returns the name of the worker.Methods inherited from class io.camunda.zeebe.msgpack.UnpackedObject
getLength, wrap, wrap, writeMethods inherited from class io.camunda.zeebe.msgpack.value.ObjectValue
declareProperty, equals, getEncodedLength, hashCode, isEmpty, read, reset, write, writeJSONMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.camunda.zeebe.util.buffer.BufferReader
copyFromMethods inherited from interface io.camunda.zeebe.util.buffer.BufferWriter
getLength, writeMethods inherited from interface io.camunda.zeebe.msgpack.Recyclable
reset
-
Constructor Details
-
JobActivationPropertiesImpl
public JobActivationPropertiesImpl()
-
-
Method Details
-
setWorker
public JobActivationPropertiesImpl setWorker(org.agrona.DirectBuffer worker, int offset, int length) -
setTimeout
-
setFetchVariables
-
setTenantIds
-
worker
public org.agrona.DirectBuffer worker()Description copied from interface:JobActivationPropertiesReturns the name of the worker. This is mostly used for debugging purposes.- Specified by:
workerin interfaceJobActivationProperties- See Also:
-
fetchVariables
Description copied from interface:JobActivationPropertiesReturns the variables requested by the worker, or an empty collection if all variables are requested.- Specified by:
fetchVariablesin interfaceJobActivationProperties- See Also:
-
timeout
public long timeout()Description copied from interface:JobActivationPropertiesReturns the activation timeout of the job, i.e. how long before the job is made activate-able again after activation- Specified by:
timeoutin interfaceJobActivationProperties- See Also:
-
tenantIds
Description copied from interface:JobActivationPropertiesReturns the identifiers of the tenants that own the jobs requested to be activated by the worker.- Specified by:
tenantIdsin interfaceJobActivationProperties- Returns:
- the identifiers of the tenants for which to activate jobs
-