Package | Description |
---|---|
com.atlassian.bamboo.util | |
com.atlassian.bamboo.v2.events |
Modifier and Type | Field and Description |
---|---|
static CacheAwareness.CacheInfo |
CacheAwareness.ANY |
static CacheAwareness.CacheInfo |
CacheAwareness.BRANCH_DETECTION |
static CacheAwareness.CacheInfo |
CacheAwareness.CHANGE_DETECTION |
Modifier and Type | Method and Description |
---|---|
static CacheAwareness.CacheInfo |
CacheAwareness.cacheInfo(String cachedDataType) |
Modifier and Type | Method and Description |
---|---|
static Iterable<CacheAwareness.CacheInfo> |
CacheAwareness.getDisabledCaches()
Deprecated.
since 5.10 use
CacheAwareness.getDisabledCachesTimestamp() |
static Pair<Iterable<CacheAwareness.CacheInfo>,Long> |
CacheAwareness.getDisabledCachesTimestamp() |
Modifier and Type | Method and Description |
---|---|
static <T> CallableResultCache<T> |
CallableResultCache.build(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(com.google.common.cache.CacheBuilder<Object,Object> builder,
CacheAwareness.CacheInfo... cacheIds)
Builds a simple callable result cache using the supplied builder.
|
static <V,E1 extends Exception,E2 extends Exception,E3 extends Exception> |
CacheAwareness.whileReadingThroughCaches(BambooCallables.ThrowingX<V,E1,E2,E3> callable,
CacheAwareness.CacheInfo... cacheInfo)
Deprecated.
|
static <E1 extends Exception,E2 extends Exception,E3 extends Exception> |
CacheAwareness.whileReadingThroughCaches(BambooRunnables.ThrowingX<E1,E2,E3> runnable,
CacheAwareness.CacheInfo... cacheInfo)
Deprecated.
|
static <V,E1 extends Exception,E2 extends Exception,E3 extends Exception> |
CacheAwareness.withValuesOlderThanTimestampReloaded(BambooCallables.ThrowingX<V,E1,E2,E3> callable,
long timestamp,
CacheAwareness.CacheInfo... disabledCaches)
Executes the supplied runnable with the listed caches invalidated, values reloaded if
value was previously cached before the timestamp
|
static <E1 extends Exception,E2 extends Exception,E3 extends Exception> |
CacheAwareness.withValuesOlderThanTimestampReloaded(BambooRunnables.ThrowingX<E1,E2,E3> runnable,
long timestamp,
CacheAwareness.CacheInfo... disabledCached)
Executes the supplied runnable with the listed caches invalidated, values reloaded if
value was previously cached before the timestamp
|
Modifier and Type | Method and Description |
---|---|
static <E1 extends Exception,E2 extends Exception,E3 extends Exception> |
CacheAwareness.whileReadingThroughCaches(BambooRunnables.ThrowingX<E1,E2,E3> runnable,
Iterable<CacheAwareness.CacheInfo> cacheInfo)
Deprecated.
|
static <E1 extends Exception,E2 extends Exception,E3 extends Exception> |
CacheAwareness.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
|
Modifier and Type | Method and Description |
---|---|
CacheAwareness.CacheInfo[] |
ChangeDetectionRequiredEvent.getCachesToIgnore() |
Modifier and Type | Method and Description |
---|---|
void |
ChangeDetectionRequiredEvent.setCachesToIgnore(CacheAwareness.CacheInfo... cachesToIgnore) |
Constructor and Description |
---|
ChangeDetectionRequiredEvent(Object source,
PlanKey planKey,
TriggerDefinition triggerDefinition,
boolean logIfNoChanges,
CacheAwareness.CacheInfo... cachesToIgnore) |
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.