org.terracotta.modules.hibernatecache.presentation
Class CacheRegionInfo

java.lang.Object
  extended by org.terracotta.modules.hibernatecache.presentation.CacheRegionInfo

public class CacheRegionInfo
extends Object


Field Summary
static String ENABLED_PROP
           
static String LOGGING_ENABLED_PROP
           
protected  PropertyChangeSupport propertyChangeSupport
           
static String TARGET_MAX_IN_MEMORY_COUNT_PROP
           
static String TARGET_MAX_TOTAL_COUNT_PROP
           
static String TTI_PROP
           
static String TTL_PROP
           
 
Constructor Summary
CacheRegionInfo(String regionName, Map<String,Object> attrs, HibernateStatsMBeanProvider statsBeanProvider)
           
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
           
 void clearStats()
           
 void firePropertyChange(String propertyName, Object oldValue, Object newValue)
           
 void flush()
           
 String getRegionName()
           
 String getShortName()
           
 int getTargetMaxInMemoryCount()
           
 int getTargetMaxTotalCount()
           
 int getTTI()
           
 int getTTL()
           
 boolean isEnabled()
           
 boolean isLoggingEnabled()
           
 void removePropertyChangeListener(PropertyChangeListener listener)
           
 void setAttributes(Map<String,Object> attrs)
           
 void setEnabled(boolean enabled)
           
 void setLoggingEnabled(boolean enabled)
           
 void setTargetMaxInMemoryCount(int targetMaxInMemoryCount)
           
 void setTargetMaxTotalCount(int targetMaxTotalCount)
           
 void setTTI(int seconds)
           
 void setTTL(int seconds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENABLED_PROP

public static final String ENABLED_PROP
See Also:
Constant Field Values

TTI_PROP

public static final String TTI_PROP
See Also:
Constant Field Values

TTL_PROP

public static final String TTL_PROP
See Also:
Constant Field Values

TARGET_MAX_IN_MEMORY_COUNT_PROP

public static final String TARGET_MAX_IN_MEMORY_COUNT_PROP
See Also:
Constant Field Values

TARGET_MAX_TOTAL_COUNT_PROP

public static final String TARGET_MAX_TOTAL_COUNT_PROP
See Also:
Constant Field Values

LOGGING_ENABLED_PROP

public static final String LOGGING_ENABLED_PROP
See Also:
Constant Field Values

propertyChangeSupport

protected PropertyChangeSupport propertyChangeSupport
Constructor Detail

CacheRegionInfo

public CacheRegionInfo(String regionName,
                       Map<String,Object> attrs,
                       HibernateStatsMBeanProvider statsBeanProvider)
Method Detail

setAttributes

public void setAttributes(Map<String,Object> attrs)

getRegionName

public String getRegionName()

getShortName

public String getShortName()

setEnabled

public void setEnabled(boolean enabled)

isEnabled

public boolean isEnabled()

setTTI

public void setTTI(int seconds)

getTTI

public int getTTI()

setTTL

public void setTTL(int seconds)

getTTL

public int getTTL()

setTargetMaxInMemoryCount

public void setTargetMaxInMemoryCount(int targetMaxInMemoryCount)

getTargetMaxInMemoryCount

public int getTargetMaxInMemoryCount()

setTargetMaxTotalCount

public void setTargetMaxTotalCount(int targetMaxTotalCount)

getTargetMaxTotalCount

public int getTargetMaxTotalCount()

setLoggingEnabled

public void setLoggingEnabled(boolean enabled)

isLoggingEnabled

public boolean isLoggingEnabled()

flush

public void flush()

clearStats

public void clearStats()

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)

firePropertyChange

public void firePropertyChange(String propertyName,
                               Object oldValue,
                               Object newValue)


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.