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

com.bazaarvoice.emodb.event.owner.OstrichOwnerFactory Maven / Gradle / Ivy

There is a newer version: 6.5.190
Show newest version
package com.bazaarvoice.emodb.event.owner;

import com.bazaarvoice.ostrich.PartitionContext;
import com.google.common.util.concurrent.Service;

public interface OstrichOwnerFactory {
    /** Return the partition context used for the consistent hashing calculation. */
    PartitionContext getContext(String name);

    /** Create the service that owns the specified name.  The service will be started and stopped by the caller. */
    T create(String name);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy