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

com.qmetric.feed.consumer.ConsumeAction 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;

/**
 * Application-specific feed entry consumption.
 */
public interface ConsumeAction
{
    /**
     * Consume next entry from feed.
     * Any exception thrown from this method will have the same affect as returning Result.RetryUnsuccessful().
     *
     * @param feedEntry Feed entry to consume.
     *
     * @return Success or failure of consumption.
     */
    Result consume(FeedEntry feedEntry);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy