MCPcopy Index your code
hub / github.com/apache/cassandra-python-driver / submit

Method submit

cassandra/cluster.py:3454–3457  ·  view source on GitHub ↗

Internal

(self, fn, *args, **kwargs)

Source from the content-addressed store, hash-verified

3452 self.encoder.mapping[klass] = encode
3453
3454 def submit(self, fn, *args, **kwargs):
3455 """ Internal """
3456 if not self.is_shutdown:
3457 return self.cluster.executor.submit(fn, *args, **kwargs)
3458
3459 def get_pool_state(self):
3460 return dict((host, pool.get_state()) for host, pool in tuple(self._pools.items()))

Callers 15

add_or_renew_poolMethod · 0.95
remove_poolMethod · 0.95
_executeMethod · 0.45
new_fFunction · 0.45
_submitMethod · 0.45
runMethod · 0.45
_set_resultMethod · 0.45
_retryMethod · 0.45
borrow_connectionMethod · 0.45
return_connectionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected