uk.co.shastra.hydra.messaging.messagefetchers.MessageFetcher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hydra Show documentation
Show all versions of hydra Show documentation
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