org.opensearch.migrations.replay.util.TrafficChannelKeyFormatter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trafficReplayer Show documentation
Show all versions of trafficReplayer Show documentation
Everything opensearch migrations
The newest version!
package org.opensearch.migrations.replay.util;
import java.util.StringJoiner;
public class TrafficChannelKeyFormatter {
private TrafficChannelKeyFormatter() {}
public static String format(String nodeId, String connectionId) {
return new StringJoiner(".").add(nodeId).add(connectionId).toString();
}
public static String format(String nodeId, String connectionId, int trafficStreamIndex) {
return new StringJoiner(".").add(nodeId).add(connectionId).add("" + trafficStreamIndex).toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy