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

Method removeProtocol

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

Removes a protocol from the stack. Stops the protocol and readjusts the linked lists of protocols. @param prot_name The name of the protocol. Since all protocol names in a stack have to be unique (otherwise the stack won't be created), the name refers to just 1 protocol.

(String prot_name)

Source from the content-addressed store, hash-verified

605 * (otherwise the stack won't be created), the name refers to just 1 protocol.
606 */
607 public <T extends Protocol> T removeProtocol(String prot_name) {
608 if(prot_name == null) return null;
609 return removeProtocol(findProtocol(prot_name));
610 }
611
612 public ProtocolStack removeProtocols(String ... protocols) {
613 for(String protocol: protocols)

Callers 15

handleProbeMethod · 0.95
removeProtocolsMethod · 0.95
createChannelsMethod · 0.95
removeProtocolsMethod · 0.95
testViewInconsistencyMethod · 0.95
injectMethod · 0.95
setUnbatchPolicyMethod · 0.95
injectMethod · 0.95
adjustConfigurationMethod · 0.80
testReturnEntireCacheMethod · 0.80

Calls 11

findProtocolMethod · 0.95
checkAndSwitchTopMethod · 0.95
setDownProtocolMethod · 0.95
setUpProtocolMethod · 0.95
getMessageMethod · 0.95
getUpProtocolMethod · 0.80
getDownProtocolMethod · 0.80
stopMethod · 0.65
errorMethod · 0.65
getNameMethod · 0.65
destroyMethod · 0.65

Tested by 15

createChannelsMethod · 0.76
removeProtocolsMethod · 0.76
testViewInconsistencyMethod · 0.76
injectMethod · 0.76
setUnbatchPolicyMethod · 0.76
injectMethod · 0.76
adjustConfigurationMethod · 0.64
testReturnEntireCacheMethod · 0.64
removeDiscardMethod · 0.64
removeSHUFFLEMethod · 0.64