CacheService<D extends Object, P extends Object>.withSyncDelegate constructor
CacheService<D extends Object, P extends Object>.withSyncDelegate (
- SyncCacheDelegate<
D, P> delegate
Creates a SyncCacheDelegate cache service
delegate
Delegate that synchronously performs caching actions
Implementation
factory CacheService.withSyncDelegate(SyncCacheDelegate<D, P> delegate) {
return AsyncDelegateCacheService(AsyncCacheDelegate(delegate));
}