Class TraversingFsConsumer

    • Constructor Detail

      • TraversingFsConsumer

        public TraversingFsConsumer()
    • Method Detail

      • processMessages

        protected int processMessages()
        Description copied from class: FsConsumerImpl

        If reacquire-lock-between-messages is set to true, this.reaquireLock is called after each message has been processed. This gives other Threads (e.g. something stopping the adapter) the opportunity to obtain the lock without waiting for all messages to be processed.

        Overrides:
        processMessages in class FsConsumerImpl
        See Also:
        AdaptrisPollingConsumer.processMessages()
      • processFile

        protected int processFile​(java.io.File f)
                           throws CoreException
        Description copied from class: FsConsumerImpl
        Attempt to process this file which might be a directory.
        Overrides:
        processFile in class FsConsumer
        Parameters:
        f - the File
        Returns:
        the number of files processed.
        Throws:
        CoreException - wrapping any other Exception.