Home
last modified time | relevance | path

Searched refs:stickinessValue (Results 1 – 1 of 1) sorted by relevance

/external/grpc-grpc-java/core/src/main/java/io/grpc/util/
DRoundRobinLoadBalancerFactory.java350 String stickinessValue, @Nonnull Subchannel subchannel) { in maybeRegister() argument
354 stickinessMap.putIfAbsent(stickinessValue, newSubchannelRef); in maybeRegister()
357 addToEvictionQueue(stickinessValue); in maybeRegister()
367 if (stickinessMap.replace(stickinessValue, existingSubchannelRef, newSubchannelRef)) { in maybeRegister()
393 Subchannel getSubchannel(String stickinessValue) { in getSubchannel() argument
394 Ref<Subchannel> subchannelRef = stickinessMap.get(stickinessValue); in getSubchannel()
431 String stickinessValue = args.getHeaders().get(stickinessState.key); in pickSubchannel() local
432 if (stickinessValue != null) { in pickSubchannel()
433 subchannel = stickinessState.getSubchannel(stickinessValue); in pickSubchannel()
435 subchannel = stickinessState.maybeRegister(stickinessValue, nextSubchannel()); in pickSubchannel()