public abstract class AbstractStatsCollectionListener extends Object implements StatsCollectionListener
addAbstractStatsCollectionListener method. When the abstractStatsCollection event occurs,
that object's appropriate method is invoked.| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger
The logger.
|
| Constructor and Description |
|---|
AbstractStatsCollectionListener() |
| Modifier and Type | Method and Description |
|---|---|
String |
getPropertyCategory()
Gets the property category.
|
protected String |
getPropertyKey(String name,
String attribute)
Gets the property key.
|
protected String |
getPropertyValue(String key)
Gets the property value.
|
protected String |
getPropertyValue(String name,
String attribute)
Gets the property value.
|
boolean |
isEnabled()
Checks if is enabled.
|
void |
reset()
Reset.
|
protected void |
setEnabled(boolean enabled)
Sets the enabled.
|
void |
setPropertyCategory(String propertyCategory)
Sets the property category.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitstatsCollectedpublic boolean isEnabled()
StatsCollectionListenerisEnabled in interface StatsCollectionListenerprotected void setEnabled(boolean enabled)
enabled - the new enabledprotected String getPropertyValue(String name, String attribute)
name - the nameattribute - the attributeprotected String getPropertyValue(String key)
key - the keyprotected String getPropertyKey(String name, String attribute)
name - the nameattribute - the attributepublic void reset()
public String getPropertyCategory()
public void setPropertyCategory(String propertyCategory)
propertyCategory - the new property categoryCopyright © 2009–2020 psi-probe. All rights reserved.