Class AlteringRateResultPoller<K>
- java.lang.Object
-
- com.cumulocity.sdk.client.polling.AlteringRateResultPoller<K>
-
- All Implemented Interfaces:
Poller
,ResultPoller<K>
public class AlteringRateResultPoller<K> extends Object implements ResultPoller<K>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AlteringRateResultPoller.GetResultTask<K>
-
Constructor Summary
Constructors Constructor Description AlteringRateResultPoller(AlteringRateResultPoller.GetResultTask<K> task, PollingStrategy strategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
start()
Starts pollerK
startAndPoll()
void
stop()
Stops poller after finishing all started jobs
-
-
-
Constructor Detail
-
AlteringRateResultPoller
public AlteringRateResultPoller(AlteringRateResultPoller.GetResultTask<K> task, PollingStrategy strategy)
-
-
Method Detail
-
start
public boolean start()
Description copied from interface:Poller
Starts poller
-
stop
public void stop()
Description copied from interface:Poller
Stops poller after finishing all started jobs
-
startAndPoll
public K startAndPoll()
- Specified by:
startAndPoll
in interfaceResultPoller<K>
-
-