public static class ResultManager.PrintingManager extends Object implements ResultManager
ResultManager.DummyManager, ResultManager.PrintingManager| Constructor and Description |
|---|
PrintingManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptError(Throwable error,
int instanceID,
String name,
boolean doExport,
boolean isGlobal)
If an error occurred during the computation of the variable with the given name,
this is called.
|
void |
acceptResult(Object result,
int instanceID,
String name,
boolean doExport,
boolean isGlobal,
boolean isNumeric)
Accpets a result for the variable with the given name, for the given instance.
|
void |
acceptTime(long time,
int instanceID,
String name,
boolean isGlobal)
Accepts a runtime for the watch with the given name, for the given instance.
|
void |
finish()
Marks the experiment as finished.
|
void |
flush()
Send data to the persistent storage.
|
int |
getExperimentID()
Returns the experiment ID in this result manager.
|
public void acceptResult(Object result, int instanceID, String name, boolean doExport, boolean isGlobal, boolean isNumeric)
ResultManageracceptResult in interface ResultManagerisNumeric - whether the result is of numeric value (double, int,... or the wrapper class). Relevant mostly if result is null.public void acceptTime(long time,
int instanceID,
String name,
boolean isGlobal)
ResultManageracceptTime in interface ResultManagerpublic void acceptError(Throwable error, int instanceID, String name, boolean doExport, boolean isGlobal)
ResultManageracceptError in interface ResultManagerpublic void flush()
ResultManagerflush in interface ResultManagerpublic int getExperimentID()
ResultManagergetExperimentID in interface ResultManagerpublic void finish()
ResultManagerfinish in interface ResultManagerCopyright © 2017. All rights reserved.