Package net.reevik.shade
Class NoopMonitoringImpl
java.lang.Object
net.reevik.shade.NoopMonitoringImpl
- All Implemented Interfaces:
Monitorable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonRoute()The method will get triggered whenever the request is routed to the new endpoint.voidonStay()The method will get triggered whenever the request is routed to the old endpoint.voidonValidationError(ValidationResult validationResult) The method will get triggered on validation error.voidonValidationSuccess(ValidationResult validationResult) The method will get triggered on validation success.
-
Constructor Details
-
NoopMonitoringImpl
public NoopMonitoringImpl()
-
-
Method Details
-
onValidationError
Description copied from interface:MonitorableThe method will get triggered on validation error.- Specified by:
onValidationErrorin interfaceMonitorable- Parameters:
validationResult- An instance contains information about validation.
-
onValidationSuccess
Description copied from interface:MonitorableThe method will get triggered on validation success.- Specified by:
onValidationSuccessin interfaceMonitorable- Parameters:
validationResult- An instance contains information about validation.
-
onRoute
public void onRoute()Description copied from interface:MonitorableThe method will get triggered whenever the request is routed to the new endpoint.- Specified by:
onRoutein interfaceMonitorable
-
onStay
public void onStay()Description copied from interface:MonitorableThe method will get triggered whenever the request is routed to the old endpoint.- Specified by:
onStayin interfaceMonitorable
-