Package org.cache2k.io
Interface AsyncBulkCacheLoader.BulkLoadContext<K,V>
-
- All Superinterfaces:
DataAware<K,V>
- Enclosing interface:
- AsyncBulkCacheLoader<K,V>
public static interface AsyncBulkCacheLoader.BulkLoadContext<K,V> extends DataAware<K,V>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Cache<K,V>
getCache()
Cache originating the requestAsyncBulkCacheLoader.BulkCallback<K,V>
getCallback()
Map<K,AsyncCacheLoader.Context<K,V>>
getContextMap()
Individual load context for each key.Executor
getExecutor()
The configured executor for async operations.Set<K>
getKeys()
Keys requested to load.Executor
getLoaderExecutor()
The configured loader executor.long
getStartTime()
boolean
isRefreshAhead()
Operation is refresh and not a client request.
-
-
-
Method Detail
-
getContextMap
Map<K,AsyncCacheLoader.Context<K,V>> getContextMap()
Individual load context for each key.
-
getStartTime
long getStartTime()
-
getExecutor
Executor getExecutor()
The configured executor for async operations.- See Also:
Cache2kBuilder.executor(Executor)
-
getLoaderExecutor
Executor getLoaderExecutor()
The configured loader executor.- See Also:
Cache2kBuilder.loaderExecutor(Executor)
-
getCallback
AsyncBulkCacheLoader.BulkCallback<K,V> getCallback()
-
isRefreshAhead
boolean isRefreshAhead()
Operation is refresh and not a client request.
-
-