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

uk.co.shastra.hydra.messaging.messagefetchers.MessageFetcher Maven / Gradle / Ivy

Go to download

Hydra is a simple, highly redundant pull-based messaging system. It uses CouchDb as its message store, and replication to deliver messages. It can be used by any language capable of making HTTP calls, and C# and Java client implementations are included.

The newest version!
package uk.co.shastra.hydra.messaging.messagefetchers;

import uk.co.shastra.hydra.messaging.TransportMessage;
import uk.co.shastra.hydra.messaging.messageids.MessageId;
import uk.co.shastra.hydra.messaging.storage.Store;

public interface MessageFetcher {
    // Messages with MessageId > startId and with SeqId <= lastSeq
    Iterable messagesAfterIdUpToSeq(Store store, MessageId startId, long lastSeq);
    Iterable messagesInSet(Store store, Iterable messageIds);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy