Package org.xtreemfs.babudb.log

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


     */
   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

Related Classes of org.xtreemfs.babudb.log.SyncListener

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.