public enum AGConnProp extends Enum<AGConnProp>
AGRepositoryConnection
.
TODO: AGRepositoryConnection.setSessionLoadInitFile(boolean)
Modifier and Type | Class and Description |
---|---|
static class |
AGConnProp.Session
Property values for
session . |
Enum Constant and Description |
---|
catalog
Catalog name - "/" or no value for
AGServer.getRootCatalog() . |
httpSocketTimeout
Socket timeout (SO_TIMEOUT) in milliseconds to be used when executing the method.
|
password |
repository |
serverUrl |
session
Value must be one of
AGConnProp.Session . |
sessionLifetime
Sets the 'lifetime' (in seconds) for a dedicated session.
|
username |
Modifier and Type | Method and Description |
---|---|
static AGConnProp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AGConnProp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AGConnProp serverUrl
AGServer(String, String, String)
public static final AGConnProp username
AGServer(String, String, String)
public static final AGConnProp password
AGServer(String, String, String)
public static final AGConnProp catalog
AGServer.getRootCatalog()
.AGServer.getCatalog(String)
public static final AGConnProp repository
AGCatalog.openRepository(String)
public static final AGConnProp session
AGConnProp.Session
.public static final AGConnProp sessionLifetime
public static final AGConnProp httpSocketTimeout
WARNING: this may break long queries.
SocketConfig.getSoTimeout()
public static AGConnProp[] values()
for (AGConnProp c : AGConnProp.values()) System.out.println(c);
public static AGConnProp 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 © 2024 Franz Inc.. All rights reserved.