public interface ConnectorCacheFactory<K,C extends ConnectorCache<K>,X extends ConnectorContext>
ConnectorCache.getCache(K, X, com.boomi.connector.util.ConnectorCacheFactory<K, C, X>) to instantiate ConnectorCaches on demand.| Modifier and Type | Method and Description |
|---|---|
C |
createCache(K key,
X context)
Returns a new instance of a ConnectorCache for the given key and context.
|
C createCache(K key, X context)
key - the key by which this ConnectorCache will be cached in the connector cachecontext - the current connector context. Note, this context should not be held by the ConnectorCache
instance, but may be used to retrieve connection properties.