Class PeriodicGravatarImageResolutionCacheFillingWorker

java.lang.Object
java.util.TimerTask
hudson.triggers.SafeTimerTask
hudson.model.PeriodicWork
hudson.model.AsyncPeriodicWork
org.jenkinsci.plugins.gravatar.cache.PeriodicGravatarImageResolutionCacheFillingWorker
All Implemented Interfaces:
ExtensionPoint, Runnable

@Extension public class PeriodicGravatarImageResolutionCacheFillingWorker extends AsyncPeriodicWork
Async periodic worker that updates the cached map in UserGravatarResolver It will run at startup and every 30 minutes to check if any user has set a gravatar since last run. The UserGravatarResolver will cache the check for gravatars so the time required when showing the People pages will be as short as possible. This worker task makes sure that the cache is updated every 30 minutes.
Author:
Erik Ramfelt