com.groupbyinc.flux.bootstrap.Elasticsearch.class Maven / Gradle / Ivy
???? 4 +com/groupbyinc/flux/bootstrap/Elasticsearch /com/groupbyinc/flux/cli/EnvironmentAwareCommand Elasticsearch.java -com/groupbyinc/flux/bootstrap/Elasticsearch$1
versionOption Ljoptsimple/OptionSpecBuilder; daemonizeOption
pidfileOption Ljoptsimple/OptionSpec; -Ljoptsimple/OptionSpec; quietOption ()V starts elasticsearch (Ljava/lang/String;)V
parser Ljoptsimple/OptionParser; java/lang/String V version java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; " #
! $ 2Prints elasticsearch version information and exits & joptsimple/OptionParser (
acceptsAll B(Ljava/util/List;Ljava/lang/String;)Ljoptsimple/OptionSpecBuilder; * +
) , . d 0 daemonize 2 &Starts Elasticsearch in the background 4 joptsimple/OptionSpec 6 joptsimple/OptionSpecBuilder 8 availableUnless O(Ljoptsimple/OptionSpec;[Ljoptsimple/OptionSpec;)Ljoptsimple/OptionSpecBuilder; : ;
9 <
> p @ pidfile B 1Creates a pid file in the specified path on start D withRequiredArg *()Ljoptsimple/ArgumentAcceptingOptionSpec; F G
9 H joptsimple/util/PathConverter J joptsimple/util/PathProperties L $([Ljoptsimple/util/PathProperties;)V N
K O &joptsimple/ArgumentAcceptingOptionSpec Q withValuesConvertedBy E(Ljoptsimple/ValueConverter;)Ljoptsimple/ArgumentAcceptingOptionSpec; S T
R U W q Y quiet [ :Turns off standard output/error streams logging in console ] _ this -Lcom/groupbyinc/flux/bootstrap/Elasticsearch; main ([Ljava/lang/String;)V java/lang/Exception e
g java/lang/System i setSecurityManager (Ljava/lang/SecurityManager;)V k l
j m 2com/groupbyinc/flux/common/logging/LogConfigurator o registerErrorListener q
p r
g com/groupbyinc/flux/cli/Terminal u DEFAULT "Lcom/groupbyinc/flux/cli/Terminal; w x v y e([Ljava/lang/String;Lcom/groupbyinc/flux/bootstrap/Elasticsearch;Lcom/groupbyinc/flux/cli/Terminal;)I c {
| exit (I)V ~
? args [Ljava/lang/String;
elasticsearch status I 8([Ljava/lang/String;Lcom/groupbyinc/flux/cli/Terminal;)I c ?
? terminal #shouldConfigureLoggingWithoutConfig ()Z execute `(Lcom/groupbyinc/flux/cli/Terminal;Ljoptsimple/OptionSet;Lcom/groupbyinc/flux/env/Environment;)V %com/groupbyinc/flux/cli/UserException ? 0com/groupbyinc/flux/node/NodeValidationException ? joptsimple/OptionSet ? nonOptionArguments ()Ljava/util/List; ? ?
? ? java/util/List ? isEmpty ? ? ? ? java/lang/StringBuilder ?
? g (Positional arguments not allowed, found ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? toString ()Ljava/lang/String; ? ?
? ? (ILjava/lang/String;)V ?
? ? has (Ljoptsimple/OptionSpec;)Z ? ?
? ? Version: ? com/groupbyinc/flux/Version ? CURRENT Lcom/groupbyinc/flux/Version; ? ? ? ? com/groupbyinc/flux/Build ? Lcom/groupbyinc/flux/Build; ? ? ? ?
isSnapshot ? ?
? ? displayVersion 2(Lcom/groupbyinc/flux/Version;Z)Ljava/lang/String; ? ?
? ? , Build: ? shortHash ? ?
? ? / ? date ? ?
? ? , JVM: ? 'com/groupbyinc/flux/monitor/jvm/JvmInfo ? jvmInfo +()Lcom/groupbyinc/flux/monitor/jvm/JvmInfo; ? ?
? ? ?
? ? println ?
v ? value *(Ljoptsimple/OptionSet;)Ljava/lang/Object; ? ? 7 ? java/nio/file/Path ? init >(ZLjava/nio/file/Path;ZLcom/groupbyinc/flux/env/Environment;)V ? ?
? #com/groupbyinc/flux/env/Environment ?
getMessage ? ?
? ? e 2Lcom/groupbyinc/flux/node/NodeValidationException; options Ljoptsimple/OptionSet; env %Lcom/groupbyinc/flux/env/Environment; Z pidFile Ljava/nio/file/Path; 0com/groupbyinc/flux/bootstrap/BootstrapException ? java/lang/RuntimeException ? 'com/groupbyinc/flux/bootstrap/Bootstrap ?
? ? .com/groupbyinc/flux/bootstrap/StartupException ? (Ljava/lang/Throwable;)V
Ljava/lang/Exception;
initialEnv close java/io/IOException stop
?
Signature Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile InnerClasses
?*? **? ? YSYS? %'? -? /**? ? Y1SY3S? %5? -*? /? 7? =? ?**? ? YASYCS? %E? -*? /? 7? =? I? KY? M? P? V? X**? ? YZSY\S? %^? -*? /? 7? =*? ?? 7? =? `? ? a b 2 6 7 $ 9 G ; M <