Class RefreshEndpoint

java.lang.Object
io.micronaut.management.endpoint.refresh.RefreshEndpoint

@Endpoint("refresh") public class RefreshEndpoint extends Object

Exposes an Endpoint to refresh application state via a RefreshEvent.

Since:
1.0
Author:
Graeme Rocher
See Also:
  • Constructor Details

  • Method Details

    • refresh

      @Write public String[] refresh(@Nullable @Nullable Boolean force)
      Refresh application state only if environment has changed (unless force is set to true).
      Parameters:
      force - Nullable body property to indicate whether to force all Refreshable beans to be refreshed
      Returns:
      array of change keys if applicable