lib/logstash/outputs/s3/file_repository.rb in logstash-output-s3-4.0.10 vs lib/logstash/outputs/s3/file_repository.rb in logstash-output-s3-4.0.11
- old
+ new
@@ -39,9 +39,10 @@
with_lock{ |factory| factory.current.delete! }
end
end
class FactoryInitializer
+ include java.util.function.Function
def initialize(tags, encoding, temporary_directory, stale_time)
@tags = tags
@encoding = encoding
@temporary_directory = temporary_directory
@stale_time = stale_time