Examples of StoreBackend


Examples of com.fasterxml.storemate.store.backend.StoreBackend

            if (v.storeBackendConfig == null) {
                throw new IllegalStateException("Missing 'v.storeBackendConfig");
            }
            backendConfig = stuff.convertValue(v.storeBackendConfig, cfgType);
        }
        StoreBackend backend = b.with(v.storeConfig)
                .with(backendConfig)
                .build();
        StorableStore store = new StorableStoreImpl(v.storeConfig, backend, _timeMaster,
               stuff.getFileManager());
        return constructStores(stuff, v, store);
View Full Code Here

Examples of com.fasterxml.storemate.store.backend.StoreBackend

     */

    protected ExternalMetrics _gatherMetrics(long creationTime, boolean fullStats)
    {
        ExternalMetrics metrics = new ExternalMetrics(creationTime);
        StoreBackend entries = _entryStore.getBackend();
        BackendStatsConfig conf = BACKEND_STATS_CONFIG
                .onlyCollectFast(!fullStats);
        metrics.stores.entries = new BackendMetrics(entries.getEntryCount(),
                _clean(entries.getEntryStatistics(conf)));
        metrics.stores.entryIndex = new BackendMetrics(entries.getIndexedCount(),
                _clean(entries.getIndexStatistics(conf)));
        metrics.stores.lastAccessStore = new BackendMetrics(_lastAccessStore.getEntryCount(),
                _clean(_lastAccessStore.getEntryStatistics(conf)));

        AllOperationMetrics opMetrics = new AllOperationMetrics();
        metrics.operations = opMetrics;
View Full Code Here

Examples of com.fasterxml.storemate.store.backend.StoreBackend

            if (v.storeBackendConfig == null) {
                throw new IllegalStateException("Missing 'v.storeBackendConfig");
            }
            backendConfig = stuff.convertValue(v.storeBackendConfig, cfgType);
        }
        StoreBackend backend = b.with(v.storeConfig)
                .with(backendConfig)
                .build();
        StorableStore store = new StorableStoreImpl(v.storeConfig, backend, _timeMaster,
               stuff.getFileManager());
        return constructStores(stuff, v, store);
View Full Code Here

Examples of com.fasterxml.storemate.store.backend.StoreBackend

     */

    protected ExternalMetrics _gatherMetrics(long creationTime, boolean fullStats)
    {
        ExternalMetrics metrics = new ExternalMetrics(creationTime);
        StoreBackend entries = _entryStore.getBackend();
        BackendStatsConfig conf = BACKEND_STATS_CONFIG
                .onlyCollectFast(!fullStats);
        metrics.stores.entries = new BackendMetrics(entries.getEntryCount(),
                _clean(entries.getEntryStatistics(conf)));
        metrics.stores.entryIndex = new BackendMetrics(entries.getIndexedCount(),
                _clean(entries.getIndexStatistics(conf)));
        metrics.stores.lastAccessStore = new BackendMetrics(_lastAccessStore.getEntryCount(),
                _clean(_lastAccessStore.getEntryStatistics(conf)));

        AllOperationMetrics opMetrics = new AllOperationMetrics();
        metrics.operations = opMetrics;
View Full Code Here

Examples of com.fasterxml.storemate.store.backend.StoreBackend

            if (v.storeBackendConfig == null) {
                throw new IllegalStateException("Missing 'v.storeBackendConfig");
            }
            backendConfig = stuff.convertValue(v.storeBackendConfig, cfgType);
        }
        StoreBackend backend = b.with(v.storeConfig)
                .with(backendConfig)
                .build();
        StorableStore store = new StorableStoreImpl(v.storeConfig, backend, _timeMaster,
               stuff.getFileManager());
        return constructStores(stuff, v, store);
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.