public abstract class AbstractUnreliableStableReadExternalCacheIT extends AbstractStableReadExternalCacheIT
StableReadExternalCaches that rely on external services
which could be unreliable. These tests ensure that the behaviour of the cache is reasonable
when the external service is unavailablewatcher| Constructor and Description |
|---|
AbstractUnreliableStableReadExternalCacheIT() |
| Modifier and Type | Method and Description |
|---|---|
protected StableReadExternalCache<String> |
createOfflineCache(String name,
ExternalCacheSettings settings) |
protected abstract StableReadExternalCache<String> |
createOfflineCache(String name,
ExternalCacheSettings settings,
Duration lockTimeout) |
void |
ensureOfflineCache() |
void |
getBulkOperation() |
void |
getOperation() |
void |
getWithSupplierOperation() |
void |
putOperation() |
void |
removeAllOperation() |
void |
removeOperation() |
both_get_and_getBulk_fail, both_getBulk_and_get_fail, check_null_detection, createCache, createCache, dual_cache_get_set, dual_cache_get_with_supplier_take2, dual_cache_get_with_supplier, dual_cache_getBulk, dual_getBulk_function, ensureCache, get_fails_and_getBulk_succeeds, getBulk_fail_and_get_succeed, getBulk_pass_and_get_reuse, obtainDirectCache, potential_deadlock, remove_normal, repeated_concurrency, requestMetrics, simple_getBulk_function, simple_removeAll, single_cache_get_setpublic AbstractUnreliableStableReadExternalCacheIT()
protected abstract StableReadExternalCache<String> createOfflineCache(String name, ExternalCacheSettings settings, Duration lockTimeout)
protected StableReadExternalCache<String> createOfflineCache(String name, ExternalCacheSettings settings)
public void ensureOfflineCache()
public void getOperation()
public void getWithSupplierOperation()
public void getBulkOperation()
public void putOperation()
public void removeOperation()
public void removeAllOperation()
Copyright © 2019 Atlassian. All rights reserved.