Package org.sdnplatform.sync.internal.version

Examples of org.sdnplatform.sync.internal.version.VectorClock.clone()


    private void testObsoletePutFails(String message,
                                      IStore<K, V> store,
                                      K key,
                                      Versioned<V> versioned) throws SyncException {
        VectorClock clock = (VectorClock) versioned.getVersion();
        clock = clock.clone();
        try {
            store.put(key, versioned);
            fail(message);
        } catch(ObsoleteVersionException e) {
            // this is good, but check that we didn't fuck with the version
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.