Tabnine Logo
CouchDbChangeMonitor
Code IndexAdd Tabnine to your IDE (free)

How to use
CouchDbChangeMonitor
in
ca.carleton.gcrc.couch.client

Best Java code snippets using ca.carleton.gcrc.couch.client.CouchDbChangeMonitor (Showing top 5 results out of 315)

origin: ca.carleton.gcrc/nunaliit2-couch-date

public DateRobotThread(CouchDesignDocument atlasDesign, Tree clusterTree) throws Exception {
  this.atlasDesign = atlasDesign;
  this.clusterTree = clusterTree;
  
  noWorkDelayInMs = DELAY_NO_WORK_POLLING;
  CouchDbChangeMonitor changeMonitor = atlasDesign.getDatabase().getChangeMonitor();
  if( null != changeMonitor ){
    changeMonitor.addChangeListener(this);
    noWorkDelayInMs = DELAY_NO_WORK_MONITOR;
  }
}

origin: ca.carleton.gcrc/nunaliit2-couch-command

  documentDatabase.getChangeMonitor().shutdown();
} catch(Exception e) {
  logger.error("Unable to shutdown change monitor on document database", e);
  userDb.getChangeMonitor().shutdown();
} catch(Exception e) {
  logger.error("Unable to shutdown change monitor on user database", e);
    submissionDb.getChangeMonitor().shutdown();
origin: ca.carleton.gcrc/nunaliit2-couch-onUpload

CouchDbChangeMonitor changeMonitor = documentDbDesign.getDatabase().getChangeMonitor();
if( null != changeMonitor ){
  changeMonitor.addChangeListener(this);
  noWorkDelayInMs = DELAY_NO_WORK_MONITOR;
  changeMonitor = submissionDbDesign.getDatabase().getChangeMonitor();
  if( null != changeMonitor ){
    changeMonitor.addChangeListener(this);
origin: ca.carleton.gcrc/nunaliit2-couch-user

public AgreementRobotThread(AgreementRobotSettings settings) throws Exception {
  this.atlasName = settings.getAtlasName();
  this.documentDbDesignDocument = settings.getDocumentDesignDocument();
  this.userDbDesignDocument = settings.getUserDb().getDesignDocument("nunaliit_user");
  
  agreementRole = "nunaliit_agreement_atlas";
  if( null != atlasName ){
    agreementRole = "nunaliit_agreement_" + atlasName;
  }
  
  noWorkDelay = DELAY_NO_WORK_POLLING;
  CouchDbChangeMonitor changeMonitor = documentDbDesignDocument.getDatabase().getChangeMonitor();
  if( null != changeMonitor ){
    noWorkDelay = DELAY_NO_WORK_MONITOR;
    changeMonitor.addChangeListener(this);
  }
}

origin: ca.carleton.gcrc/nunaliit2-couch-submission

public SubmissionRobotThread(SubmissionRobotSettings settings) throws Exception {
  this.submissionDbDesignDocument = settings.getSubmissionDesignDocument();
  this.documentDbDesignDocument = settings.getDocumentDesignDocument();
  this.userDb = settings.getUserDb();
  this.mailNotifier = settings.getMailNotifier();
  
  if( null != settings.getAtlasName() ){
    adminRole = settings.getAtlasName() + "_administrator";
    vetterRole = settings.getAtlasName() + "_vetter";
  }
  
  noWorkDelay = DELAY_NO_WORK_POLLING;
  CouchDbChangeMonitor changeMonitor = submissionDbDesignDocument.getDatabase().getChangeMonitor();
  if( null != changeMonitor ){
    noWorkDelay = DELAY_NO_WORK_MONITOR;
    changeMonitor.addChangeListener(this);
  }
}

ca.carleton.gcrc.couch.clientCouchDbChangeMonitor

Most used methods

  • addChangeListener
  • shutdown

Popular in Java

  • Finding current android device location
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • compareTo (BigDecimal)
  • setScale (BigDecimal)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • JList (javax.swing)
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now