com.cumulocity.sdk.client
Interface Poller

All Known Implementing Classes:
FixedRatePoller, MeasurementFixedRatePoller, OperationsByAgentAndStatusPollerImpl

public interface Poller

This interface provides methods for controlling polling tasks. It can be used for any task that needs to be run according to some schedule.


Method Summary
 boolean start()
          Starts poller
 void stop()
          Stops poller after finishing all started jobs
 

Method Detail

start

boolean start()
Starts poller

Returns:
true if the poller was successfully started

stop

void stop()
Stops poller after finishing all started jobs



Copyright © 2013 (C) Cumulocity GmbH. All Rights Reserved.