Sha256: 44024a576919a63ea4586cd6552ac7684c3f4f6586b836ccd93bb554e8ec6e63
Contents?: true
Size: 760 Bytes
Versions: 11
Compression:
Stored size: 760 Bytes
Contents
module PhantomProxy module StatusInfo def self.boot_up @start_time=Time.now end boot_up def self.uptime Time.now-@start_time end def self.cache_hit @cache_hit||=0 end def self.cache_hit=(obj) @cache_hit=obj end def self.cache_miss @cache_miss||=0 end def self.cache_miss=(obj) @cache_miss=obj end def self.cache_error @cache_error||=0 end def self.cache_error=(obj) @cache_error=obj end def self.cache_access @cache_access||=0 end def self.cache_access=(obj) @cache_access=obj end def self.connections @connections||=0 end def self.connections=(obj) @connections=obj end end end
Version data entries
11 entries across 11 versions & 1 rubygems