Class: GameMachine::GCache::CacheStats

Inherits:
Object
  • Object
show all
Defined in:
server/lib/game_machine/gcache/cache_stats.rb

Instance Method Summary collapse

Constructor Details

#initialize(delegate) ⇒ CacheStats

Returns a new instance of CacheStats


5
6
7
# File 'server/lib/game_machine/gcache/cache_stats.rb', line 5

def initialize(delegate)
  @delegate = delegate
end

Instance Method Details

#average_load_penaltyObject


9
10
11
# File 'server/lib/game_machine/gcache/cache_stats.rb', line 9

def average_load_penalty
  @delegate.average_load_penalty
end

#eviction_countObject


13
14
15
# File 'server/lib/game_machine/gcache/cache_stats.rb', line 13

def eviction_count
  @delegate.eviction_count
end

#hit_countObject


17
18
19
# File 'server/lib/game_machine/gcache/cache_stats.rb', line 17

def hit_count
  @delegate.hit_count
end

#hit_rateObject


21
22
23
# File 'server/lib/game_machine/gcache/cache_stats.rb', line 21

def hit_rate
  @delegate.hit_rate
end

#inspectObject


61
62
63
# File 'server/lib/game_machine/gcache/cache_stats.rb', line 61

def inspect
  to_s
end

#load_countObject


25
26
27
# File 'server/lib/game_machine/gcache/cache_stats.rb', line 25

def load_count
  @delegate.load_count
end

#load_exception_countObject


29
30
31
# File 'server/lib/game_machine/gcache/cache_stats.rb', line 29

def load_exception_count
  @delegate.load_exception_count
end

#load_exception_rateObject


33
34
35
# File 'server/lib/game_machine/gcache/cache_stats.rb', line 33

def load_exception_rate
  @delegate.load_exception_rate
end

#load_success_countObject


37
38
39
# File 'server/lib/game_machine/gcache/cache_stats.rb', line 37

def load_success_count
  @delegate.load_success_count
end

#miss_countObject


41
42
43
# File 'server/lib/game_machine/gcache/cache_stats.rb', line 41

def miss_count
  @delegate.miss_count
end

#miss_rateObject


45
46
47
# File 'server/lib/game_machine/gcache/cache_stats.rb', line 45

def miss_rate
  @delegate.miss_rate
end

#request_countObject


49
50
51
# File 'server/lib/game_machine/gcache/cache_stats.rb', line 49

def request_count
  @delegate.request_count
end

#to_sObject


57
58
59
# File 'server/lib/game_machine/gcache/cache_stats.rb', line 57

def to_s
  @delegate.to_string
end

#total_load_timeObject


53
54
55
# File 'server/lib/game_machine/gcache/cache_stats.rb', line 53

def total_load_time
  @delegate.total_load_time
end