static CarrotConfiguration |
Carrot.configure() |
|
static CarrotConfiguration |
Carrot.destroy() |
|
CarrotConfiguration |
CarrotConfiguration.useBackgroundTaskServer() |
Provides a default BackgroundTaskServer that is configured using a number of threads depending on the amount of CPU.
|
CarrotConfiguration |
CarrotConfiguration.useBackgroundTaskServer(int workerCount) |
|
CarrotConfiguration |
CarrotConfiguration.useBackgroundTaskServer(BackgroundTaskServerConfiguration configuration) |
|
CarrotConfiguration |
CarrotConfiguration.useBackgroundTaskServer(BackgroundTaskServerConfiguration configuration,
boolean startBackgroundTaskServer) |
|
CarrotConfiguration |
CarrotConfiguration.useBackgroundTaskServerIf(boolean guard) |
Provides a default BackgroundTaskServer if the guard is true and that is configured using a number of threads depending on the amount of CPU.
|
CarrotConfiguration |
CarrotConfiguration.useBackgroundTaskServerIf(boolean guard,
int workerCount) |
Provides a default BackgroundTaskServer if the guard is true and that is configured using a given number of threads.
|
CarrotConfiguration |
CarrotConfiguration.useBackgroundTaskServerIf(boolean guard,
BackgroundTaskServerConfiguration configuration) |
|
CarrotConfiguration |
CarrotConfiguration.useBackgroundTaskServerIf(boolean guard,
BackgroundTaskServerConfiguration configuration,
boolean startBackgroundTaskServer) |
|
CarrotConfiguration |
CarrotConfiguration.useDashboard() |
Provides a dashboard on port 8000
|
CarrotConfiguration |
CarrotConfiguration.useDashboard(int dashboardPort) |
Provides a dashboard on the given port
|
CarrotConfiguration |
CarrotConfiguration.useDashboard(CarrotDashboardWebServerConfiguration configuration) |
|
CarrotConfiguration |
CarrotConfiguration.useDashboardIf(boolean guard) |
Provides a dashboard on port 8000 if the guard is true
|
CarrotConfiguration |
CarrotConfiguration.useDashboardIf(boolean guard,
int dashboardPort) |
Provides a dashboard on the given port if the guard is true
|
CarrotConfiguration |
CarrotConfiguration.useDashboardIf(boolean guard,
CarrotDashboardWebServerConfiguration configuration) |
|
CarrotConfiguration |
CarrotConfiguration.useJmxExtensions() |
If called, this method will register JMX Extensions to monitor Carrot via JMX
|
CarrotConfiguration |
CarrotConfiguration.useJmxExtensionsIf(boolean guard) |
Enables JMX Extensions to monitor Carrot via JMX if the guard is true
|
CarrotConfiguration |
CarrotConfiguration.useJsonMapper(JsonMapper jsonMapper) |
The JsonMapper to transform tasks to json in the database
|
CarrotConfiguration |
CarrotConfiguration.useMicroMeter(CarrotMicroMeterIntegration microMeterIntegration) |
Allows integrating MicroMeter metrics into Carrot
|
CarrotConfiguration |
CarrotConfiguration.usePartitioner(Partitioner partitioner) |
Allows to set the Partitioner that Carrot will use.
|
CarrotConfiguration |
CarrotConfiguration.useStorageProvider(PartitionedStorageProvider storageProvider) |
Allows to set the PartitionedStorageProvider that Carrot will use.
|
CarrotConfiguration |
CarrotConfiguration.useTaskActivator(TaskActivator taskActivator) |
The TaskActivator is used to resolve tasks from the IoC framework
|
CarrotConfiguration |
CarrotConfiguration.useTaskDetailsGenerator(TaskDetailsGenerator taskDetailsGenerator) |
|
CarrotConfiguration |
CarrotConfiguration.withTaskFilter(TaskFilter... taskFilters) |
Allows setting extra TaskFilters or to provide another implementation of the RetryFilter
|