91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 21.78MB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發布日期: 2023-06-28
  • 語言: 其他
  • 標簽: zookeeper??Dubbo??

資源簡介

最近剛接觸dubbo,新手入門遇到好多麻煩,網上搜來的入門demo也是各種問題,百般周折自己終于倒騰出來了,與大家共享~ 本zookeeper已經編輯,解壓到英文路徑下直接運行bin/zkServer.cmd即可(之前版本資源分過高)

資源截圖

代碼片段和文件信息

/**
?*?Licensed?to?the?Apache?Software?Foundation?(ASF)?under?one
?*?or?more?contributor?license?agreements.??See?the?NOTICE?file
?*?distributed?with?this?work?for?additional?information
?*?regarding?copyright?ownership.??The?ASF?licenses?this?file
?*?to?you?under?the?Apache?License?Version?2.0?(the
?*?“License“);?you?may?not?use?this?file?except?in?compliance
?*?with?the?License.??You?may?obtain?a?copy?of?the?License?at
?*
?*?????http://www.apache.org/licenses/LICENSE-2.0
?*
?*?Unless?required?by?applicable?law?or?agreed?to?in?writing?software
?*?distributed?under?the?License?is?distributed?on?an?“AS?IS“?BASIS
?*?WITHOUT?WARRANTIES?OR?CONDITIONS?OF?ANY?KIND?either?express?or?implied.
?*?See?the?License?for?the?specific?language?governing?permissions?and
?*?limitations?under?the?License.
?*/

package?org.apache.zookeeper.util;

import?java.io.BufferedReader;
import?java.io.IOException;
import?java.io.InputStream;
import?java.io.InputStreamReader;
import?java.lang.reflect.InvocationTargetException;
import?java.lang.reflect.Method;
import?java.util.ArrayList;
import?java.util.HashMap;

/**
?*?This?is?a?generic?Main?class?that?is?completely?driven?by?the
?*?/mainClasses?resource?on?the?class?path.?This?resource?has?the
?*?format:
?*?

?*?cmd:mainClass:Description
?*?

?*?Any?lines?starting?with?#?will?be?skipped
?*
?*/
public?class?FatJarMain?{
????static?class?Cmd?{
????????Cmd(String?cmd?String?clazz?String?desc)?{
????????????this.cmd?=?cmd;
????????????this.clazz?=?clazz;
????????????this.desc?=?desc;
????????}
????????String?cmd;
????????String?clazz;
????????String?desc;
????}
????static?HashMap?cmds?=?new?HashMap();
????static?ArrayList?order?=?new?ArrayList();
????
????/**
?????*?@param?args?the?first?parameter?of?args?will?be?used?as?an
?????*?index?into?the?/mainClasses?resource.?The?rest?will?be?passed
?????*?to?the?mainClass?to?run.
?????*?@throws?IOException?
?????*?@throws?ClassNotFoundException?
?????*?@throws?NoSuchMethodException?
?????*?@throws?SecurityException?
?????*?@throws?IllegalAccessException?
?????*?@throws?IllegalArgumentException?
?????*/
????public?static?void?main(String[]?args)?throws?IOException?ClassNotFoundException?SecurityException?NoSuchMethodException?IllegalArgumentException?IllegalAccessException?{
????????InputStream?is?=?FatJarMain.class.getResourceAsStream(“/mainClasses“);
????????if?(is?==?null)?{
????????????System.err.println(“Couldn‘t?find?/mainClasses?in?classpath.“);
????????????System.exit(3);
????????}
????????BufferedReader?br?=?new?BufferedReader(new?InputStreamReader(is));
????????String?line;
????????while((line?=?br.readLine())?!=?null)?{
????????????String?parts[]?=?line.split(“:“?3);
????????????if?(parts.length?!=?3?||?(parts[0].length()?>?0?&&?parts[0].charAt(0)?==?‘#‘))?{
????????????????continue;
????????????}
????????????if?(parts[0].length()?>?0)?{
????????????????cmds.put(parts[0]?new?Cmd(parts[0]?parts[1]?parts[2]));
?

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件?????362688??2016-02-06?11:46??dist-maven\zookeeper-3.4.8-javadoc.jar

?????文件????????819??2016-02-06?11:50??dist-maven\zookeeper-3.4.8-javadoc.jar.asc

?????文件?????????33??2016-02-06?11:46??dist-maven\zookeeper-3.4.8-javadoc.jar.md5

?????文件?????????41??2016-02-06?11:46??dist-maven\zookeeper-3.4.8-javadoc.jar.sha1

?????文件?????563623??2016-02-06?11:46??dist-maven\zookeeper-3.4.8-sources.jar

?????文件????????819??2016-02-06?11:50??dist-maven\zookeeper-3.4.8-sources.jar.asc

?????文件?????????33??2016-02-06?11:46??dist-maven\zookeeper-3.4.8-sources.jar.md5

?????文件?????????41??2016-02-06?11:46??dist-maven\zookeeper-3.4.8-sources.jar.sha1

?????文件?????577355??2016-02-06?11:46??dist-maven\zookeeper-3.4.8-tests.jar

?????文件????????819??2016-02-06?11:50??dist-maven\zookeeper-3.4.8-tests.jar.asc

?????文件?????????33??2016-02-06?11:46??dist-maven\zookeeper-3.4.8-tests.jar.md5

?????文件?????????41??2016-02-06?11:46??dist-maven\zookeeper-3.4.8-tests.jar.sha1

?????文件?????804601??2016-02-06?11:46??dist-maven\zookeeper-3.4.8.jar

?????文件????????819??2016-02-06?11:50??dist-maven\zookeeper-3.4.8.jar.asc

?????文件?????????33??2016-02-06?11:46??dist-maven\zookeeper-3.4.8.jar.md5

?????文件?????????41??2016-02-06?11:46??dist-maven\zookeeper-3.4.8.jar.sha1

?????文件???????4025??2016-02-06?11:46??dist-maven\zookeeper-3.4.8.pom

?????文件?????????33??2016-02-06?11:46??dist-maven\zookeeper-3.4.8.pom.md5

?????文件?????????41??2016-02-06?11:46??dist-maven\zookeeper-3.4.8.pom.sha1

?????文件??????10570??2016-02-06?11:46??docs\api\allclasses-frame.html

?????文件???????9390??2016-02-06?11:46??docs\api\allclasses-noframe.html

?????文件??????21843??2016-02-06?11:46??docs\api\constant-values.html

?????文件??????16298??2016-02-06?11:46??docs\api\deprecated-list.html

?????文件???????8915??2016-02-06?11:46??docs\api\help-doc.html

?????文件?????148707??2016-02-06?11:46??docs\api\index-all.html

?????文件???????2848??2016-02-06?11:46??docs\api\index.html

?????文件??????13056??2016-02-06?11:46??docs\api\org\apache\zookeeper\AsyncCallback.ACLCallback.html

?????文件??????12803??2016-02-06?11:46??docs\api\org\apache\zookeeper\AsyncCallback.Children2Callback.html

?????文件??????12626??2016-02-06?11:46??docs\api\org\apache\zookeeper\AsyncCallback.ChildrenCallback.html

?????文件??????12503??2016-02-06?11:46??docs\api\org\apache\zookeeper\AsyncCallback.DataCallback.html

............此處省略1884個文件信息

評論

共有 條評論