Package voldemort.store.compress

Examples of voldemort.store.compress.CompressingStore


                                                             store.getName()));
        }

        // Add compression layer
        if(keySerializerDefinition.hasCompression() || valueSerializerDefinition.hasCompression()) {
            store = new CompressingStore(store,
                                         new CompressionStrategyFactory().get(keySerializerDefinition.getCompression()),
                                         new CompressionStrategyFactory().get(valueSerializerDefinition.getCompression()));
        }

        // Add Serialization layer
View Full Code Here


                                                                                    router,
                                                                                    i,
                                                                                    currNode,
                                                                                    1);
            readOnlyStores.put(i, readOnlyStorageEngine);
            Store<ByteArray, byte[], byte[]> innerStore = new CompressingStore(readOnlyStorageEngine,
                                                                               keyCompressionStrat,
                                                                               valueCompressionStrat);
            nodeStores.put(i, SerializingStore.wrap(innerStore,
                                                    keySerializer,
                                                    valueSerializer,
View Full Code Here

        }

        if(this.config.isEnableCompressionLayer()) {
            if(storeDef.getKeySerializer().hasCompression()
               || storeDef.getValueSerializer().hasCompression()) {
                store = new CompressingStore(store,
                                             getCompressionStrategy(storeDef.getKeySerializer()),
                                             getCompressionStrategy(storeDef.getValueSerializer()));
            }
        }
View Full Code Here

TOP

Related Classes of voldemort.store.compress.CompressingStore

Copyright © 2018 www.massapicom. 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.