interfaces

package
v0.0.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CamundaInterface

type CamundaInterface interface {
	GetTasks() (tasks []messages.CamundaExternalTask, err error)
	CompleteTask(taskInfo messages.TaskInfo, outputName string, output interface{}) (err error)
	SetRetry(taskid string, tenantId string, number int64)
	Error(externalTaskId string, processInstanceId string, processDefinitionId string, msg string, tenantId string)
	GetWorkerId() string
	UnlockTask(taskInfo messages.TaskInfo) (err error)
}

type FactoryInterface

type FactoryInterface interface {
	Get(configType util.Config, producer com.ProducerInterface, metrics Metrics) (CamundaInterface, error)
}

type Metrics

type Metrics interface {
	LogCamundaCompleteTask()
	LogCamundaCompleteTaskError()
	LogIncident()
	LogCamundaLoadedTasks(count int)
	LogCamundaGetShardsError()
	LogCamundaGetTasksError()

	LogTaskMarshallingLatency(requestKind string, userId string, serviceId string, functionId string, latency time.Duration)
	LogTaskReceived(task messages.CamundaExternalTask)
	LogTaskLastEventValueRequest(task messages.GroupTaskMetadataElement)
	LogTaskCommandSend(task messages.GroupTaskMetadataElement)
	LogTaskCommandResponseReceived(task messages.TaskInfo)
	LogTaskCompleted(task messages.TaskInfo)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL