Package edu.sc.seis.sod
Class TotalLoserEventCleaner
java.lang.Object
java.util.TimerTask
edu.sc.seis.sod.TotalLoserEventCleaner
- All Implemented Interfaces:
Runnable
This task runs immediately on instantiation and then once a week after that.
It removes all events that were failed in the eventArm by a subsetter from
the database on each run.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
cleanECP
(edu.iris.Fissures.model.MicroSecondDate ageAgo) static void
cleanENP
(edu.iris.Fissures.model.MicroSecondDate ageAgo) static void
cleanESP
(edu.iris.Fissures.model.MicroSecondDate ageAgo) static void
cleanEvents
(edu.iris.Fissures.model.MicroSecondDate ageAgo) static void
cleanEVP
(edu.iris.Fissures.model.MicroSecondDate ageAgo) void
run()
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
Constructor Details
-
TotalLoserEventCleaner
public TotalLoserEventCleaner(edu.iris.Fissures.model.TimeInterval lag)
-
-
Method Details
-
run
public void run() -
cleanEvents
public static void cleanEvents(edu.iris.Fissures.model.MicroSecondDate ageAgo) -
cleanESP
public static void cleanESP(edu.iris.Fissures.model.MicroSecondDate ageAgo) -
cleanENP
public static void cleanENP(edu.iris.Fissures.model.MicroSecondDate ageAgo) -
cleanECP
public static void cleanECP(edu.iris.Fissures.model.MicroSecondDate ageAgo) -
cleanEVP
public static void cleanEVP(edu.iris.Fissures.model.MicroSecondDate ageAgo) -
clean
-