List of usage examples for com.google.common.collect ImmutableSetMultimap of
public static <K, V> ImmutableSetMultimap<K, V> of(K k1, V v1, K k2, V v2)
From source file:org.glowroot.local.store.TraceTestData.java
static Trace createTrace() { return Trace.builder().id("abc" + counter.getAndIncrement()).active(false).partial(false).error(false) .startTime(1).captureTime(11).duration(MILLISECONDS.toNanos(10)).transactionType("unit test") .transactionName("test transaction name").headline("test headline").user("j") .customAttributes("{\"abc\":\"xyz\", \"xyz\":\"abc\"}") .customAttributesForIndexing(ImmutableSetMultimap.of("abc", "xyz", "xyz", "abc")) .customDetail("{\"abc1\":\"xyz1\", \"xyz2\":\"abc2\"}").entryCount(1).profileSampleCount(0) .entriesExistence(Existence.NO).profileExistence(Existence.NO).build(); }