| Modifier and Type | Method and Description |
|---|---|
CacheKey |
CacheKey.addAttribute(String key,
String value)
Add a custom key-value pair attribute.
|
| Modifier and Type | Method and Description |
|---|---|
protected CacheStrategy<CacheKey,CacheValue> |
ConfigurableCacheStrategy.getDefaultStrategy() |
protected Map<String,CacheStrategy<CacheKey,CacheValue>> |
ConfigurableCacheStrategy.getStrategies(CacheStrategyProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
CacheValue |
ConfigurableCacheStrategy.get(CacheKey key)
Restore a value from the cache.
|
void |
ConfigurableCacheStrategy.put(CacheKey key,
CacheValue value)
Put a value in the cache using a key.
|
| Modifier and Type | Method and Description |
|---|---|
CacheKey |
DefaultCacheKeyFactory.create(javax.servlet.http.HttpServletRequest request)
Creates a
CacheKey from the provided request. |
CacheKey |
CacheKeyFactoryDecorator.create(javax.servlet.http.HttpServletRequest request)
Creates a
CacheKey from the provided request. |
CacheKey |
CacheKeyFactory.create(javax.servlet.http.HttpServletRequest request)
Creates a
CacheKey from the provided request. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,CacheStrategy<CacheKey,CacheValue>> |
DefaultCacheStrategyProvider.provideCacheStrategies() |
Map<String,CacheStrategy<CacheKey,CacheValue>> |
CacheStrategyProvider.provideCacheStrategies() |
| Modifier and Type | Method and Description |
|---|---|
static CacheStrategy<CacheKey,CacheValue> |
DefaultSynchronizedCacheStrategyDecorator.decorate(CacheStrategy<CacheKey,CacheValue> decorated)
Decorates the provided
CacheStrategy. |
| Modifier and Type | Method and Description |
|---|---|
protected CacheValue |
DefaultSynchronizedCacheStrategyDecorator.loadValue(CacheKey key) |
protected void |
DefaultSynchronizedCacheStrategyDecorator.onBeforeGet(CacheKey key) |
| Modifier and Type | Method and Description |
|---|---|
static CacheStrategy<CacheKey,CacheValue> |
DefaultSynchronizedCacheStrategyDecorator.decorate(CacheStrategy<CacheKey,CacheValue> decorated)
Decorates the provided
CacheStrategy. |
| Modifier and Type | Method and Description |
|---|---|
static String |
ResourceWatcherRequestHandler.createHandlerRequestPath(CacheKey cacheKey,
javax.servlet.http.HttpServletRequest request)
Computes the servlet context relative url to call this handler using a server-side invocation.
|
| Modifier and Type | Method and Description |
|---|---|
CacheStrategy<CacheKey,CacheValue> |
WroManager.getCacheStrategy() |
| Modifier and Type | Method and Description |
|---|---|
WroManager.Builder |
WroManager.Builder.setCacheStrategy(CacheStrategy<CacheKey,CacheValue> cacheStrategy) |
| Modifier and Type | Method and Description |
|---|---|
protected CacheStrategy<CacheKey,CacheValue> |
ConfigurableWroManagerFactory.newCacheStrategy() |
protected CacheStrategy<CacheKey,CacheValue> |
BaseWroManagerFactory.newCacheStrategy() |
| Modifier and Type | Method and Description |
|---|---|
BaseWroManagerFactory |
BaseWroManagerFactory.setCacheStrategy(CacheStrategy<CacheKey,CacheValue> cacheStrategy) |
| Modifier and Type | Method and Description |
|---|---|
String |
GroupsProcessor.process(CacheKey cacheKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
ResourceWatcher.check(CacheKey cacheKey)
Default constructor with a NoOP callback.
|
void |
ResourceWatcher.check(CacheKey cacheKey,
ResourceWatcher.Callback callback)
Check if resources from a group were changed.
|
void |
ResourceWatcher.Callback.onGroupChanged(CacheKey key)
Callback method invoked when a group change is detected.
|
void |
ResourceWatcher.CallbackSupport.onGroupChanged(CacheKey key) |
void |
ResourceWatcher.tryAsyncCheck(CacheKey cacheKey)
Will try an asynchronous check if the async configuration is enabled.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,CacheStrategy<CacheKey,CacheValue>> |
DefaultConfigurableProvider.provideCacheStrategies() |
Map<String,CacheStrategy<CacheKey,CacheValue>> |
ConfigurableProviderSupport.provideCacheStrategies() |
Copyright © 2008-2014. All Rights Reserved.