Package uk.co.ractf.polaris.node.service
Class GarbageCollectionService
- java.lang.Object
-
- com.google.common.util.concurrent.AbstractScheduledService
-
- uk.co.ractf.polaris.node.service.GarbageCollectionService
-
- All Implemented Interfaces:
com.google.common.util.concurrent.Service
public class GarbageCollectionService extends com.google.common.util.concurrent.AbstractScheduledService
-
-
Constructor Summary
Constructors Constructor Description GarbageCollectionService(java.util.Set<Runner<?>> runners)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrunOneIteration()protected com.google.common.util.concurrent.AbstractScheduledService.Schedulerscheduler()
-
-
-
Constructor Detail
-
GarbageCollectionService
@Inject public GarbageCollectionService(java.util.Set<Runner<?>> runners)
-
-
Method Detail
-
runOneIteration
public void runOneIteration()
- Specified by:
runOneIterationin classcom.google.common.util.concurrent.AbstractScheduledService
-
scheduler
protected com.google.common.util.concurrent.AbstractScheduledService.Scheduler scheduler()
- Specified by:
schedulerin classcom.google.common.util.concurrent.AbstractScheduledService
-
-