Package voldemort.utils

Examples of voldemort.utils.SystemTime


public class InMemoryMultiThreadedTest {

    public static void main(String[] args) throws Exception {
        Store<byte[], byte[], byte[]> store = new VersionIncrementingStore<byte[], byte[], byte[]>(new InMemoryStorageEngine<byte[], byte[], byte[]>("test"),
                                                                                                   0,
                                                                                                   new SystemTime());
        store = new InconsistencyResolvingStore<byte[], byte[], byte[]>(store,
                                                                        new VectorClockInconsistencyResolver<byte[]>());
        new MultithreadedStressTest(store, 5, 1000000, 10).testGetAndPut();
    }
View Full Code Here


     * Create a logging store that wraps the given store
     *
     * @param store The store to wrap
     */
    public LoggingStore(Store<K, V, T> store) {
        this(store, new SystemTime());
    }
View Full Code Here

TOP

Related Classes of voldemort.utils.SystemTime

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.