@PublicEvolving public interface FullCachingLookupProvider extends LookupFunctionProvider
LookupFunctionProvider that never lookup in external system on cache miss and provides
a cache for holding all entries in the external system. The cache will be fully reloaded from the
external system by the ScanTableSource.ScanRuntimeProvider and reload operations will be
triggered by the CacheReloadTrigger.| Modifier and Type | Method and Description |
|---|---|
CacheReloadTrigger |
getCacheReloadTrigger()
Get a
CacheReloadTrigger for triggering the reload operation. |
ScanTableSource.ScanRuntimeProvider |
getScanRuntimeProvider()
Get a
ScanTableSource.ScanRuntimeProvider for scanning all entries from the external
lookup table and load into the cache. |
static FullCachingLookupProvider |
of(ScanTableSource.ScanRuntimeProvider scanRuntimeProvider,
CacheReloadTrigger cacheReloadTrigger)
Build a
FullCachingLookupProvider from the specified ScanTableSource.ScanRuntimeProvider and CacheReloadTrigger. |
createLookupFunction, ofstatic FullCachingLookupProvider of(ScanTableSource.ScanRuntimeProvider scanRuntimeProvider, CacheReloadTrigger cacheReloadTrigger)
FullCachingLookupProvider from the specified ScanTableSource.ScanRuntimeProvider and CacheReloadTrigger.ScanTableSource.ScanRuntimeProvider getScanRuntimeProvider()
ScanTableSource.ScanRuntimeProvider for scanning all entries from the external
lookup table and load into the cache.CacheReloadTrigger getCacheReloadTrigger()
CacheReloadTrigger for triggering the reload operation.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.