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 interfaceAlteringRateResultPoller.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 booleanstart()Starts pollerKstartAndPoll()voidstop()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:PollerStarts poller
-
stop
public void stop()
Description copied from interface:PollerStops poller after finishing all started jobs
-
startAndPoll
public K startAndPoll()
- Specified by:
startAndPollin interfaceResultPoller<K>
-
-