de.viadee.camunda.kafka.pollingclient.service.lastpolled.LastPolledService Maven / Gradle / Ivy
package de.viadee.camunda.kafka.pollingclient.service.lastpolled;
/**
*
* LastPolledService interface.
*
*
* @author viadee
* @version $Id: $Id
*/
public interface LastPolledService {
/**
* Provide time slice of last polling. If none already available, initial slice is provided.
*
* @return a {@link de.viadee.camunda.kafka.pollingclient.service.lastpolled.PollingTimeslice} object.
*/
PollingTimeslice getPollingTimeslice();
/**
* Update polling time slice to mark given slice as polled.
*
* @param pollingTimeslice
* a {@link de.viadee.camunda.kafka.pollingclient.service.lastpolled.PollingTimeslice} object.
*/
void updatePollingTimeslice(PollingTimeslice pollingTimeslice);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy