Codota Logo
FolderWatchSchema
Code IndexAdd Codota to your IDE (free)

How to use
FolderWatchSchema
in
com.ociweb.pronghorn.stage.file.schema

Best Java code snippets using com.ociweb.pronghorn.stage.file.schema.FolderWatchSchema (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: oci-pronghorn/Pronghorn

public static void consume(Pipe<FolderWatchSchema> input) {
  while (PipeReader.tryReadFragment(input)) {
    int msgIdx = PipeReader.getMsgIdx(input);
    switch(msgIdx) {
      case MSG_NEWFILE_1:
        consumeNewFile(input);
      break;
      case MSG_UPDATEDFILE_2:
        consumeUpdatedFile(input);
      break;
      case MSG_DELETEDFILE_3:
        consumeDeletedFile(input);
      break;
      case -1:
        //requestShutdown();
      break;
    }
    PipeReader.releaseReadLock(input);
  }
}
origin: oci-pronghorn/Pronghorn

Pipe<FolderWatchSchema>[] output = Pipe.buildPipes(filePatterns.length, FolderWatchSchema.instance.newPipeConfig(10,64));
Pipe<FolderWatchSchema> defaultOutput = FolderWatchSchema.instance.newPipe(4, 64);
WatchServiceStage.newInstance(gm, pathText, filePatterns, output, defaultOutput, 
              WatchServiceStage.EVENT_CREATE|WatchServiceStage.EVENT_DELETE);
com.ociweb.pronghorn.stage.file.schemaFolderWatchSchema

Most used methods

  • consumeDeletedFile
  • consumeNewFile
  • consumeUpdatedFile
  • newPipe
  • newPipeConfig

Popular in Java

  • Updating database using SQL prepared statement
  • getContentResolver (Context)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • putExtra (Intent)
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • LinkedHashMap (java.util)
    Hash table and linked list implementation of the Map interface, with predictable iteration order. Th
  • Set (java.util)
    A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now