Examples of RamStore


Examples of org.elasticsearch.index.store.ram.RamStore

        ShardId shardId = new ShardId(new Index("index"), 1);
        String type = args.length > 0 ? args[0] : "ram";
        Store store;
        if (type.equalsIgnoreCase("ram")) {
            store = new RamStore(shardId, settings, null);
        } else if (type.equalsIgnoreCase("simple-fs")) {
            store = new SimpleFsStore(shardId, settings, new SimpleFsIndexStore(shardId.index(), settings, null, nodeEnvironment), byteBufferCache);
        } else if (type.equalsIgnoreCase("mmap-fs")) {
            store = new NioFsStore(shardId, settings, new NioFsIndexStore(shardId.index(), settings, null, nodeEnvironment), byteBufferCache);
        } else if (type.equalsIgnoreCase("nio-fs")) {
View Full Code Here

Examples of org.elasticsearch.index.store.ram.RamStore

        engine.close();
        store.close();
    }

    protected Store createStore() throws IOException {
        return new RamStore(shardId, EMPTY_SETTINGS, null);
    }
View Full Code Here

Examples of org.elasticsearch.index.store.ram.RamStore

    protected Store createStore() throws IOException {
        return new RamStore(shardId, EMPTY_SETTINGS, null);
    }

    protected Store createStoreReplica() throws IOException {
        return new RamStore(shardId, EMPTY_SETTINGS, null);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.