Interface CrossNodesEvent
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
CrossNodesInvalidationEvent
- All Known Implementing Classes:
AbstractCrossNodesEvent
,AbstractPluginEvent
,AtlassianCacheAbstractEvent
,AtlassianCacheBulkEvent
,AtlassianCachedReferenceResetEvent
,AtlassianCachePutEvent
,AtlassianCachePutIfAbsentEvent
,AtlassianCacheRemoveAllEvent
,AtlassianCacheRemoveByKeyAndValueEvent
,AtlassianCacheRemoveByKeyEvent
,AtlassianCacheReplaceEvent
,DisablePluginEvent
,EnablePluginEvent
,HidePlanEvent
,HideStageEvent
,InstallPluginEvent
,InvalidateAllLatestResultSummariesEvent
,InvalidateBuildNumbersRangeEvent
,InvalidateLatestResultSummaryEvent
,InvalidatePlanCacheEvent
,InvalidateRepositoryCacheEvent
,InvalidateSpecsStateForPlanRequestEvent
,InvalidateUserSessionsEvent
,RefreshAdministrationConfigurationEvent
,RefreshClusterLifecycleStateEvent
,UninstallPluginEvent
,UpgradePluginEvent
public interface CrossNodesEvent extends Serializable
Marker interface for events that are stored inPerNodeLocalQueue
.- Since:
- 9.5
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CrossNodesEvent.Type
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
equals(Object obj)
Indicates whether some other object is "equal to" this one.@NotNull CrossNodesEvent.Type
getType()
Returns the type of the event.int
hashCode()
Returns a hash code value for the object.boolean
isEmpty()
Returns whether the event is empty.default boolean
isNotEmpty()
Returns whether the event is NOT empty.@NotNull String
toString()
Returns a string representation of the object.
-
-
-
Method Detail
-
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.
-
equals
boolean equals(Object obj)
Indicates whether some other object is "equal to" this one.
-
hashCode
int hashCode()
Returns a hash code value for the 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.
-
-