MCPcopy Create free account
hub / github.com/belaban/JGroups / addProtocols

Method addProtocols

src/org/jgroups/stack/ProtocolStack.java:483–489  ·  view source on GitHub ↗

Adds a list of protocols @param prots @return @since 2.11

(Protocol ... prots)

Source from the content-addressed store, hash-verified

481 * @since 2.11
482 */
483 public ProtocolStack addProtocols(Protocol ... prots) {
484 if(prots != null) {
485 for(Protocol prot: prots)
486 addProtocol(prot);
487 }
488 return this;
489 }
490
491 /**
492 * Adds a list of protocols

Callers 1

setupMethod · 0.95

Calls 2

addProtocolMethod · 0.95
forEachMethod · 0.45

Tested by 1

setupMethod · 0.76