Package com.dotmarketing.common.business.journal

Examples of com.dotmarketing.common.business.journal.DistributedJournalAPI


public class Cluster implements ClusterMBean {

  public void startCluster() {
    ClusterThreadProxy.startThread(Config.getIntProperty("DIST_INDEXATION_SLEEP",5000),Config.getIntProperty("DIST_INDEXATION_INIT_DELAY",1000));
    DistributedJournalAPI distJournal=APILocator.getDistributedJournalAPI();
    distJournal.setIndexationEnabled(true);
  }
View Full Code Here


    distJournal.setIndexationEnabled(true);
  }

  public void startCluster(int sleep, int delay) {
    ClusterThreadProxy.startThread(sleep,delay);
    DistributedJournalAPI distJournal=APILocator.getDistributedJournalAPI();
    distJournal.setIndexationEnabled(true);
  }
View Full Code Here

    distJournal.setIndexationEnabled(true);
  }

  public void stopCluster() {
    ClusterThreadProxy.stopThread();
    DistributedJournalAPI distJournal=APILocator.getDistributedJournalAPI();
    distJournal.setIndexationEnabled(false);

  }
View Full Code Here

TOP

Related Classes of com.dotmarketing.common.business.journal.DistributedJournalAPI

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.