Package net.sf.ehcache.statistics.beans
Class LongBeanProxy
- java.lang.Object
-
- net.sf.ehcache.statistics.beans.AttributeProxy<java.lang.Long>
-
- net.sf.ehcache.statistics.beans.LongBeanProxy
-
public class LongBeanProxy extends AttributeProxy<java.lang.Long>
An implementation of a Long attribute proxy.- Author:
- cschanck
-
-
Constructor Summary
Constructors Constructor Description LongBeanProxy(java.lang.String name, java.lang.String description, boolean isRead, boolean isWrite)Instantiates a new long bean proxy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Longget(java.lang.String name)Gets the value.voidset(java.lang.String name, java.lang.Long t)Sets the value.-
Methods inherited from class net.sf.ehcache.statistics.beans.AttributeProxy
getDescription, getName, getTypeClass, isRead, isWrite
-
-
-
-
Method Detail
-
get
public java.lang.Long get(java.lang.String name)
Description copied from class:AttributeProxyGets the value.- Overrides:
getin classAttributeProxy<java.lang.Long>- Parameters:
name- the name- Returns:
- the value
-
set
public void set(java.lang.String name, java.lang.Long t)Description copied from class:AttributeProxySets the value.- Overrides:
setin classAttributeProxy<java.lang.Long>- Parameters:
name- the namet- the value
-
-