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:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionAppConfigurationRefreshEvent
(String endpoint, String syncToken) Event object for when a push event is triggered from a web hook. -
Method Summary
Modifier and TypeMethodDescriptionEndpoint of the App Configuration store that triggered the Event.Sync Token for getting latest configurations.Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
AppConfigurationRefreshEvent
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
Endpoint of the App Configuration store that triggered the Event.- Returns:
- the endpoint
-
getSyncToken
Sync Token for getting latest configurations.- Returns:
- the syncToken
-