Package org.ametys.web.robots
Class PingSitemapTask
java.lang.Object
java.util.TimerTask
org.ametys.web.robots.PingSitemapTask
- All Implemented Interfaces:
Runnable
,Disposable
,Initializable
,Component
,LogEnabled
,Serviceable
public class PingSitemapTask
extends TimerTask
implements Component, Initializable, LogEnabled, Serviceable, Disposable
Periodically ping three search engine : Google, Yahoo and Bing
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
void
enableLogging
(Logger logger) void
void
run()
void
service
(ServiceManager manager) Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
Field Details
-
ROLE
Avalon role
-
-
Constructor Details
-
PingSitemapTask
public PingSitemapTask()
-
-
Method Details
-
dispose
- Specified by:
dispose
in interfaceDisposable
-
enableLogging
- Specified by:
enableLogging
in interfaceLogEnabled
-
initialize
- Specified by:
initialize
in interfaceInitializable
- Throws:
Exception
-
run
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-