MCPcopy Create free account
hub / github.com/akeranen/the-one / getMessageCollection

Method getMessageCollection

routing/MessageRouter.java:237–239  ·  view source on GitHub ↗

Returns a reference to the messages of this router in collection. Note: If there's a chance that some message(s) from the collection could be deleted (or added) while iterating through the collection, a copy of the collection should be made to avoid concurrent modification exceptions. @return

()

Source from the content-addressed store, hash-verified

235 * @return a reference to the messages of this router in collection
236 */
237 public Collection<Message> getMessageCollection() {
238 return this.messages.values();
239 }
240
241 /**
242 * Returns the number of messages this router has

Callers 15

getFreeBufferSizeMethod · 0.95
createSnapshotMethod · 0.45
createSnapshotMethod · 0.45
createSnapshotMethod · 0.45
tryOtherMessagesMethod · 0.45
tryOtherMessagesMethod · 0.45
updateMethod · 0.45
tryOtherMessagesMethod · 0.45
getCostMethod · 0.45
tryOtherMessagesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected