Package overit.geocall.event.model
Class SpoutResult
java.lang.Object
overit.geocall.event.model.SpoutResult
Represents the result of a spout processing, including details about the target,
the result of the spout's execution, and any error information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets theMessageResultof the spout.Class<?> getSpout()booleanhasError()Checks if the result contains an error.
-
Constructor Details
-
SpoutResult
-
-
Method Details
-
getSpout
-
getTarget
-
getResult
-
hasError
public boolean hasError()Checks if the result contains an error. If the result is not available, the method block the execution in order to wait the acknowledgment from the Message Broker- Returns:
trueif the result contains an error;falseotherwise.
-
getMessageResult
Gets theMessageResultof the spout. If the result is not available, the method block the execution in order to wait the acknowledgment from the Message Broker- Returns:
- the
MessageResult.
-