public static enum ClientConfig.Field extends java.lang.Enum<ClientConfig.Field> implements ConfigField
Enum Constant and Description |
---|
BASE_URL
The base url in the format
host [ : port][ /path] of the PGX server REST end-point. |
ENABLE_CCTRACE
if
true log every call to a Control or Core interface |
KEYSTORE
path to the keystore to use for client connections.
|
PASSWORD
The HTTP Basic Auth password
|
PREFETCH_SIZE
How many items should be prefetched in remote iterators.
|
REMOTE_FUTURE_PENDING_RETRY_INTERVAL
How many milliseconds to wait before sending another request in case a
GET request for a PgxRemoteFuture receives a 202 - Accepted response |
REMOTE_FUTURE_TIMEOUT
How long one
GET request for a PgxRemoteFuture will be alive, until it times out and tries again. |
TRUSTSTORE
path to the truststore to use for client connections.
|
UPLOAD_BATCH_SIZE
How many items will be uploaded in a batch.
|
USERNAME
The HTTP Basic Auth username
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getDefaultVal()
Gets the default value of this field.
|
java.util.List<java.lang.String> |
getKeyAliases()
Gets the key aliases of this field which are also recognized during parsing.
|
java.util.List<java.lang.String> |
getSingletonListKeyAliases()
Gets the key aliases of this field which contain single values for lists and are also recognized during parsing.
|
java.lang.Class<?> |
getType()
Gets the type of this field.
|
boolean |
isArray()
Checks if this field is an array.
|
boolean |
isPath()
Checks if this field is a path.
|
boolean |
isRequired()
Checks if this field is required.
|
java.lang.String |
toKey()
Get the key of this field, which is how this field is represented in serialized form.
|
java.lang.String |
toString() |
static ClientConfig.Field |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClientConfig.Field[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
isEnum, isPrimitive
public static final ClientConfig.Field BASE_URL
host [ : port][ /path]
of the PGX server REST end-point. If the base_url is null
, the default will be used which points to embedded PGX instance.public static final ClientConfig.Field ENABLE_CCTRACE
true
log every call to a Control or Core interfacepublic static final ClientConfig.Field KEYSTORE
public static final ClientConfig.Field PASSWORD
public static final ClientConfig.Field PREFETCH_SIZE
public static final ClientConfig.Field REMOTE_FUTURE_PENDING_RETRY_INTERVAL
GET
request for a PgxRemoteFuture
receives a 202 - Accepted responsepublic static final ClientConfig.Field REMOTE_FUTURE_TIMEOUT
GET
request for a PgxRemoteFuture
will be alive, until it times out and tries again. Time in milliseconds, set it to zero for an infinite timeout. See HTTP Client SO_TIMEOUT
for more details.public static final ClientConfig.Field TRUSTSTORE
public static final ClientConfig.Field UPLOAD_BATCH_SIZE
Core#addAllToCollection()
and Core#setProperty()
public static final ClientConfig.Field USERNAME
public java.lang.Object getDefaultVal()
ConfigField
getDefaultVal
in interface ConfigField
public java.util.List<java.lang.String> getKeyAliases()
ConfigField
getKeyAliases
in interface ConfigField
public java.util.List<java.lang.String> getSingletonListKeyAliases()
ConfigField
getSingletonListKeyAliases
in interface ConfigField
public java.lang.Class<?> getType()
ConfigField
getType
in interface ConfigField
public boolean isArray()
ConfigField
isArray
in interface ConfigField
public boolean isPath()
ConfigField
isPath
in interface ConfigField
public boolean isRequired()
ConfigField
isRequired
in interface ConfigField
public java.lang.String toKey()
ConfigField
toKey
in interface ConfigField
public java.lang.String toString()
toString
in class java.lang.Enum<ClientConfig.Field>
public static ClientConfig.Field valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ClientConfig.Field[] values()
for (ClientConfig.Field c : ClientConfig.Field.values()) System.out.println(c);
Copyright © 2017 Oracle Corp. All Rights Reserved.