Sha256: ad7e0c52e3ab5fbb6525b9d86178499c6f5c1ea81d17b510cf1dcfe5d07da90a

Contents?: true

Size: 363 Bytes

Versions: 24

Compression:

Stored size: 363 Bytes

Contents

require "java"
$CLASSPATH << File.join(File.dirname(__FILE__), "..", "jruby-ext", "target", "classes")

require "com/purbon/jrmonitor/JRMonitor"

module JRMonitor

  def self.threads
    Report::Threads.new
  end

  def self.system
    Report::System.new
  end

  def self.memory
    Report::Memory.new
  end

  def self.process
    Report::Process.new
  end
end

Version data entries

24 entries across 23 versions & 11 rubygems

Version Path
logstash-filter-base64-1.0.2 vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/lib/jrmonitor.rb
logstash-filter-base64-1.0.1 vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/lib/jrmonitor.rb
logstash-filter-base64-1.0.0 vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/lib/jrmonitor.rb
jrmonitor-0.4.2 lib/jrmonitor.rb