/** * Returns the {@link DnsServerAddresses} that yields the specified {@code addresses} in a rotational sequential * order. It is similar to {@link #sequential(Iterable)}, but each {@link DnsServerAddressStream} starts from * a different starting point. For example, the first {@link #stream()} will start from the first address, the * second one will start from the second address, and so on. */ public static DnsServerAddresses rotational(Iterable<? extends InetSocketAddress> addresses) { return rotational0(sanitize(addresses)); }
/** * Returns the {@link DnsServerAddresses} that yields the specified {@code addresses} in a rotational sequential * order. It is similar to {@link #sequential(Iterable)}, but each {@link DnsServerAddressStream} starts from * a different starting point. For example, the first {@link #stream()} will start from the first address, the * second one will start from the second address, and so on. */ public static DnsServerAddresses rotational(InetSocketAddress... addresses) { return rotational0(sanitize(addresses)); }
/** * Returns the {@link DnsServerAddresses} that yields the specified {@code addresses} in a rotational sequential * order. It is similar to {@link #sequential(Iterable)}, but each {@link DnsServerAddressStream} starts from * a different starting point. For example, the first {@link #stream()} will start from the first address, the * second one will start from the second address, and so on. */ public static DnsServerAddresses rotational(Iterable<? extends InetSocketAddress> addresses) { return rotational0(sanitize(addresses)); }
/** * Returns the {@link DnsServerAddresses} that yields the specified {@code addresses} in a rotational sequential * order. It is similar to {@link #sequential(Iterable)}, but each {@link DnsServerAddressStream} starts from * a different starting point. For example, the first {@link #stream()} will start from the first address, the * second one will start from the second address, and so on. */ public static DnsServerAddresses rotational(InetSocketAddress... addresses) { return rotational0(sanitize(addresses)); }
/** * Returns the {@link DnsServerAddresses} that yields the specified {@code addresses} in a rotational sequential * order. It is similar to {@link #sequential(Iterable)}, but each {@link DnsServerAddressStream} starts from * a different starting point. For example, the first {@link #stream()} will start from the first address, the * second one will start from the second address, and so on. */ public static DnsServerAddresses rotational(InetSocketAddress... addresses) { return rotational0(sanitize(addresses)); }
/** * Returns the {@link DnsServerAddresses} that yields the specified {@code addresses} in a rotational sequential * order. It is similar to {@link #sequential(Iterable)}, but each {@link DnsServerAddressStream} starts from * a different starting point. For example, the first {@link #stream()} will start from the first address, the * second one will start from the second address, and so on. */ public static DnsServerAddresses rotational(Iterable<? extends InetSocketAddress> addresses) { return rotational0(sanitize(addresses)); }
/** * Returns the {@link DnsServerAddresses} that yields the specified {@code addresses} in a rotational sequential * order. It is similar to {@link #sequential(Iterable)}, but each {@link DnsServerAddressStream} starts from * a different starting point. For example, the first {@link #stream()} will start from the first address, the * second one will start from the second address, and so on. */ public static DnsServerAddresses rotational(Iterable<? extends InetSocketAddress> addresses) { return rotational0(sanitize(addresses)); }
/** * Returns the {@link DnsServerAddresses} that yields the specified {@code addresses} in a rotational sequential * order. It is similar to {@link #sequential(Iterable)}, but each {@link DnsServerAddressStream} starts from * a different starting point. For example, the first {@link #stream()} will start from the first address, the * second one will start from the second address, and so on. */ public static DnsServerAddresses rotational(InetSocketAddress... addresses) { return rotational0(sanitize(addresses)); }
/** * Returns the {@link DnsServerAddresses} that yields the specified {@code addresses} in a rotational sequential * order. It is similar to {@link #sequential(Iterable)}, but each {@link DnsServerAddressStream} starts from * a different starting point. For example, the first {@link #stream()} will start from the first address, the * second one will start from the second address, and so on. */ public static DnsServerAddresses rotational(InetSocketAddress... addresses) { return rotational0(sanitize(addresses)); }
/** * Returns the {@link DnsServerAddresses} that yields the specified {@code addresses} in a rotational sequential * order. It is similar to {@link #sequential(Iterable)}, but each {@link DnsServerAddressStream} starts from * a different starting point. For example, the first {@link #stream()} will start from the first address, the * second one will start from the second address, and so on. */ public static DnsServerAddresses rotational(Iterable<? extends InetSocketAddress> addresses) { return rotational0(sanitize(addresses)); }