Method: LogStash::StringInterpolation#cache_size

Defined in:
lib/logstash/string_interpolation.rb

#cache_sizeFixnum

Returns the compiled templates cache size.

Returns:

  • (Fixnum)

    the compiled templates cache size



13
14
15
# File 'lib/logstash/string_interpolation.rb', line 13

def cache_size
  Java::OrgLogstash::StringInterpolation.get_instance.cache_size;
end