forked from airlift/airlift
-
Notifications
You must be signed in to change notification settings - Fork 51
test #131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
nishithakbhaskaran
wants to merge
1
commit into
prestodb:master
Choose a base branch
from
nishithakbhaskaran:nkb
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
test #131
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Reviewer's GuideRefactors launcher CLI by separating process handling from option parsing, introduces a centralized command dispatcher and simpler argument parsing, updates Jetty resolver method signature, and adjusts dependency versions. Sequence diagram for centralized command dispatch in launchersequenceDiagram
participant User
participant Launcher
participant Process
User->>Launcher: Provide command and options
Launcher->>Launcher: Parse arguments
Launcher->>Process: Instantiate Process with pid_file
alt run/start
Launcher->>Process: run()/start()
else stop/kill/status
Launcher->>Process: stop()/kill()/status()
end
Class diagram for refactored launcher command handlingclassDiagram
class Options {
+verbose
+install_path
+launcher_config
+etc_dir
+node_config
+jvm_config
+config_path
+log_levels
+log_levels_set
+data_dir
+pid_file
+launcher_log
+server_log
+properties
+arguments
}
class Process {
+pid_file
+alive()
+read_pid()
+write_pid(pid)
}
class Launcher {
+main()
+handle_command(command, options)
+run(process, options)
+start(process, options)
+stop(process)
+kill(process)
+restart(process, options)
+status(process)
}
Options <.. Launcher : uses
Process <.. Launcher : uses
Class diagram for updated JettyAsyncSocketAddressResolver method signatureclassDiagram
class JettyAsyncSocketAddressResolver {
+resolve(host, port, promise)
}
class BaseResolver {
+resolve(host, port, promise)
}
JettyAsyncSocketAddressResolver --|> BaseResolver
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
7059fa6 to
1fc02c4
Compare
This reverts commit 1fc02c4.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.