Lines Matching refs:weight

111      * @param weight
112 * weight of the service
119 public static ServiceInfo create(final String type, final String name, final int port, final int weight, final int priority, final String text) {
120 return new ServiceInfoImpl(type, name, "", port, weight, priority, false, text);
134 * @param weight
135 * weight of the service
142 public static ServiceInfo create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final String text) {
143 return new ServiceInfoImpl(type, name, subtype, port, weight, priority, false, text);
155 * @param weight
156 * weight of the service
163 public static ServiceInfo create(final String type, final String name, final int port, final int weight, final int priority, final Map<String, ?> props) {
164 return new ServiceInfoImpl(type, name, "", port, weight, priority, false, props);
178 * @param weight
179 * weight of the service
186 public static ServiceInfo create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final Map<String, ?> props) {
187 return new ServiceInfoImpl(type, name, subtype, port, weight, priority, false, props);
199 * @param weight
200 * weight of the service
207 public static ServiceInfo create(final String type, final String name, final int port, final int weight, final int priority, final byte[] text) {
208 return new ServiceInfoImpl(type, name, "", port, weight, priority, false, text);
222 * @param weight
223 * weight of the service
230 public static ServiceInfo create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final byte[] text) {
231 return new ServiceInfoImpl(type, name, subtype, port, weight, priority, false, text);
243 * @param weight
244 * weight of the service
253 public static ServiceInfo create(final String type, final String name, final int port, final int weight, final int priority, final boolean persistent, final String text) {
254 return new ServiceInfoImpl(type, name, "", port, weight, priority, persistent, text);
268 * @param weight
269 * weight of the service
278 public static ServiceInfo create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final boolean persistent, final String text) {
279 return new ServiceInfoImpl(type, name, subtype, port, weight, priority, persistent, text);
291 * @param weight
292 * weight of the service
301 public static ServiceInfo create(final String type, final String name, final int port, final int weight, final int priority, final boolean persistent, final Map<String, ?> props) {
302 return new ServiceInfoImpl(type, name, "", port, weight, priority, persistent, props);
316 * @param weight
317 * weight of the service
326 public static ServiceInfo create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final boolean persistent, final Map<String, ?> props) {
327 return new ServiceInfoImpl(type, name, subtype, port, weight, priority, persistent, props);
339 * @param weight
340 * weight of the service
349 public static ServiceInfo create(final String type, final String name, final int port, final int weight, final int priority, final boolean persistent, final byte[] text) {
350 return new ServiceInfoImpl(type, name, "", port, weight, priority, persistent, text);
364 * @param weight
365 * weight of the service
374 public static ServiceInfo create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final boolean persistent, final byte[] text) {
375 return new ServiceInfoImpl(type, name, subtype, port, weight, priority, persistent, text);
385 * @param weight
386 * weight of the service
395 public static ServiceInfo create(final Map<Fields, String> qualifiedNameMap, final int port, final int weight, final int priority, final boolean persistent, final Map<String, ?> props) {
396 return new ServiceInfoImpl(qualifiedNameMap, port, weight, priority, persistent, props);
555 * Get the weight of the service.
557 * @return service weight