MCPcopy Create free account
hub / github.com/apache/storm / publish

Method publish

storm-client/src/jvm/org/apache/storm/utils/JCQueue.java:178–181  ·  view source on GitHub ↗

Blocking call. Retries till it can successfully publish the obj. Can be interrupted via Thread.interrupt().

(Object obj)

Source from the content-addressed store, hash-verified

176 * Blocking call. Retries till it can successfully publish the obj. Can be interrupted via Thread.interrupt().
177 */
178 public void publish(Object obj) throws InterruptedException {
179 Inserter inserter = getInserter();
180 inserter.publish(obj);
181 }
182
183 /**
184 * Non-blocking call, returns false if full.

Callers 1

testFirstMessageFirstMethod · 0.95

Calls 2

getInserterMethod · 0.95
publishMethod · 0.95

Tested by 1

testFirstMessageFirstMethod · 0.76