|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uka.ipd.sdq.ByCounter.execution.CountingArtefactInformation
public final class CountingArtefactInformation
A small class to describe results of a counting step.
Constructor Summary | |
---|---|
CountingArtefactInformation(CountingResultIndexing indexing)
The default constructor. |
|
CountingArtefactInformation(CountingResultIndexing indexing,
java.lang.String methodName,
java.lang.Long invocationReceivedTime,
java.util.List<RuntimeMethodParameters> inputPrms,
java.lang.Long resultsReceivedByCollectorTime,
java.util.List<RuntimeMethodParameters> outputPrms)
Parametrised constructor |
Method Summary | |
---|---|
int |
compareTo(CountingArtefactInformation o)
(non-Javadoc) |
CountingResult |
getCountingResult()
Delegating getter for counting results that correspond to this artefact |
java.util.List<RuntimeMethodParameters> |
getInputPrms()
Simple getter |
java.lang.Long |
getInvocationReceivedTime()
Simple getter |
java.lang.String |
getMethodName()
Simple getter |
CountingResultIndexing |
getMyIndexing()
A simple getter |
java.util.List<RuntimeMethodParameters> |
getOutputPrms()
Simple getter |
java.lang.Long |
getResultsReceivedByCollectorTime()
Simple getter |
java.lang.Long |
getTime_InvocationReceived()
Simple getter |
java.lang.Long |
getTime_resultsReceivedByCollector()
Simple getter |
boolean |
isInstrumented()
Simple getter |
boolean |
isLogWrittenToDisk()
Simple getter |
void |
setInputPrms(java.util.List<RuntimeMethodParameters> inputPrms)
Simple setter |
void |
setInstrumented(boolean isInstrumented)
Simple setter |
void |
setLogWrittenToDisk(boolean logWrittenToDisk)
Simple setter |
void |
setMethodName(java.lang.String methodName)
Simple setter |
void |
setOutputPrms(java.util.List<RuntimeMethodParameters> outputPrms)
Simple setter |
void |
setTime_InvocationReceived(java.lang.Long time_InvocationReceived)
Simple setter |
void |
setTime_resultsReceivedByCollector(java.lang.Long time_resultsReceivedByCollector)
Simple setter |
java.lang.String |
toString()
Returns a String representation of this class |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CountingArtefactInformation(CountingResultIndexing indexing)
indexing
- The corresponding indexing infrastructure.public CountingArtefactInformation(CountingResultIndexing indexing, java.lang.String methodName, java.lang.Long invocationReceivedTime, java.util.List<RuntimeMethodParameters> inputPrms, java.lang.Long resultsReceivedByCollectorTime, java.util.List<RuntimeMethodParameters> outputPrms)
methodName
- reporting method (thus, it is an instrumented one)invocationReceivedTime
- the timestamp when the
instrumented method detected that it is being invokedinputPrms
- input parameters of the instrumented methodresultsReceivedByCollectorTime
- the timestamp
when CountingResultCollector
received the informationoutputPrms
- output parameters of the methodMethod Detail |
---|
public CountingResultIndexing getMyIndexing()
CountingResultIndexing
.public int compareTo(CountingArtefactInformation o)
compareTo
in interface java.lang.Comparable<CountingArtefactInformation>
Comparable.compareTo(java.lang.Object)
public CountingResult getCountingResult()
public java.util.List<RuntimeMethodParameters> getInputPrms()
public java.lang.Long getInvocationReceivedTime()
public java.lang.String getMethodName()
public java.util.List<RuntimeMethodParameters> getOutputPrms()
public java.lang.Long getResultsReceivedByCollectorTime()
public java.lang.Long getTime_InvocationReceived()
public java.lang.Long getTime_resultsReceivedByCollector()
public boolean isInstrumented()
public boolean isLogWrittenToDisk()
public void setInputPrms(java.util.List<RuntimeMethodParameters> inputPrms)
inputPrms
- to be setpublic void setInstrumented(boolean isInstrumented)
isInstrumented
- to be setpublic void setLogWrittenToDisk(boolean logWrittenToDisk)
logWrittenToDisk
- to be setpublic void setMethodName(java.lang.String methodName)
methodName
- to be setpublic void setOutputPrms(java.util.List<RuntimeMethodParameters> outputPrms)
outputPrms
- to be setpublic void setTime_InvocationReceived(java.lang.Long time_InvocationReceived)
time_InvocationReceived
- to be setpublic void setTime_resultsReceivedByCollector(java.lang.Long time_resultsReceivedByCollector)
time_resultsReceivedByCollector
- to be setpublic java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |