Interface CrossNodesEvent
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
CrossNodesInvalidationEvent
- All Known Implementing Classes:
AbstractCrossNodesEvent,AtlassianCacheBulkEvent,AtlassianCacheCrossNodesEvent,AtlassianCachedReferenceResetEvent,AtlassianCachePutEvent,AtlassianCachePutIfAbsentEvent,AtlassianCacheRemoveAllEvent,AtlassianCacheRemoveByKeyAndValueEvent,AtlassianCacheRemoveByKeyEvent,AtlassianCacheReplaceEvent,BambooCrossNodesEvent,ClusterMessageEvent,DisablePluginEvent,EnablePluginEvent,HidePlanEvent,HideStageEvent,InstallPluginEvent,InvalidateAllLatestResultSummariesEvent,InvalidateBuildNumbersRangeEvent,InvalidateLatestResultSummaryEvent,InvalidatePlanCacheEvent,InvalidateRepositoryCacheEvent,InvalidateSpecsStateForPlanRequestEvent,InvalidateUserSessionsEvent,PluginCrossNodesEvent,RefreshAdministrationConfigurationEvent,RefreshClusterLifecycleStateEvent,UninstallPluginEvent,UpgradePluginEvent
Marker interface for events that are stored in
PerNodeLocalQueue.- Since:
- 9.5
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.@NotNull CrossNodesEvent.TypegetType()Returns the type of the event.inthashCode()Returns a hash code value for the object.booleanisEmpty()Returns whether the event is empty.default booleanReturns whether the event is NOT empty.toString()Returns a string representation of the object.
-
Method Details
-
getType
Returns the type of the event.- Returns:
- the type of the event
-
toString
String toString()Returns a string representation of the object. -
equals
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.
-