Interface ConnectorCacheFactory<K,​C extends ConnectorCache<K>,​X extends ConnectorContext>

    • Method Detail

      • createCache

        C createCache​(K key,
                      X context)
        Returns a new instance of a ConnectorCache for the given key and context.
        Parameters:
        key - the key by which this ConnectorCache will be cached in the connector cache
        context - the current connector context. Note, this context should not be held by the ConnectorCache instance, but may be used to retrieve connection properties.
        Returns:
        a valid ConnectorCache instance