码迷,mamicode.com
首页 >  
搜索关键字:tasks    ( 2110个结果
面向对象之继承
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 面向对象之继承{ class Program ...
分类:其他好文   时间:2015-07-31 23:15:11    阅读次数:138
Storm的并发概念
在Spouts和bolts中出现了Executors 执行器和Tasks 任务的概念在Toplogy 中有个workers,Toplogy运行在workers上面,Workers 上面一般指进程数Storm集群中的一台机器 可以运行一个或多个workers process,workers大小可以设置...
分类:其他好文   时间:2015-07-31 21:54:02    阅读次数:359
Concurrency vs Parallelism From Stackoverflow
Stackoverflow 精彩答案整理… 本人英语水平渣渣,翻译的主要目的自己整理加深理解。如果不幸误导您,请见谅。如果您好心提醒我,可以直接底下留言。 原文链接Concurrency is when two tasks can start, run, and complete in overlapping time periods. It doesn’t necessarily mean t...
分类:其他好文   时间:2015-07-31 12:55:37    阅读次数:144
自动化运维工具Ansible之Playbooks的roles和include
当需要对多个远程节点,做很多操作的时候,如果将所有的内容都书写到一个playbooks中,这就会产生一个很大的文件,而且里面的某些内容也很难复用。此时不得不考虑怎么样分隔及组织相关的文件。最基本的,可以将任务列表单独分隔到一个小文件里,然后在tasks中包含该文件即可。..
分类:其他好文   时间:2015-07-30 15:08:55    阅读次数:871
Net 异步编程
例子:using System;using System.Collections.Generic;using System.Linq;using System.Data;using System.Text;using System.Threading.Tasks;using System.Secur...
分类:Web程序   时间:2015-07-29 15:38:11    阅读次数:190
数组中插入1-100数字,数字不能重复.
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication2 { cl...
分类:编程语言   时间:2015-07-28 20:29:07    阅读次数:117
彻底理解Gradle的任务
在Gradle的build文件中,任务是构建活动最基本的单元,它是许多构建指令的集合,下面我将仔细介绍Gradle任务的细节。声明一个任务声明任务很简单,你只需要一个任务名:task hello你可以在命令行中使用gradle tasks来查看所有的任务:----------------------...
分类:其他好文   时间:2015-07-28 18:12:01    阅读次数:125
hive count distinct
select count(distinct user_id) from dm_user where ds=20150701; 使用disticnt函数,所有的数据只会shuffle到一个reducer上,导致reducer数据倾斜严重 优化后为 set mapred.reduce.tasks=50; select count(*) from (select user_id...
分类:其他好文   时间:2015-07-28 13:11:29    阅读次数:103
面向对象--继承练习
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace winformjicheng{ class Prog...
分类:其他好文   时间:2015-07-27 12:51:44    阅读次数:111
C#面向对象中类的静态成员与非静态成员的区别
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 静态与非静态的区别{ public cla...
分类:Windows程序   时间:2015-07-26 12:30:34    阅读次数:178
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!