Package com.sleepycat.je.sync.impl.LogChangeSet

Examples of com.sleepycat.je.sync.impl.LogChangeSet.LogChangeSetBinding.entryToObject()


        /* Go over the whole list. */
        LogChangeSetBinding binding = new LogChangeSetBinding();
        long minValue = Long.MAX_VALUE;
        for (Map.Entry<String, DatabaseEntry> entry : changeSets.entrySet()) {
            LogChangeSet changeSet = binding.entryToObject(entry.getValue());
            syncStarts.put(entry.getKey(), changeSet.getNextSyncStart());
            /* Find the minSyncStart. */
            if (doCompare(minValue, changeSet.getNextSyncStart()) > 0) {
                minValue = changeSet.getNextSyncStart();
            }
View Full Code Here


                    syncStartInfos =
                        new ConcurrentHashMap<String, StartInfo>();
                    txnIdToSyncStarts.put(txn.getId(), syncStartInfos);
                }
                LogChangeSetBinding binding = new LogChangeSetBinding();
                LogChangeSet set = binding.entryToObject(data);
                StartInfo startInfo =
                    new StartInfo(set.getNextSyncStart(), isDelete);
                syncStartInfos.put(dataSetName, startInfo);
            }
        }
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.