Package org.bedework.synch.shared.cnctrs
Class ConnectorCache
java.lang.Object
org.bedework.synch.shared.cnctrs.ConnectorCache
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
ConnectorCache
- Parameters:
name- - name for the cache
-
-
Method Details
-
getName
- Returns:
- name
-
getLastFetch
public long getLastFetch()- Returns:
- last fetch time
-
successfulFetch
public void successfulFetch()
-