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

com.bazaarvoice.emodb.databus.db.SubscriptionDAO Maven / Gradle / Ivy

package com.bazaarvoice.emodb.databus.db;

import com.bazaarvoice.emodb.databus.api.Subscription;
import com.bazaarvoice.emodb.sor.condition.Condition;
import org.joda.time.Duration;

import javax.annotation.Nullable;
import java.util.Collection;

public interface SubscriptionDAO {

    void insertSubscription(String subscription, Condition tableFilter, Duration subscriptionTtl, Duration eventTtl);

    void deleteSubscription(String subscription);

    @Nullable
    Subscription getSubscription(String subscription);

    Collection getAllSubscriptions();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy