All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.qmetric.feed.consumer.store.FeedTracker Maven / Gradle / Ivy

Go to download

Java library for consuming HAL+JSON feeds (https://github.com/qmetric/hal-feed-server)

There is a newer version: 3.18
Show newest version
package com.qmetric.feed.consumer.store;

import com.qmetric.feed.consumer.EntryId;
import com.qmetric.feed.consumer.TrackedEntry;

public interface FeedTracker
{
    void checkConnectivity() throws ConnectivityException;

    boolean isTracked(EntryId id);

    void track(EntryId id);

    Iterable getEntriesToBeConsumed();

    void markAsConsuming(EntryId id) throws AlreadyConsumingException;

    void markAsConsumed(EntryId id);

    void fail(TrackedEntry trackedEntry, boolean scheduleRetry);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy