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 protectedAtlassianCacheAbstractEvent(String cacheName)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanisEmpty()Returns whether the event is empty.abstract @NotNull StringtoString()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:CrossNodesEventReturns a string representation of the object.- Specified by:
toStringin interfaceCrossNodesEvent- Overrides:
toStringin classObject- Returns:
- a string representation of the object
-
isEmpty
public boolean isEmpty()
Description copied from interface:CrossNodesEventReturns whether the event is empty. May be needed to avoid sending empty events.- Specified by:
isEmptyin interfaceCrossNodesEvent- Returns:
- true if the event is empty, false otherwise.
-
-