Package beamline.models.responses
Class Response
- java.lang.Object
-
- beamline.models.responses.Response
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DirectlyFollowsRelation
,GraphvizResponse
,StringResponse
public class Response extends Object implements Serializable
General class describing what aStreamMiningAlgorithm
is supposed to return. This class can be extended with additional information. The class by itself carries only information regarding the number of events processed.- Author:
- Andrea Burattin
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Response()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getProcessedEvents()
Gets the number of events processed when the response was producedvoid
setProcessedEvents(Long processedEvents)
Sets the number of events processed when the response was produced
-
-
-
Method Detail
-
getProcessedEvents
public Long getProcessedEvents()
Gets the number of events processed when the response was produced- Returns:
- number of events processed when the response was produced
-
setProcessedEvents
public void setProcessedEvents(Long processedEvents)
Sets the number of events processed when the response was produced- Parameters:
processedEvents
- the number of events processed when the response was produced
-
-