|
||||||||||
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
public abstract class AbstractCollectionStrategy
Interface used by CountingResultCollector
to control different
methods of result collection and storage.
Constructor Summary | |
---|---|
AbstractCollectionStrategy(CountingResultCollector parent)
Construction of the strategy object. |
Method Summary | |
---|---|
abstract void |
clearResults()
Clear the result storage fields. |
abstract boolean |
protocolCount(ProtocolCountStructure result,
long reportingStart)
Protocol the count to the collection strategy. |
abstract java.util.SortedSet<CountingResult> |
retrieveAllCountingResults()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractCollectionStrategy(CountingResultCollector parent)
parent
- CountingResultCollector that makes use of this strategy.Method Detail |
---|
public abstract void clearResults()
public abstract boolean protocolCount(ProtocolCountStructure result, long reportingStart)
result
- The result to protocol.reportingStart
- Time stamp of the time of reporting the result.
public abstract java.util.SortedSet<CountingResult> retrieveAllCountingResults()
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 |