@ThreadSafe public final class PipeContainer extends Object
putPipeListIfAbsent(Pair, int). This ensures that each key is initialized exactly once, and never updated. Writes and reads for the same key never occur concurrently with no problem, because (1) write never updates, and (2) read happens only after the write. Reads can happen concurrently with no problem.
Copyright © 2019 The Apache Software Foundation. All rights reserved.