Interface CrossNodesEvent

All Superinterfaces:
Serializable
All Known Subinterfaces:
CrossNodesInvalidationEvent
All Known Implementing Classes:
AbstractCrossNodesEvent, AtlassianCacheBulkEvent, AtlassianCacheCrossNodesEvent, AtlassianCachedReferenceResetEvent, AtlassianCachePutEvent, AtlassianCachePutIfAbsentEvent, AtlassianCacheRemoveAllEvent, AtlassianCacheRemoveByKeyAndValueEvent, AtlassianCacheRemoveByKeyEvent, AtlassianCacheReplaceEvent, BambooCrossNodesEvent, DisablePluginEvent, EnablePluginEvent, HidePlanEvent, HideStageEvent, InstallPluginEvent, InvalidateAllLatestResultSummariesEvent, InvalidateBuildNumbersRangeEvent, InvalidateLatestResultSummaryEvent, InvalidatePlanCacheEvent, InvalidateRepositoryCacheEvent, InvalidateSpecsStateForPlanRequestEvent, InvalidateUserSessionsEvent, PluginCrossNodesEvent, RefreshAdministrationConfigurationEvent, RefreshClusterLifecycleStateEvent, UninstallPluginEvent, UpgradePluginEvent

public interface CrossNodesEvent extends Serializable
Marker interface for events that are stored in PerNodeLocalQueue.
Since:
9.5
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether some other object is "equal to" this one.
    Returns the type of the event.
    int
    Returns a hash code value for the object.
    boolean
    Returns whether the event is empty.
    default boolean
    Returns whether the event is NOT empty.
    @NotNull String
    Returns a string representation of the object.
  • Method Details

    • getType

      @NotNull @NotNull CrossNodesEvent.Type getType()
      Returns the type of the event.
      Returns:
      the type of the event
    • toString

      @NotNull @NotNull String toString()
      Returns a string representation of the object.
      Overrides:
      toString in class Object
      Returns:
      a string representation of the object
    • equals

      boolean equals(Object obj)
      Indicates whether some other object is "equal to" this one.
      Overrides:
      equals in class Object
      Parameters:
      obj - the reference object with which to compare
      Returns:
      true if this object is the same as the obj argument; false otherwise
    • hashCode

      int hashCode()
      Returns a hash code value for the object.
      Overrides:
      hashCode in class Object
      Returns:
      a hash code value for this object
    • isEmpty

      boolean isEmpty()
      Returns whether the event is empty. May be needed to avoid sending empty events.
      Returns:
      true if the event is empty, false otherwise.
      Since:
      9.5
    • isNotEmpty

      default boolean isNotEmpty()
      Returns whether the event is NOT empty.
      Returns:
      true if the event is NOT empty, false otherwise.