Class OperationsQueueHandler

java.lang.Object
com.cumulocity.sdk.client.devicecontrol.autopoll.OperationsQueueHandler

public class OperationsQueueHandler extends Object
This class is responsible for polling queue for operations to be performed by OperationProcessor instance. When operations is going to be performed, first status of operationRep in REST is changed to "executing", then OperationProcessor is triggered and after that status of operationRep in REST is changed accordingly to return value of OperationProcessor instance.
  • Field Details

  • Constructor Details

  • Method Details

    • stop

      public void stop()
      Stops after finishing operation in progress
    • start

      public void start()
      Starts, if it's not started yet