Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In order to clarify the semantic of lookup, we'd like to introduce some top-level APIs for general lookup operations without caching:

  • LookupFunction / AsyncLookupFunction, an extended version of TableFunction to make the API more straight forward.
  • LookupFunctionProvider / AsyncLookupProvider, serve as the creator of LookupFunction / AsyncLookupFunction in table source

...

More specifically,  we'd like to provide public interfaces for the most 2 common cases to lookup source developers, which we call are named as partial and full caching.

...

  • FullCachingLookupProvider, for reusing the ability of scanning.
  • FullCachingReloadTriggerCacheReloadTrigger, for customizing reloading strategies of all entries in the full cache

Also we'd like to provide two default implementations of CacheReloadTrigger:

  • PeriodicCacheReloadTrigger, for triggering reload periodically with a specific interval
  • TimedCacheReloadTrigger, for triggering reload at the specific time and repeat with the interval in days.

Public Interfaces

Lookup Functions

...