Class MaintenanceStartedEvent

All Implemented Interfaces:
Serializable

@AsynchronousPreferred public class MaintenanceStartedEvent extends MaintenanceEvent
Fired when maintenance has begun.

On receiving this event plugins must avoid running any operations that may use database connections or alter the product's home or shared home until maintenance has ended.

Operations running when the event is fired should be terminated at the earliest opportunity. Scheduled operations (that are not scheduled through Atlassian APIs) should be disabled until maintenance is complete.

Failure to observe this may result in used database connections becoming invalidated, may prevent the product from starting its maintenance task or in the worst case may make the maintenance tasks (such as backup or database migration) complete unreliable.

See Also:
  • Constructor Details

    • MaintenanceStartedEvent

      public MaintenanceStartedEvent(@Nonnull Object source)