Package io.cryostat.agent.harvest
Class HarvestModule
- java.lang.Object
-
- io.cryostat.agent.harvest.HarvestModule
-
@Module public abstract class HarvestModule extends Object
-
-
Constructor Summary
Constructors Constructor Description HarvestModule()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HarvesterprovideHarvester(ScheduledExecutorService workerPool, long period, String template, int maxFiles, long exitMaxAge, long exitMaxSize, long maxAge, long maxSize, CryostatClient client, FlightRecorderHelper flightRecorderHelper, Registration registration)
-
-
-
Method Detail
-
provideHarvester
@Provides @Singleton public static Harvester provideHarvester(ScheduledExecutorService workerPool, @Named("cryostat.agent.harvester.period-ms") long period, @Named("cryostat.agent.harvester.template") String template, @Named("cryostat.agent.harvester.max-files") int maxFiles, @Named("cryostat.agent.harvester.exit.max-age-ms") long exitMaxAge, @Named("cryostat.agent.harvester.exit.max-size-b") long exitMaxSize, @Named("cryostat.agent.harvester.max-age-ms") long maxAge, @Named("cryostat.agent.harvester.max-size-b") long maxSize, CryostatClient client, FlightRecorderHelper flightRecorderHelper, Registration registration)
-
-