congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
CouchDbChangeMonitor.addChangeListener
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using ca.carleton.gcrc.couch.client.CouchDbChangeMonitor.addChangeListener (Showing top 4 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-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.clientCouchDbChangeMonitoraddChangeListener

Popular methods of CouchDbChangeMonitor

  • shutdown

Popular in Java

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onRequestPermissionsResult (Fragment)
  • getResourceAsStream (ClassLoader)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Option (scala)
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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