Uses of Class
com.atlassian.bamboo.util.CacheAwareness.CacheInfo
-
Uses of CacheAwareness.CacheInfo in com.atlassian.bamboo.util
Modifier and TypeFieldDescriptionstatic final CacheAwareness.CacheInfo
CacheAwareness.ANY
static final CacheAwareness.CacheInfo
CacheAwareness.BRANCH_DETECTION
static final CacheAwareness.CacheInfo
CacheAwareness.CHANGE_DETECTION
Modifier and TypeMethodDescriptionstatic Pair<Iterable<CacheAwareness.CacheInfo>,
Long> CacheAwareness.getDisabledCachesTimestamp()
Modifier and TypeMethodDescriptionstatic <T> CallableResultCache<T>
CallableResultCache.build
(@NotNull com.google.common.cache.CacheBuilder<Object, Object> builder, CacheAwareness.CacheInfo... cacheIds) Builds a simple callable result cache using the supplied builder.static <T> CallableResultCache<T>
CallableResultCache.buildAlwaysInvalidating
(@NotNull com.google.common.cache.CacheBuilder<Object, Object> builder, CacheAwareness.CacheInfo... cacheIds) Builds a simple callable result cache using the supplied builder.CacheAwareness.withValuesOlderThanTimestampReloaded
(BambooCallables.ThrowingX<V, E1, E2, E3> callable, long timestamp, @Nullable CacheAwareness.CacheInfo... disabledCaches) Executes the supplied runnable with the listed caches invalidated, values reloaded if value was previously cached before the timestampCacheAwareness.withValuesOlderThanTimestampReloaded
(BambooRunnables.ThrowingX<E1, E2, E3> runnable, long timestamp, @Nullable CacheAwareness.CacheInfo... disabledCached) Executes the supplied runnable with the listed caches invalidated, values reloaded if value was previously cached before the timestampModifier and TypeMethodDescriptionCacheAwareness.withValuesOlderThanTimestampReloaded
(BambooRunnables.ThrowingX<E1, E2, E3> runnable, long timestamp, Iterable<CacheAwareness.CacheInfo> disabledCaches) Executes the supplied runnable with the listed caches invalidated, values reloaded if value was previously cached before the timestamp -
Uses of CacheAwareness.CacheInfo in com.atlassian.bamboo.v2.events
Modifier and TypeMethodDescription@NotNull CacheAwareness.CacheInfo[]
ChangeDetectionRequiredEvent.getCachesToIgnore()
Modifier and TypeMethodDescriptionvoid
ChangeDetectionRequiredEvent.setCachesToIgnore
(CacheAwareness.CacheInfo... cachesToIgnore) ModifierConstructorDescriptionChangeDetectionRequiredEvent
(Object source, PlanKey planKey, TriggerDefinition triggerDefinition, boolean logIfNoChanges, CacheAwareness.CacheInfo... cachesToIgnore)