Search in sources :

Example 1 with StoreService

use of io.dingodb.store.api.StoreService in project dingo by dingodb.

the class ExecutorServer method start.

public void start(final ExecutorOptions opts) throws Exception {
    this.svrOpts = opts;
    log.info("Executor all configuration: {}.", this.svrOpts);
    log.info("instance configuration: {}.", DingoOptions.instance());
    netService.listenPort(svrOpts.getExchange().getPort());
    DingoRowStoreOptions rowStoreOpts = buildRowStoreOptions();
    RowStoreInstance.setRowStoreOptions(rowStoreOpts);
    StoreService storeService = loadStoreService();
    storeService.getInstance("/tmp");
    // todo refactor
    storeHeartBeatSender();
}
Also used : DingoRowStoreOptions(io.dingodb.store.row.options.DingoRowStoreOptions) StoreService(io.dingodb.store.api.StoreService)

Aggregations

StoreService (io.dingodb.store.api.StoreService)1 DingoRowStoreOptions (io.dingodb.store.row.options.DingoRowStoreOptions)1