Class ConnectorCache


  • public class ConnectorCache
    extends Object
    A cache for connectors and instances. When values are successfully retrieved from the cache the successfulFetch method should be called to update the last fetch time.

    These caches will be attached to subscriptions.

    The system map periodically flush caches and will do so according to the time since a cache was last successfully used.

    Author:
    Mike Douglass
    • Constructor Detail

      • ConnectorCache

        public ConnectorCache​(String name)
        Parameters:
        name - - name for the cache
    • Method Detail

      • getName

        public String getName()
        Returns:
        name
      • getLastFetch

        public long getLastFetch()
        Returns:
        last fetch time
      • successfulFetch

        public void successfulFetch()