Class DisasterRecoveryTriggeredEvent

java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.server.DisasterRecoveryTriggeredEvent
All Implemented Interfaces:
Serializable

@AsynchronousPreferred public class DisasterRecoveryTriggeredEvent extends ApplicationEvent
An event that is raised when the system is started after being restored from a Zero Downtime Backup.

This event is useful to plugins that persist state, indexes or other information to the filesystem. In reaction to this event, plugins should check integrity, repair or recreate their data persisted to the filesystem as necessary.

This event can be ignored by plugins that only make use of the database for persistence or is capable of automatically self-healing their persisted data during normal operation.

Since:
4.8
See Also:
  • Constructor Details

    • DisasterRecoveryTriggeredEvent

      public DisasterRecoveryTriggeredEvent(@Nonnull Object source)