Class ConnectorCache

java.lang.Object
org.bedework.synch.shared.cnctrs.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 Details

    • ConnectorCache

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

    • getName

      public String getName()
      Returns:
      name
    • getLastFetch

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

      public void successfulFetch()