Package org.exist.storage.sync

Examples of org.exist.storage.sync.SyncTask.configure()


        //setup database synchronization job
        if(majorSyncPeriod > 0) {
            //TODO : why not automatically register Sync in system tasks ?
//            scheduler.createPeriodicJob(2500, new Sync(), 2500);
            final SyncTask syncTask = new SyncTask();
            syncTask.configure(conf, null);
            scheduler.createPeriodicJob(2500, new SystemTaskJobImpl(SyncTask.getJobName(), syncTask), 2500);
        }

        if("yes".equals(System.getProperty("trace.brokers", "no"))) {
            watchdog = new BrokerWatchdog();
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.