Celery 1.0 Documentationbase Default Loader - celery.loaders.default Django Loader - celery.loaders.djangoapp Task Registry - celery.registry Task States - celery.states Messaging - celery.messaging Contrib: Test runner - celery like cron. Here’s an example of a periodic task: from celery.task import PeriodicTask from celery.registry import tasks from datetime import timedelta class MyPeriodicTask(PeriodicTask): run_every = json, yaml, or any custom serialization methods that have been registered with carrot.serialization.registry. Please see Executing Tasks for more information. Message and routing options routing_key Override0 码力 | 221 页 | 283.64 KB | 1 年前3
Celery 2.1 DocumentationLoader Base Classes - celery.loaders.base Default Loader - celery.loaders.default Task Registry - celery.registry Task States - celery.states Messaging - celery.messaging Contrib: Abortable tasks - celery json, yaml, or any custom serialization methods that have been registered with carrot.serialization.registry. Please see Serializers for more information. Task.backend The result store backend to use for in a registry. The registry contains a list of task names and their task classes. You can investigate this registry yourself: >>> from celery import registry >>> from celery import task >>> registry.tasks0 码力 | 463 页 | 861.69 KB | 1 年前3
Celery 2.0 DocumentationLoader Base Classes - celery.loaders.base Default Loader - celery.loaders.default Task Registry - celery.registry Task States - celery.states Messaging - celery.messaging Contrib: Abortable tasks - celery json, yaml, or any custom serialization methods that have been registered with carrot.serialization.registry. Please see Executing Tasks for more information. Message and routing options queue Use the in a registry. The registry contains a list of task names and their task classes. You can investigate this registry yourself: >>> from celery import registry >>> from celery import task >>> registry.tasks0 码力 | 284 页 | 332.71 KB | 1 年前3
Spring Boot 2.1.x-SNAPSHOT Reference Guideimplements ErrorPageRegistrar { @Override public void registerErrorPages(ErrorPageRegistry registry) { registry.addErrorPages(new ErrorPage(HttpStatus.BAD_REQUEST, "/400")); } } Note If you register { return new WebMvcConfigurer() { @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/api/**"); } }; } } The “Spring WebFlux Framework” Spring WebFlux is the composite MeterRegistry and adds a registry to the composite for each of the supported implementations that it finds on the classpath. Having a dependency on micrometer-registry-{system} in your runtime classpath0 码力 | 713 页 | 666.39 KB | 1 年前3
Spring Boot 2.1.10.RELEASE Reference Documentationimplements ErrorPageRegistrar { @Override public void registerErrorPages(ErrorPageRegistry registry) { registry.addErrorPages(new ErrorPage(HttpStatus.BAD_REQUEST, "/400")); } } Note If you register { return new WebMvcConfigurer() { @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/api/**"); } }; } } The “Spring WebFlux Framework” Spring WebFlux is the composite MeterRegistry and adds a registry to the composite for each of the supported implementations that it finds on the classpath. Having a dependency on micrometer-registry-{system} in your runtime classpath0 码力 | 708 页 | 660.77 KB | 1 年前3
Spring Boot 2.1.7.RELEASE Reference Guideimplements ErrorPageRegistrar { @Override public void registerErrorPages(ErrorPageRegistry registry) { registry.addErrorPages(new ErrorPage(HttpStatus.BAD_REQUEST, "/400")); } } Note If you register { return new WebMvcConfigurer() { @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/api/**"); } }; } } The “Spring WebFlux Framework” Spring WebFlux is the composite MeterRegistry and adds a registry to the composite for each of the supported implementations that it finds on the classpath. Having a dependency on micrometer-registry-{system} in your runtime classpath0 码力 | 697 页 | 659.21 KB | 1 年前3
Spring Boot 2.1.5.RELEASE Reference Guideimplements ErrorPageRegistrar { @Override public void registerErrorPages(ErrorPageRegistry registry) { registry.addErrorPages(new ErrorPage(HttpStatus.BAD_REQUEST, "/400")); } } Note If you register { return new WebMvcConfigurer() { @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/api/**"); } }; } } The “Spring WebFlux Framework” Spring WebFlux is the composite MeterRegistry and adds a registry to the composite for each of the supported implementations that it finds on the classpath. Having a dependency on micrometer-registry-{system} in your runtime classpath0 码力 | 697 页 | 658.67 KB | 1 年前3
Spring Boot 2.1.12.RELEASE Reference Guideimplements ErrorPageRegistrar { @Override public void registerErrorPages(ErrorPageRegistry registry) { registry.addErrorPages(new ErrorPage(HttpStatus.BAD_REQUEST, "/400")); } } Note If you register { return new WebMvcConfigurer() { @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/api/**"); } }; } } The “Spring WebFlux Framework” Spring WebFlux is the composite MeterRegistry and adds a registry to the composite for each of the supported implementations that it finds on the classpath. Having a dependency on micrometer-registry-{system} in your runtime classpath0 码力 | 708 页 | 661.96 KB | 1 年前3
Spring Boot 2.1.4.RELEASE Reference Guideimplements ErrorPageRegistrar { @Override public void registerErrorPages(ErrorPageRegistry registry) { registry.addErrorPages(new ErrorPage(HttpStatus.BAD_REQUEST, "/400")); } } Note If you register { return new WebMvcConfigurer() { @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/api/**"); } }; } } The “Spring WebFlux Framework” Spring WebFlux is the composite MeterRegistry and adds a registry to the composite for each of the supported implementations that it finds on the classpath. Having a dependency on micrometer-registry-{system} in your runtime classpath0 码力 | 696 页 | 658.52 KB | 1 年前3
Celery 2.3 Documentationjson, yaml, or any custom serialization methods that have been registered with kombu.serialization.registry. Please see Serializers for more information. Task.backend The result store backend to use for x, y): return x + y add = registry.tasks[AddTask.name] Instantiation A task is not instantiated for every request, but is registered in the task registry as a global instance. This means that in a registry. The registry contains a list of task names and their task classes. You can investigate this registry yourself: >>> from celery import registry >>> from celery import task >>> registry.tasks0 码力 | 530 页 | 900.64 KB | 1 年前3
共 335 条
- 1
- 2
- 3
- 4
- 5
- 6
- 34













