org.nustaq.reallive.api.TableSpace Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of reallive Show documentation
Show all versions of reallive Show documentation
persistent inmemory datagrid based on kontraktor
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 );
}