Sha256: ff661121ed1f288dd373ca99ce3b9cc4f8ea0094b26b4513119f642bbccda853

Contents?: true

Size: 483 Bytes

Versions: 14

Compression:

Stored size: 483 Bytes

Contents

# encoding: utf-8

require 'java'

module FileWatch
  # @see `org.logstash.filewatch.WatchedFilesCollection`
  class WatchedFilesCollection

    # Closes all managed watched files.
    # @see FileWatch::WatchedFile#file_close
    def close_all
      each_file(&:file_close) # synchronized
    end

    # @return [Enumerable<String>] managed path keys (snapshot)
    alias keys paths

    # @return [Enumerable<WatchedFile>] managed files (snapshot)
    alias values files

  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
logstash-input-file-4.4.6 lib/filewatch/watched_files_collection.rb
logstash-input-file-4.4.5 lib/filewatch/watched_files_collection.rb
logstash-input-file-4.4.4 lib/filewatch/watched_files_collection.rb
logstash-input-file-4.4.3 lib/filewatch/watched_files_collection.rb
logstash-input-file-4.4.2 lib/filewatch/watched_files_collection.rb
logstash-input-file-4.4.1 lib/filewatch/watched_files_collection.rb
logstash-input-file-4.4.0 lib/filewatch/watched_files_collection.rb
logstash-input-file-4.3.1 lib/filewatch/watched_files_collection.rb
logstash-input-file-4.3.0 lib/filewatch/watched_files_collection.rb
logstash-input-file-4.2.4 lib/filewatch/watched_files_collection.rb
logstash-input-file-4.2.3 lib/filewatch/watched_files_collection.rb
logstash-input-file-4.2.2 lib/filewatch/watched_files_collection.rb
logstash-input-file-4.2.1 lib/filewatch/watched_files_collection.rb
logstash-input-file-4.2.0 lib/filewatch/watched_files_collection.rb