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

com.bazaarvoice.emodb.table.db.astyanax.PlacementFactory Maven / Gradle / Ivy

package com.bazaarvoice.emodb.table.db.astyanax;

import com.bazaarvoice.emodb.datacenter.api.DataCenter;
import com.bazaarvoice.emodb.sor.api.UnknownPlacementException;
import com.netflix.astyanax.connectionpool.exceptions.ConnectionException;

import java.util.Collection;

public interface PlacementFactory {

    Collection getValidPlacements();

    boolean isValidPlacement(String placement);

    boolean isAvailablePlacement(String placement);

    Placement newPlacement(String placement)
            throws UnknownPlacementException, ConnectionException;

    Collection getDataCenters(String placement);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy