Integer get(Random randomizer) {
                List<Integer> snapshot = list.get();
                return snapshot.get(randomizer.nextInt(snapshot.size()));
            }
Helper class to match a host pattern with node to use.
documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/ContentPolicy.java