- 博客(52)
- 收藏
- 关注
原创 而Elasticsearch中这个quorum的配置就是discovery
节点启动后先 ping (这里的 ping 是 Elasticsearch 的一个 RPC 命令。如果 discovery.zen.ping.unicast.hosts 有设置,则 ping 设置中的 host ,否则尝试 ping localhost 的几个端口, Elasticsearch 支持同一个主机启动多个节点) Ping 的 response 会包含该节点的基本信息以及该节点认为的
2016-07-23 22:49:25
247
原创 配置中的master指的是master 的候选节点
节点启动后先 ping (这里的 ping 是 Elasticsearch 的一个 RPC 命令。如果 discovery.zen.ping.unicast.hosts 有设置,则 ping 设置中的 host ,否则尝试 ping localhost 的几个端口, Elasticsearch 支持同一个主机启动多个节点) Ping 的 response 会包含该节点的基本信息以及该节点认为的
2016-07-23 20:28:36
357
原创 代码以及架构分析主要基于Elasticsearch2.X最新稳定版
Elasticsearch 是最近两年异军突起的一个兼有搜索引擎和NoSQL数据库功能的开源系统,基于Java/Lucene构建。最近研究了一下,感觉 Elasticsearch 的架构以及其开源的生态构建都有许多可借鉴之处,所以整理成文章分享下。本文的代码以及架构分析主要基于 Elasticsearch 2.X 最新稳定版。 Elasticsearch 看名字就能大概了解下它是一个弹性的搜索
2016-07-23 20:08:06
171
原创 感觉Elasticsearch的架构以及其开源的生态
Elasticsearch 是最近两年异军突起的一个兼有搜索引擎和NoSQL数据库功能的开源系统,基于Java/Lucene构建。最近研究了一下,感觉 Elasticsearch 的架构以及其开源的生态构建都有许多可借鉴之处,所以整理成文章分享下。本文的代码以及架构分析主要基于 Elasticsearch 2.X 最新稳定版。 Elasticsearch 看名字就能大概了解下它是一个弹性的搜索
2016-07-23 20:07:06
173
原创 Action English45,47
something or somebody is history means someone lost his powerfire off something mean do something quicklyTell the box Ill fire off the fax as soon as possible.get out of this mess理清头绪get into
2007-06-06 20:38:00
443
原创 Action English44,45
have a world with somebodywith all due respect 冒昧的说一句 With all due respect,you are just not ready to responsibity for the entire projectI have worked my tail off I have worked my tail off fo
2007-06-04 19:37:00
407
原创 Action Englisth42,43
roun and round 拐弯抹角cut to the chase 直接see your way clear of 避开To be successful in life,you really need to see your wa clear of a lot of temptation.have a gift.hang on = wait patient I
2007-05-24 20:40:00
409
原创 Action Englisth40,41
a pep talk my boss gave me a pep talk ,it really helped me closed the dealpretty bad shape=poor situationThe bicycle is in pretty bad shage,I at most give you 30 yuan.be tough on=it is hard to
2007-05-22 20:06:00
399
原创 模板方法Template
uml模板方法是基于继承的代码复用的基本技术 package Templage;public abstract class CarTest ...{ protected abstract void Start(); protected abstract void Run(); public void Test() ...{ this.Start(); this.Ru
2007-05-22 17:27:00
426
原创 装饰模式(Decorator)
uml 接口package Decorator;public interface AutoMobile ...{void Start();void Run();}package Decorator;public class Car implements AutoMobile ...{ public void Run() ...{ // TODO
2007-05-17 17:08:00
432
原创 Action English7,38
come off as =giveing impression thatI hope i didt come off as rude to you motherget to sb The way he spokes to me really gets to methe hard wayyou want do it in the hard way or the easy
2007-05-16 20:16:00
462
原创 合成模式(Composite)
uml 合成模式有两种 安全和透明的1安全式的合成模式要求管理聚集的方法只出现在树枝构件类中,而不出现树叶构件类中。透明式的合成模式要求所有的具体构件类,不论树枝构件还是树叶构件。
2007-05-16 15:33:00
429
原创 桥接模式Bridge
package Bridge;public class DaZhongMaker implements CarMaker ...{ public void MakeEngine() ...{ // TODO 自动生成方法存根System.out.println("dazhong engine"); } public void MakeTyre() ...{
2007-05-15 15:59:00
518
原创 Action English35,36
shut downshut sb down=defeat somebodyshut down or shut something down =close somethingfor example He is a good badminton so he shut me downThe company was dong illeagal things,so the ploic
2007-05-14 20:16:00
438
原创 适配器模式(Adapter)
UML package Adapter;import java.util.Enumeration;import java.util.Iterator;public class Iterameration implements Enumeration...{private Iterator it;public Iterameration(Iterator it)...{ this.
2007-05-14 15:28:00
446
原创 Action English33,34
Are you thick in the head=are you stupid He is a little thickMiss tow meaning 1 想念2 错过I am homesick,I miss my family.I miss the trainI suppose mean I think,I guessI supoose I should I have
2007-05-10 20:25:00
440
原创 原型模式Prototype
uml 图 原始模型模式,我认为也可以称为克隆模式,就是由一个完整的产品对象复制出另一个对象的模式。它也是对象的创建模式,但是只与原始对象有关,不需要工厂类。 原始模型模式最成功的应用之一就是Object类的clone方法,可能由于这种方法的存在,很多人没有意识到原始模型模式是一种特定的创建模式。但是,它的确是一种产生对象的模式,而且clone方法所实现的只是原始模型模式的
2007-05-10 16:41:00
522
原创 建造模式(Builder)
Gof 建造模式可以将一个产品的内部表象与产品的 生产过程分割开来,从而可以使一个建造过程生成具有不同内部表象的产品对象Uml 接口 汽车car,建造者Builderpackage Builder;public interface Car ...{public void Start();public void Stop();public void Turn();}
2007-05-09 20:58:00
418
原创 抽象工厂
抽象工厂模式与工厂方法模式的最大区别就在于,工厂方法模式针对的是一个产品等级结构,而抽象工厂模式则需要面对多个产品等级结构。uml 接口引擎,轮胎,工厂 package AbstractFactory;public interface Engine ...{public void Start();}package AbstractF
2007-05-06 17:36:00
557
原创 工厂方法
在简单工厂中,一个工厂类处于对产品类实例化的中心位置上,它知道每一个产品,它决定那一个类应该被实例化。如果有新的产品加入到系统中去,就需要修改工厂类。在工厂方法模式中,核心的工厂类不再负责所有的产品的创建,而是将具体的创建的工作交给子类去做,工厂方法模式在不修改具体工厂角色的情况下引进新的产品。Uml图 接口Car和Factory package FactoryMeth
2007-05-06 16:43:00
399
原创 简单工厂
简单工厂的uml图测试通用汽车的性能 接口Carpackage SimpleFactory;public interface Car ...{public void Run();public void Turn();public void Stop();}JiLiCar package SimpleFactory;public class JiLiCar i
2007-05-06 16:03:00
382
原创 Action English lession 31.32
sidetracked got sidetrackedIsorry I didnt buy you bookthere was a sale in a cd store,I got sidetrackedcome up with :meas find,solution,think ofI have been working on this problem for hous
2007-04-26 20:02:00
375
原创 Action English lession 24,25
you want to = you have to do ,you would better to do owe to for example you owe me 1 hundredin vogue =fashionKorean dremans are in voguewhat a pleasent surprisein ones shose= in ones
2007-04-23 20:11:00
335
原创 Action English lession 23
spiked Somebody spiked her coke,and took her moneyI maked the spot where I buried the moneyGood work I really proud of you This i s classic moc
2007-04-18 19:27:00
349
原创 Action English lession 21,22
I wasnt my faultI am late It wasnt my fault the bus was lateon ones sideMy parent all ways on my sisters side make a crack aboutDont make a crack about her clotheswant a word with
2007-04-17 19:31:00
423
原创 Action English lession 19
pawn something or somebody off on you cant pawn your girlfirend off on your friendsgo for it =like it or will do ityou try to pawn you old car off on meI didnt go for iton the vergeIm o
2007-04-12 19:50:00
333
原创 Action English lession 18
make a difficence at I want to be a doctor to help peopleI really want to make a difficenceyou heart still in it=like somethingAre your heart still in you workyou heart isnt in it =dont l
2007-04-11 19:33:00
332
原创 Action English lession 17
get a head start turtle is slower than rabbit so the turtle get o head start than rabbitI had no idea=I didnt konowI han no idea she is a talent mad at =angrywhats up one whats the mat
2007-04-10 20:30:00
346
原创 Action English lession 16
tell somebody on somebody I will tell the the teacher on you idiot adn idiotic very very stupid personDont listen to what he sayshe is a idiota little edgy two meaning one is to be nervou
2007-04-09 19:30:00
273
原创 Action English lession 15
wacket out =cracyThat girl is wacket out she parted from her boyfriend but I see them together again I had a hunch on that I had a hunch on that I cant see my money againTurn over a new lea
2007-04-04 19:46:00
335
原创 Action English lession 14
Can I get a liftI can give you a liftlift 有电梯的意思Better luck next timeBad luck=just my luckGood luckWhat I can do to make it up to youmake up forI can do something make up for you car
2007-04-03 19:38:00
270
原创 Action English lession 13
Straight up is use for yong guysabsolutely,correct,right.exactelygorgeous >beautiful>pertty 形容美丽she has a killer legspersonalityhe has a strong personalityyou could do better person or w
2007-04-02 19:38:00
349
原创 Action English lession 12
Holdn on mean wait a minute for example when you phono to a person ,he is busying,he will say "holdn on".All in allAll in all he is a nice guy.except forAll have arrived except for jomShe
2007-03-30 19:40:00
327
原创 Action English lession 11
Close-upReady to Roll mean Are you ready to goThands God every body is on the set on time ,ready to rollThe ariplane will fly ,Ready to rollBelive it or not I had bought the mp4 belive it o
2007-03-28 19:50:00
311
原创 Action English lesson 10
Bluff mean cheat or liefor example This is the rob Im not bluff.Dot approach me I have the gun Im not blluffwhas going on mean whats the matterOfficer whats gong onGet something un
2007-03-26 20:05:00
338
原创 Action English lesson 9
The order of you mean something should be priortyfor example Writing the paper is the order of meBeat us to the draw mean somebody do someting faster than someonefor exampleJack an jone lo
2007-03-25 19:50:00
318
原创 Action English lesson 8
Pass1 pass someting to somebodyfor example Please the pen to me2 Go beyondLeaning is like a boat in the river if you donit lean hard somebody will pass you I was runing as fast as i could ,
2007-03-24 19:53:00
324
原创 Action English lesson 7
busting my ass :two meaing one is make something difficult tow work hardfor example please stop busting my ass I have a lot of problems.Every day I study I bust my ass to make my life better in
2007-03-22 20:23:00
310
原创 Action English lesson 6
log kepperAs you konw,Every Movie have a log kepperIts up to you You can Stuty .net and java Its up to you.The life what do you like for is up to you.What do you mean . The meaning is tha
2007-03-21 19:20:00
359
原创 心情杂记
好久没有上优快云Blog了,我好象已经遗忘了我还有这个Blog,以前申请这个Blog是想把我想保存的代码保存下来,可是自从申请以后,我发现我很少来这个地方了,发文章也是断断续续,猛然回头,发现我这个人还是比较懒的,我本身就不聪明,如果再不苯鸟先飞,那只能落后于时代了,我本身也不想偷懒的,但每个星期都对自己说要有一个好的开始,每个星期还是一样,在回头看一下,研究生生涯已经过了一大半了,时
2006-11-19 20:38:00
373
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅