public enum MulticastTimeToLive extends Enum<MulticastTimeToLive>
| Enum Constant and Description |
|---|
SAME_CONTINENT |
SAME_HOST |
SAME_REGION |
SAME_SITE |
SAME_SUBNET |
UNRESTRICTED |
| Modifier and Type | Field and Description |
|---|---|
private int |
ttl |
| Modifier and Type | Method and Description |
|---|---|
int |
getTtl() |
static MulticastTimeToLive |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
MulticastTimeToLive |
valueOfByTtl(int ttl) |
static MulticastTimeToLive[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MulticastTimeToLive SAME_HOST
public static final MulticastTimeToLive SAME_SUBNET
public static final MulticastTimeToLive SAME_SITE
public static final MulticastTimeToLive SAME_REGION
public static final MulticastTimeToLive SAME_CONTINENT
public static final MulticastTimeToLive UNRESTRICTED
public static MulticastTimeToLive[] values()
for (MulticastTimeToLive c : MulticastTimeToLive.values()) System.out.println(c);
public static MulticastTimeToLive valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getTtl()
public MulticastTimeToLive valueOfByTtl(int ttl)
Copyright © 2023 Apache NiFi Project. All rights reserved.