Package org.cyclos.model.utils
Class CacheStatsVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.utils.CacheStatsVO
-
- All Implemented Interfaces:
Serializable
public class CacheStatsVO extends Bean
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<String,CacheStatsVO>EVICTION_COUNTstatic BasicProperty<Double,CacheStatsVO>HIT_RATEstatic BasicProperty<String,CacheStatsVO>REQUEST_COUNTstatic BasicProperty<String,CacheStatsVO>SIZE
-
Constructor Summary
Constructors Constructor Description CacheStatsVO()CacheStatsVO(Property<T,? super CacheStatsVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()StringgetEvictionCount()doublegetHitRate()StringgetRequestCount()StringgetSize()voidsetEvictionCount(String evictionCount)voidsetHitRate(double hitRate)voidsetRequestCount(String requestCount)voidsetSize(String size)-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
EVICTION_COUNT
public static final BasicProperty<String,CacheStatsVO> EVICTION_COUNT
-
HIT_RATE
public static final BasicProperty<Double,CacheStatsVO> HIT_RATE
-
REQUEST_COUNT
public static final BasicProperty<String,CacheStatsVO> REQUEST_COUNT
-
SIZE
public static final BasicProperty<String,CacheStatsVO> SIZE
-
-
Constructor Detail
-
CacheStatsVO
public CacheStatsVO()
-
CacheStatsVO
public CacheStatsVO(Property<T,? super CacheStatsVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
getEvictionCount
public String getEvictionCount()
-
setEvictionCount
public void setEvictionCount(String evictionCount)
-
getHitRate
public double getHitRate()
-
setHitRate
public void setHitRate(double hitRate)
-
getRequestCount
public String getRequestCount()
-
setRequestCount
public void setRequestCount(String requestCount)
-
getSize
public String getSize()
-
setSize
public void setSize(String size)
-
-