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

org.nustaq.reallive.api.TableSpace Maven / Gradle / Ivy

There is a newer version: 5.2.1
Show newest version
package org.nustaq.reallive.api;

import org.nustaq.kontraktor.Callback;
import org.nustaq.kontraktor.IPromise;
import org.nustaq.reallive.messages.StateMessage;

import java.util.List;
import java.util.Map;

/**
 * Created by ruedi on 08.08.2015.
 */
public interface TableSpace {

    /**
     * ndicates to use a default (or self determine) in case this is set as a base dir
     */
    public static final String USE_BASE_DIR = "USE_BASE_DIR";

    IPromise createOrLoadTable(TableDescription desc);
    IPromise dropTable( String name );
    IPromise> getTableDescriptions();
    IPromise> getTables();
    IPromise getTableAsync(String name);
    IPromise shutDown();
    void stateListener( Callback stateListener );

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy