Package arez.spy
Class ComputeCompleteEvent
java.lang.Object
arez.spy.ComputeCompleteEvent
- All Implemented Interfaces:
SerializableEvent
Notification when Computation completes.
-
Constructor Summary
ConstructorDescriptionComputeCompleteEvent
(ComputableValueInfo computableValue, Object result, Throwable throwable, int duration) -
Method Summary
Modifier and TypeMethodDescriptionint
void
Convert event attributes to json compatible values in map.
-
Constructor Details
-
ComputeCompleteEvent
public ComputeCompleteEvent(@Nonnull ComputableValueInfo computableValue, @Nullable Object result, @Nullable Throwable throwable, int duration)
-
-
Method Details
-
getComputableValue
-
getDuration
-
getResult
-
getThrowable
-
toMap
Description copied from interface:SerializableEvent
Convert event attributes to json compatible values in map.- Specified by:
toMap
in interfaceSerializableEvent
- Parameters:
map
- the map in which to serialize values.
-