MCPcopy Index your code
hub / github.com/grpc/grpc-java / remove

Method remove

api/src/main/java/io/grpc/InternalChannelz.java:248–251  ·  view source on GitHub ↗
(Map<Long, T> map, T object)

Source from the content-addressed store, hash-verified

246 }
247
248 private static <T extends InternalInstrumented<?>> void remove(Map<Long, T> map, T object) {
249 T prev = map.remove(id(object));
250 assert prev != null;
251 }
252
253 private static <T extends InternalInstrumented<?>> boolean contains(
254 Map<Long, T> map, InternalLogId id) {

Callers 6

removeServerMethod · 0.95
removeSubchannelMethod · 0.95
removeRootChannelMethod · 0.95
removeClientSocketMethod · 0.95
removeListenSocketMethod · 0.95
removeServerSocketMethod · 0.95

Calls 2

idMethod · 0.95
removeMethod · 0.65

Tested by

no test coverage detected