public static enum GeoIP.GeoIPData.GeoResolutionMode extends Enum<GeoIP.GeoIPData.GeoResolutionMode>
If set to ON_CREATION, geo-location for IP address values will be performed when the source address field is set in this object.
If set to DEFERRED, the resolution will not actually occur until a geo-IP related value is read for the first time. DEFERRED mode can be useful if the geo-IP data is not actually required to be created at the onset of event creation.
Enum Constant and Description |
---|
DEFERRED
Attempt geo-IP resolution only when a geo-IP related field is read for the first time.
|
ON_CREATION
Attempt geo-IP resolution on source address set
|
Modifier and Type | Method and Description |
---|---|
static GeoIP.GeoIPData.GeoResolutionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeoIP.GeoIPData.GeoResolutionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeoIP.GeoIPData.GeoResolutionMode ON_CREATION
public static final GeoIP.GeoIPData.GeoResolutionMode DEFERRED
public static GeoIP.GeoIPData.GeoResolutionMode[] values()
for (GeoIP.GeoIPData.GeoResolutionMode c : GeoIP.GeoIPData.GeoResolutionMode.values()) System.out.println(c);
public static GeoIP.GeoIPData.GeoResolutionMode 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 nullCopyright © 2022. All rights reserved.