com.atlassian.bamboo.plan.cache
Class BambooCacheStats

java.lang.Object
  extended by com.atlassian.bamboo.plan.cache.BambooCacheStats

public class BambooCacheStats
extends java.lang.Object

A wrapper around CacheStats to provide other useful stats around the caches

Since:
v4.0

Constructor Summary
BambooCacheStats(com.google.common.cache.Cache<?,?> cache)
           
 
Method Summary
 long getCacheSize()
           
 com.google.common.cache.CacheStats getStats()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BambooCacheStats

public BambooCacheStats(com.google.common.cache.Cache<?,?> cache)
Method Detail

getStats

public com.google.common.cache.CacheStats getStats()

getCacheSize

public long getCacheSize()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2012 Atlassian. All Rights Reserved.