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

com.bazaarvoice.emodb.datacenter.api.DataCenters Maven / Gradle / Ivy

package com.bazaarvoice.emodb.datacenter.api;

import java.util.Collection;

public interface DataCenters {
    /** Reload the set of data centers now.  This is rarely necessary since it's refreshed automatically every few minutes. */
    void refresh();

    /** Returns all known data centers. */
    Collection getAll();

    /** Returns the current data center. */
    DataCenter getSelf();

    /** Returns the data center where single-data center system operations (eg. CREATE/DROP TABLE) must occur. */
    DataCenter getSystem();

    Collection getForKeyspace(String keyspace);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy