Package de.zib.scalaris.examples.wikipedia.data

Examples of de.zib.scalaris.examples.wikipedia.data.ShortRevision


                    + revListKey + "\" from Scalaris: " + e.getMessage(),
                    e instanceof ConnectionException, oldPage, newPage,
                    newShortRevs, pageEdits, statName,
                    System.currentTimeMillis() - timeAtStart);
        }
        newShortRevs.add(0, new ShortRevision(newRev));
        requests.addWrite(revListKey, newShortRevs);
        ValueResult<Integer> pageListResult;
        pageListResult = catDiff.updatePageLists_prepare_write(results,
                requests, title, curOp, statName);
        curOp += catPageReads;
View Full Code Here


            }
        }
        //  PAGE LISTS UPDATE, step 1: append to / remove from old lists
        requests = new Transaction.RequestList();
        String revListKey = getRevListKey(title0, nsObject);
        requests.addAddDelOnList(revListKey, Arrays.asList(new ShortRevision(newRev)), null);
        ValueResult<Integer> pageListResult;
        pageListResult = catDiff.updatePageLists_prepare_appends(requests, title, statName);
        if (!pageListResult.success) {
            return new SavePageResult(false, pageListResult.message,
                    pageListResult.connect_failed, oldPage, newPage,
View Full Code Here

TOP

Related Classes of de.zib.scalaris.examples.wikipedia.data.ShortRevision

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.