changeState

abstract fun changeState(serviceId: Int, state: Pipeline.State)

Changes the state of an OffloadingService in the database based on its ID.

Parameters

serviceId

the unique identifier that represents a specific OffloadingService in the table.

state

the new state to be set for the OffloadingService.