ehcache

net.sf.ehcache.statistics.beans
Class LongBeanProxy

java.lang.Object
  extended by net.sf.ehcache.statistics.beans.AttributeProxy<Long>
      extended by net.sf.ehcache.statistics.beans.LongBeanProxy

public class LongBeanProxy
extends AttributeProxy<Long>

An implementation of a Long attribute proxy.

Author:
cschanck

Constructor Summary
LongBeanProxy(String name, String description, boolean isRead, boolean isWrite)
          Instantiates a new long bean proxy.
 
Method Summary
 Long get(String name)
          Gets the value.
 void set(String name, Long t)
          Sets the value.
 
Methods inherited from class net.sf.ehcache.statistics.beans.AttributeProxy
getDescription, getName, getTypeClass, isRead, isWrite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongBeanProxy

public LongBeanProxy(String name,
                     String description,
                     boolean isRead,
                     boolean isWrite)
Instantiates a new long bean proxy.

Parameters:
name - the name
description - the description
isRead - the is read
isWrite - the is write
Method Detail

get

public Long get(String name)
Description copied from class: AttributeProxy
Gets the value.

Overrides:
get in class AttributeProxy<Long>
Parameters:
name - the name
Returns:
the value

set

public void set(String name,
                Long t)
Description copied from class: AttributeProxy
Sets the value.

Overrides:
set in class AttributeProxy<Long>
Parameters:
name - the name
t - the value

ehcache

Copyright 2001-2014, Terracotta, Inc.