docs: protected void processStop(Endpoint endpoint, EventTypeEnum eventType) {
          if (!sendLifecycleEvent) {
              return;
          }
  
          Event event = createEvent(endpoint, eventType);
          monitoringServiceClient.putEvents(Collections.singletonList(event));
          if (LOG.isLoggable(Level.INFO)) {
              LOG.info("Send " + eventType + " event to SAM Server successful!");
          }
      }