Examples of SyncListener


Examples of org.xtreemfs.babudb.log.SyncListener

        private void becomeMaster() throws Exception {
           
            Logging.logMessage(Logging.LEVEL_INFO, this, "Becoming the replication master.");
                 
            // synchronize with other servers
            serviceInterface.synchronize(new SyncListener() {
               
                @Override
                public void synced(LSN lsn) {
                   
                    notifyForSuccessfulFailover(thisAddress);
View Full Code Here

Examples of org.xtreemfs.babudb.log.SyncListener

     */
   private final LogEntry generateLogEntry(final TransactionInternal txn,
           ReusableBuffer payload, final BabuDBRequestResultImpl<Object> listener,
           final Object[] results) {
       
        LogEntry result = new LogEntry(payload, new SyncListener() {
           
            @Override
            public void synced(LSN lsn) {
       
                try {
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.