Method: Cache.cache_full?

Defined in:
lib/logstash/filters/ip2proxy.rb

.cache_full?(cache_size) ⇒ Boolean

Returns:

  • (Boolean)


138
139
140
# File 'lib/logstash/filters/ip2proxy.rb', line 138

def cache_full?(cache_size)
  cache.size >= cache_size
end