MCPcopy Create free account
hub / github.com/apache/impala / poll

Method poll

tests/util/ssh_util.py:156–161  ·  view source on GitHub ↗

Returns the exit status of the process if the processes has completed, returns None otherwise.

(self)

Source from the content-addressed store, hash-verified

154 self.stderr = channel.makefile_stderr("rb")
155
156 def poll(self):
157 """Returns the exit status of the process if the processes has completed, returns
158 None otherwise.
159 """
160 if self.channel.exit_status_ready():
161 return self.channel.recv_exit_status()
162
163 def wait(self):
164 """Wait for the process to complete."""

Callers 15

shellMethod · 0.95
waitMethod · 0.95
returncodeMethod · 0.95
exec_local_commandFunction · 0.45
getClientMethod · 0.45
closeMethod · 0.45
putOrUpdateMethod · 0.45
scheduleNextFetchMethod · 0.45
pollFetchingDbMethod · 0.45
getClientMethod · 0.45
closeMethod · 0.45

Calls

no outgoing calls

Tested by 3

getClientMethod · 0.36
closeMethod · 0.36