Class AtlassianCacheAbstractEvent<R>
- java.lang.Object
-
- com.atlassian.bamboo.cluster.event.AbstractCrossNodesEvent<R>
-
- com.atlassian.bamboo.cluster.event.atlassiancache.AtlassianCacheAbstractEvent<R>
-
- All Implemented Interfaces:
CrossNodesEvent
,Serializable
- Direct Known Subclasses:
AtlassianCacheBulkEvent
,AtlassianCachedReferenceResetEvent
,AtlassianCachePutEvent
,AtlassianCachePutIfAbsentEvent
,AtlassianCacheRemoveAllEvent
,AtlassianCacheRemoveByKeyAndValueEvent
,AtlassianCacheRemoveByKeyEvent
,AtlassianCacheReplaceEvent
public abstract class AtlassianCacheAbstractEvent<R> extends AbstractCrossNodesEvent<R> implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.bamboo.cluster.event.CrossNodesEvent
CrossNodesEvent.Type
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AtlassianCacheAbstractEvent(String cacheName)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
isEmpty()
Returns whether the event is empty.abstract @NotNull String
toString()
Returns a string representation of the object.-
Methods inherited from class com.atlassian.bamboo.cluster.event.AbstractCrossNodesEvent
send, toGrpcRequestMessage
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.cluster.event.CrossNodesEvent
equals, getType, hashCode, isNotEmpty
-
-
-
-
Constructor Detail
-
AtlassianCacheAbstractEvent
protected AtlassianCacheAbstractEvent(String cacheName)
-
-
Method Detail
-
toString
@NotNull public abstract @NotNull String toString()
Description copied from interface:CrossNodesEvent
Returns a string representation of the object.- Specified by:
toString
in interfaceCrossNodesEvent
- Overrides:
toString
in classObject
- Returns:
- a string representation of the object
-
isEmpty
public boolean isEmpty()
Description copied from interface:CrossNodesEvent
Returns whether the event is empty. May be needed to avoid sending empty events.- Specified by:
isEmpty
in interfaceCrossNodesEvent
- Returns:
- true if the event is empty, false otherwise.
-
-