Skip to content

Commit

Permalink
Add javadoc for ConnectorSplit#isRemotelyAccessible
Browse files Browse the repository at this point in the history
  • Loading branch information
raunaqmorarka committed Jul 21, 2022
1 parent 8c319ac commit 6461915
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@

public interface ConnectorSplit
{
/**
* Returns true when this ConnectorSplit can be scheduled on any node.
* <p>
* When true, the addresses returned by {@link #getAddresses()} may be used as hints by the scheduler
* during splits assignment.
* When false, the split will always be scheduled on one of the addresses returned by {@link #getAddresses()}.
*/
boolean isRemotelyAccessible();

List<HostAddress> getAddresses();
Expand Down

0 comments on commit 6461915

Please sign in to comment.