Skip to content
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

Throw UnsupportedOperationException for unsupported ForkChannel.connect() methods #779

Closed
wants to merge 2 commits into from

Conversation

cfredri4
Copy link
Contributor

@cfredri4 cfredri4 commented Apr 5, 2024

ForkChannel.connect(String cluster_name, boolean useFlushIfPresent) and ForkChannel.connect(String cluster_name, Address target, long timeout, boolean useFlushIfPresent) are not overridden in ForkChannel and will call subclass JChannel. This change instead makes them throw UnsupportedOperationException.
This change also corrects the javadoc that a closed ForkChannel can be reused (it cannot).

@cfredri4 cfredri4 closed this May 6, 2024
@cfredri4 cfredri4 deleted the patch-1 branch May 6, 2024 19:39
@cfredri4
Copy link
Contributor Author

cfredri4 commented May 6, 2024

No longer needed as flush has been removed.

@belaban
Copy link
Owner

belaban commented May 7, 2024

Got it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants