Class AppConfigurationBusRefreshEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.cloud.bus.event.RemoteApplicationEvent
com.azure.spring.cloud.config.web.pushbusrefresh.AppConfigurationBusRefreshEvent
All Implemented Interfaces:
Serializable

public final class AppConfigurationBusRefreshEvent extends org.springframework.cloud.bus.event.RemoteApplicationEvent
Event sent to all instances registered to the Bus to set the App Configuration watch interval to zero.
See Also:
  • Field Summary

    Fields inherited from class org.springframework.cloud.bus.event.RemoteApplicationEvent

    DEFAULT_DESTINATION_FACTORY

    Fields inherited from class java.util.EventObject

    source
  • Method Summary

    Modifier and Type
    Method
    Description
    Endpoint of the App Configuration store that triggered the Event.
     
    void
    setEndpoint(String endpoint)
    Will only set the endpoint if one isn't already set.

    Methods inherited from class org.springframework.cloud.bus.event.RemoteApplicationEvent

    equals, getDestinationService, getId, getOriginService, hashCode, toString

    Methods inherited from class org.springframework.context.ApplicationEvent

    getTimestamp

    Methods inherited from class java.util.EventObject

    getSource

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • getEndpoint

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

      public void setEndpoint(String endpoint)
      Will only set the endpoint if one isn't already set.
      Parameters:
      endpoint - the endpoint of the application that triggered the event
    • getSyncToken

      public String getSyncToken()
      Returns:
      the syncToken