public class StatSpec extends Object implements com.gemstone.gemfire.internal.StatArchiveReader.StatSpec, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
exactMatch
Determines if the class type should be an exact match; this is useful
for stats that have the same name in types that have similar names,
such as the product's CachePerfStats and the framework's
cacheperf.CachePerfStats
|
protected String |
name
The logical name of the spec
|
protected StatConfig |
statconfig
The stat config
|
| Modifier | Constructor and Description |
|---|---|
protected |
StatSpec(PerformanceStatistics statInst,
com.gemstone.gemfire.StatisticDescriptor statDesc) |
protected |
StatSpec(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
archiveMatches(File archive) |
protected StatSpec |
distill()
Used by PerfComparer to throw out stats that will not be compared
|
protected List |
findMatchingArchives(SortedMap allArchives,
StatSpecId id) |
int |
getCombineType()
Implements
StatArchiveReader.StatSpec.getCombineType(). |
String |
getDescription()
Returns a description of the statistic referred to by this
StatSpec. |
int |
getFilter() |
StatSpecId |
getId() |
Pattern |
getInstancePattern() |
protected List |
getMatchingArchives() |
boolean |
getMax() |
boolean |
getMaxCompare() |
boolean |
getMaxExpr() |
boolean |
getMaxMinusMin() |
boolean |
getMaxMinusMinCompare() |
boolean |
getMaxMinusMinExpr() |
boolean |
getMean() |
boolean |
getMeanCompare() |
boolean |
getMeanExpr() |
boolean |
getMin() |
boolean |
getMinCompare() |
boolean |
getMinExpr() |
String |
getName() |
String |
getStatName() |
boolean |
getStddev() |
boolean |
getStddevCompare() |
boolean |
getStddevExpr() |
String |
getTrimSpecName() |
String |
getTypeName() |
boolean |
instanceMatches(String textId,
long numericId) |
void |
setCombineType(int combine) |
void |
setCombineType(String combineType) |
void |
setDescription(String description)
Sets the description of the statistic referred to by this
StatSpec. |
void |
setExactMatch(boolean boolArg) |
void |
setFilter(int filter) |
void |
setFilter(String filterType) |
void |
setId(StatSpecId id) |
void |
setMax(boolean b) |
void |
setMaxCompare(boolean b) |
void |
setMaxExpr(boolean b) |
void |
setMaxMinusMin(boolean b) |
void |
setMaxMinusMinCompare(boolean b) |
void |
setMaxMinusMinExpr(boolean b) |
void |
setMean(boolean b) |
void |
setMeanCompare(boolean b) |
void |
setMeanExpr(boolean b) |
void |
setMin(boolean b) |
void |
setMinCompare(boolean b) |
void |
setMinExpr(boolean b) |
void |
setStatConfig(StatConfig statconfig) |
void |
setStddev(boolean b) |
void |
setStddevCompare(boolean b) |
void |
setStddevExpr(boolean b) |
void |
setTrimSpecName(String trimspecName) |
boolean |
statMatches(String statName) |
String |
toSpecString() |
String |
toString() |
boolean |
typeMatches(String typeName) |
protected String name
protected StatConfig statconfig
protected boolean exactMatch
protected StatSpec(String name)
protected StatSpec(PerformanceStatistics statInst, com.gemstone.gemfire.StatisticDescriptor statDesc)
public int getCombineType()
StatArchiveReader.StatSpec.getCombineType().getCombineType in interface com.gemstone.gemfire.internal.StatArchiveReader.StatSpecpublic boolean archiveMatches(File archive)
archiveMatches in interface com.gemstone.gemfire.internal.StatArchiveReader.ValueFilterpublic boolean typeMatches(String typeName)
typeMatches in interface com.gemstone.gemfire.internal.StatArchiveReader.ValueFilterpublic boolean statMatches(String statName)
statMatches in interface com.gemstone.gemfire.internal.StatArchiveReader.ValueFilterpublic boolean instanceMatches(String textId, long numericId)
instanceMatches in interface com.gemstone.gemfire.internal.StatArchiveReader.ValueFilterpublic String getName()
public String getTypeName()
public Pattern getInstancePattern()
public String getStatName()
protected List getMatchingArchives()
protected List findMatchingArchives(SortedMap allArchives, StatSpecId id)
public void setExactMatch(boolean boolArg)
public void setStatConfig(StatConfig statconfig)
public StatSpecId getId()
public void setId(StatSpecId id)
public int getFilter()
public void setFilter(String filterType)
public void setFilter(int filter)
public void setCombineType(String combineType)
public void setCombineType(int combine)
public boolean getMin()
public void setMin(boolean b)
public boolean getMax()
public void setMax(boolean b)
public boolean getMaxMinusMin()
public void setMaxMinusMin(boolean b)
public boolean getMean()
public void setMean(boolean b)
public boolean getStddev()
public void setStddev(boolean b)
public boolean getMinExpr()
public void setMinExpr(boolean b)
public boolean getMaxExpr()
public void setMaxExpr(boolean b)
public boolean getMaxMinusMinExpr()
public void setMaxMinusMinExpr(boolean b)
public boolean getMeanExpr()
public void setMeanExpr(boolean b)
public boolean getStddevExpr()
public void setStddevExpr(boolean b)
public boolean getMinCompare()
public void setMinCompare(boolean b)
public boolean getMaxCompare()
public void setMaxCompare(boolean b)
public boolean getMaxMinusMinCompare()
public void setMaxMinusMinCompare(boolean b)
public boolean getMeanCompare()
public void setMeanCompare(boolean b)
public boolean getStddevCompare()
public void setStddevCompare(boolean b)
public String getTrimSpecName()
public void setTrimSpecName(String trimspecName)
public String getDescription()
StatSpec.
author David Whitlockpublic void setDescription(String description)
StatSpec.
author David Whitlockprotected StatSpec distill()
public String toSpecString()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.