Examples of SyncTrigger


Examples of com.sleepycat.je.sync.impl.SyncCleanerBarrier.SyncTrigger

            DatabaseConfig dbConfig = new DatabaseConfig();
            dbConfig.setAllowCreate(allowCreate);
            dbConfig.setTransactional(true);
          
            /* Set the trigger for updating the SyncCleanerBarrier. */
            SyncTrigger trigger = new SyncTrigger(SYNC_TRIGGER_NAME);
            ArrayList<Trigger> list = new ArrayList<Trigger>();
            list.add(trigger);
            dbConfig.setTriggers(list);

            DbInternal.setReplicated(dbConfig, true);
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.