Laravel 5.2 中文文档
Executed illuminate.queue.after Illuminate\Queue\Events\JobProcessed illuminate.queue.failed Illuminate\Queue\Events\JobFailed illuminate.queue.stopping Illuminate\Queue\Events\WorkerStopping 的标识符试图从数据库获取一个已存在的模型实例。 IronMQ IronMQ 队列驱动被移动到自己的扩展包中,不再被框架核心支持: http://github.com/LaravelCollective/iron-queue 任务/队列 php artisan make:job 命令现在默认会创建一个队列任务类,如果你想要创建一个同步任 务(非队列),在使用该命令时加上 --sync 选项。 邮件 邮件配置中移除了 swordBroker auth.password Queue Illuminate\Queue\QueueManager queue Queue (Instance) Illuminate\Queue\QueueInterface Queue (Base Class) Illuminate\Queue\Queue Redirect Illuminate\Routing\Redirector0 码力 | 377 页 | 4.56 MB | 1 年前3使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2023.11)
• actor(角色) • boundary(边界) • control(控制) • entity(实体) • database(数据库) • collections(集合) • queue(队列) @startuml participant Participant as Foo actor Actor as Foo1 boundary Boundary as Foo2 control Foo6 queue Queue as Foo7 Foo -> Foo1 : To actor Foo -> Foo2 : To boundary Foo -> Foo3 : To control Foo -> Foo4 : To entity Foo -> Foo5 : To database Foo -> Foo6 : To collections Foo -> Foo7: To queue @enduml 对象图 } map task.1 { Start => End } map task.2 { Start => End } map task.3 { Start => End } map task.4 { Start => End } map task.5 { Start => End } Kick.Off --> task.1 : Label 1 Kick.Off --> task.2 : Label0 码力 | 539 页 | 7.74 MB | 1 年前3PlantUML 1.2021.3 语言参考指引
• actor(角色) • boundary(边界) • control(控制) • entity(实体) • database(数据库) • collections(集合) • queue(队列) @startuml participant participant as Foo actor actor as Foo1 boundary boundary as Foo2 control 2 声明参与者 1 时序图 entity entity as Foo4 database database as Foo5 collections collections as Foo6 queue queue as Foo7 Foo -> Foo1 : To actor Foo -> Foo2 : To boundary Foo -> Foo3 : To control Foo -> Foo4 : : To entity Foo -> Foo5 : To database Foo -> Foo6 : To collections Foo -> Foo7 : To queue @enduml 关键字 as 用于重命名参与者 你还可以使用 RGB 值或者颜色名修改 actor 或参与者的背景颜色。 @startuml actor Bob #red ' actor 和 participant0 码力 | 398 页 | 4.22 MB | 1 年前3Python3 基础教程 - 廖雪峰
def long_time_task(name): print('Run task %s (%s)...' % (name, os.getpid())) start = time.time() time.sleep(random.random() * 3) end = time.time() print('Task %s runs %0.2f seconds process %s.' % os.getpid()) p = Pool(4) for i in range(5): p.apply_async(long_time_task, args=(i,)) print('Waiting for all subprocesses done...') Python3 基础教程【完整版】 http://www.yeayee . Run task 0 (671)... Run task 1 (672)... Run task 2 (673)... Run task 3 (674)... Task 2 runs 0.14 seconds. Run task 4 (673)... Task 1 runs 0.27 seconds. Task 3 runs 0.86 seconds. Task 0 runs0 码力 | 531 页 | 5.15 MB | 1 年前3Laravel 5.1 中文文档
Middleware 被废弃,在中间件中定义一个 terminate 方法替代实现该接口。 Illuminate\Contracts\Queue\ShouldBeQueued 被废弃,使 用 Illuminate\Contracts\Queue\ShouldQueue Iron.io “推入队列” 被废弃, 使用 Iron.io 队列和队列监听器. Illuminat 前为 其设置额外属性。 契约(Contracts) 1、简介 Laravel 的契约是指框架提供的一系列定义核心服务的接口。比如, Illuminate\Contracts\Queue\Queue 契约定义了队列任务需要的方法, Illuminate\Contracts\Mail\Mailer 契约定义了发送邮件所需要的方法。 每一个契约都有框架提供的相应实现。比如,Laravel Illuminate\Contracts\Cookie\Factory Cookie Illuminate\Contracts\Cookie\QueueingFactory Cookie::queue() Illuminate\Contracts\Encryption\Encrypter Crypt Illuminate\Contracts\Events\Dispatcher Event0 码力 | 307 页 | 3.46 MB | 1 年前3Rust 异步并发框架在移动端的应用 - 陈明煜
Syntax sugar wake await Rust 异步机制 Asynchronous Rust Rust 异步机制 Asynchronous Rust Waker Task Future task Queue wake Worker Future.poll() Reactor fd fd listen listen find 现有并发框架 Third Party Runtime 多线程模型提供了并行迭代器功能, 适用于处理 CPU 密集型计算任务 rayon 现有框架无法完美适配移动端(一) Core Thread Thread Worker Worker task task Local queue Local queue Tokio 采用了如右图这种 GMP 模式: • 一核可以绑定多线程,每个线程拥有一个 Worker ,每个 Worker 拥有一个任务队列 • 但线程拥有相同优先级 Mobile spawn_blocking 调度模式 spawn 调度模式 Thread Worker task Local queue Thread Thread task Global queue task New task Global queue New task take & run take & run Worker take & run Steal & run0 码力 | 25 页 | 1.64 MB | 1 年前3使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2021.2)
entity entity file file folder folder frame frame interface interface node node package package queue queue stack stack rectangle rectangle storage storage usecase usecase @enduml 可选的,您可以使用方括号 [] 放置长描述文本。 file { } folder folder { } frame frame { } hexagon hexagon { } node node { } package package { } queue queue { } rectangle rectangle { } stack stack { } storage storage { } @enduml PlantUML 语言参考指引 (1.2021 "node" as nodeVeryLOOOOOOOOOOOOOOOOOOOg package "package" as packageVeryLOOOOOOOOOOOOOOOOOOOg queue "queue" as queueVeryLOOOOOOOOOOOOOOOOOOOg stack "stack" as stackVeryLOOOOOOOOOOOOOOOOOOOg rectangle "rectangle"0 码力 | 381 页 | 4.05 MB | 1 年前3PlantUML 1.2021.1 语言参考指引
entity entity file file folder folder frame frame interface interface node node package package queue queue stack stack rectangle rectangle storage storage usecase usecase @enduml 可选的,您可以使用方括号 [] 放置长描述文本。 file { } folder folder { } frame frame { } hexagon hexagon { } node node { } package package { } queue queue { } rectangle rectangle { } stack stack { } storage storage { } @enduml PlantUML 语言参考指引 (1.2021 "node" as nodeVeryLOOOOOOOOOOOOOOOOOOOg package "package" as packageVeryLOOOOOOOOOOOOOOOOOOOg queue "queue" as queueVeryLOOOOOOOOOOOOOOOOOOOg stack "stack" as stackVeryLOOOOOOOOOOOOOOOOOOOg rectangle "rectangle"0 码力 | 376 页 | 4.00 MB | 1 年前3Swift改善既有代码的设计 - 翁阳
[self.buddys addObjectsFromArray:buddys]; dispatch_async(dispatch_get_main_queue(), ^{ self.statusLabel.text = @"�����..."; self.statusProgressView.progress groups addObjectsFromArray:groups]; dispatch_async(dispatch_get_main_queue(), ^{ self.statusLabel.text = @"������"; self.statusProgressView self.buddys.appendContentsOf(buddys) dispatch_async(dispatch_get_main_queue(), { () -> Void in self.statusLabel.text = "�����..." self.statusProgressView0 码力 | 48 页 | 4.68 MB | 1 年前3Laravel 5.3 中文文档
................................................................................. 582 14.2 Envoy Task Runner .......................................................................................... retry_after。这一命名更改让配置项的意义更加明确。 闭包 队列闭包不再支持,如果你在应用中将闭包添加到队列,需要将闭包转化为一个类,然后将类实 例添加到队列。 集合序列化 Illuminate\Queue\SerializesModels trait 现 在 适 当 实 例 化 了 Illuminate\Database\Eloquent\Collection。对绝大多数应用来说这不算重大更新,但是,如果 在使用 Artisan 命令 queue:work 的时候不再需要指定--daemon 选项,运行 php artisan queue:work 命令的时候自动判断在后台运行。如果你想要处理单个任务,可以在命令后加上-- once 选项: // Start a daemon queue worker... php artisan queue:work 本文档由 Laravel0 码力 | 691 页 | 9.37 MB | 1 年前3
共 524 条
- 1
- 2
- 3
- 4
- 5
- 6
- 53