public static enum TunnelRemovalEvent.RemovalReason extends Enum<TunnelRemovalEvent.RemovalReason>
| Enum Constant and Description |
|---|
EXPLICIT_REMOVALTunnel was explicitly removed or failed |
FAILURETunnel failed and was removed |
LEASE_EXPIREDTunnel lease expired |
POOL_PRUNINGTunnel was pruned to maintain pool size |
POOL_SHUTDOWNPool is being shut down |
| Modifier and Type | Method and Description |
|---|---|
static TunnelRemovalEvent.RemovalReason | valueOf(String name)Returns the enum constant of this type with the specified name. |
static TunnelRemovalEvent.RemovalReason[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. |
public static final TunnelRemovalEvent.RemovalReason EXPLICIT_REMOVAL
public static final TunnelRemovalEvent.RemovalReason FAILURE
public static final TunnelRemovalEvent.RemovalReason LEASE_EXPIRED
public static final TunnelRemovalEvent.RemovalReason POOL_PRUNING
public static final TunnelRemovalEvent.RemovalReason POOL_SHUTDOWN
public static TunnelRemovalEvent.RemovalReason 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 static TunnelRemovalEvent.RemovalReason[] values()
for (TunnelRemovalEvent.RemovalReason c : TunnelRemovalEvent.RemovalReason.values()) System.out.println(c);