Class AppConfigurationRefreshEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.azure.spring.cloud.config.web.pushrefresh.AppConfigurationRefreshEvent
All Implemented Interfaces:
Serializable

public final class AppConfigurationRefreshEvent extends org.springframework.context.ApplicationEvent
Event sent to set the App Configuration watch interval to zero.
See Also:
  • Constructor Details

    • AppConfigurationRefreshEvent

      public AppConfigurationRefreshEvent(String endpoint, String syncToken)
      Event object for when a push event is triggered from a web hook.
      Parameters:
      endpoint - App Configuration Store endpoint that is requesting a refresh.
      syncToken - App Configuration sync token
  • Method Details

    • getEndpoint

      public String getEndpoint()
      Endpoint of the App Configuration store that triggered the Event.
      Returns:
      the endpoint
    • getSyncToken

      public String getSyncToken()
      Sync Token for getting latest configurations.
      Returns:
      the syncToken