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

pl.allegro.tech.hermes.domain.topic.TopicRepository Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
package pl.allegro.tech.hermes.domain.topic;

import pl.allegro.tech.hermes.api.Topic;
import pl.allegro.tech.hermes.api.TopicName;

import java.util.Collection;
import java.util.List;

public interface TopicRepository {

    boolean topicExists(TopicName topicName);

    void ensureTopicExists(TopicName topicName);

    List listTopicNames(String groupName);

    List listTopics(String groupName);

    void createTopic(Topic topic);

    void removeTopic(TopicName topicName);

    void updateTopic(Topic topic);

    void touchTopic(TopicName topicName);

    Topic getTopicDetails(TopicName topicName);

    List getTopicsDetails(Collection topicNames);

    List listAllTopics();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy