|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uka.ipd.sdq.ByCounter.execution.AbstractCollectionStrategy
de.uka.ipd.sdq.ByCounter.execution.CollectionStrategyDefault
public class CollectionStrategyDefault
This class is used in CountingResultCollector
in
order to process results during result collection when no other strategy
is specified.
Constructor Summary | |
---|---|
CollectionStrategyDefault(CountingResultCollector parent)
Construct the strategy object. |
Method Summary | |
---|---|
static de.uka.ipd.sdq.ByCounter.execution.CollectionStrategyDefault.NewArrayTypeAndDimension |
analyzeArrayParams(long[] newArrayCounts,
java.lang.String[] newArrayDescr,
int[] newArrayTypeOrDim)
Decode the information saved for array parameters. |
void |
clearResults()
Clear the result storage fields. |
boolean |
protocolCount(ProtocolCountStructure result,
long reportingStart)
Add to counting results. |
java.util.SortedSet<CountingResult> |
retrieveAllCountingResults()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollectionStrategyDefault(CountingResultCollector parent)
parent
- CountingResultCollector
using this strategy.Method Detail |
---|
public void clearResults()
clearResults
in class AbstractCollectionStrategy
public static de.uka.ipd.sdq.ByCounter.execution.CollectionStrategyDefault.NewArrayTypeAndDimension analyzeArrayParams(long[] newArrayCounts, java.lang.String[] newArrayDescr, int[] newArrayTypeOrDim)
newArrayCounts
- Array initialisation counts reported from ByCounternewArrayDescr
- Array descriptors reported from ByCounternewArrayTypeOrDim
- Array types/dimensions reported from ByCounterpublic boolean protocolCount(ProtocolCountStructure result, long reportingStart)
protocolCount
in class AbstractCollectionStrategy
result
- The result to protocol.reportingStart
- Time stamp of the time of reporting the result.
public java.util.SortedSet<CountingResult> retrieveAllCountingResults()
retrieveAllCountingResults
in class AbstractCollectionStrategy
CountingResult
s produced from the handling and
accepting of
results by this strategy.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |