Package uk.gov.gchq.gaffer.proxystore
Class ProxyProperties
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.StoreProperties
-
- uk.gov.gchq.gaffer.proxystore.ProxyProperties
-
- All Implemented Interfaces:
Cloneable
public class ProxyProperties extends StoreProperties
Additional store properties for theProxyStore
.
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONNECT_TIMEOUT
static int
DEFAULT_CONNECT_TIMEOUT
static String
DEFAULT_GAFFER_CONTEXT_ROOT
static String
DEFAULT_GAFFER_HOST
static int
DEFAULT_GAFFER_PORT
static int
DEFAULT_READ_TIMEOUT
static String
GAFFER_CONTEXT_ROOT
static String
GAFFER_HOST
static String
GAFFER_PORT
static String
READ_TIMEOUT
-
Fields inherited from class uk.gov.gchq.gaffer.store.StoreProperties
ADMIN_AUTH, EXECUTOR_SERVICE_THREAD_COUNT, EXECUTOR_SERVICE_THREAD_COUNT_DEFAULT, GAFFER_NAMED_OPERATION_NESTED, JOB_TRACKER_ENABLED, JSON_SERIALISER_CLASS, JSON_SERIALISER_MODULES, NAMED_OPERATION_ENABLED, NAMED_VIEW_ENABLED, OPERATION_DECLARATIONS, OPERATION_DECLARATIONS_JSON, REFLECTION_PACKAGES, RESCHEDULE_JOBS_ON_START, SCHEMA_CLASS, STORE_CLASS, STORE_PROPERTIES_CLASS, STRICT_JSON
-
-
Constructor Summary
Constructors Constructor Description ProxyProperties()
ProxyProperties(Path propFileLocation)
ProxyProperties(Properties props)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getConnectTimeout()
String
getGafferContextRoot()
String
getGafferHost()
int
getGafferPort()
URL
getGafferUrl()
URL
getGafferUrl(String suffix)
URL
getGafferUrl(String protocol, String suffix)
int
getReadTimeout()
static ProxyProperties
loadStoreProperties(InputStream storePropertiesStream)
static ProxyProperties
loadStoreProperties(String pathStr)
static ProxyProperties
loadStoreProperties(Path storePropertiesPath)
void
setConnectTimeout(int timeout)
void
setGafferContextRoot(String gafferContextRoot)
void
setGafferHost(String gafferHost)
void
setGafferPort(int gafferPort)
void
setReadTimeout(int timeout)
-
Methods inherited from class uk.gov.gchq.gaffer.store.StoreProperties
addOperationDeclarationPaths, clone, containsKey, equals, get, get, getAdminAuth, getCacheServiceClass, getCacheServiceClass, getCacheServiceDefaultSuffix, getCacheServiceJobTrackerSuffix, getCacheServiceNamedOperationSuffix, getCacheServiceNamedViewSuffix, getDefaultCacheServiceClass, getJobExecutorThreadCount, getJobTrackerCacheServiceClass, getJobTrackerEnabled, getJsonSerialiserClass, getJsonSerialiserModules, getNamedOperationCacheServiceClass, getNamedOperationEnabled, getNamedViewCacheServiceClass, getNamedViewEnabled, getOperationDeclarationPaths, getOperationDeclarations, getProperties, getReflectionPackages, getRescheduleJobsOnStart, getSchemaClass, getSchemaClassName, getStoreClass, getStorePropertiesClass, getStorePropertiesClassName, getStrictJson, hashCode, isNestedNamedOperationAllow, isNestedNamedOperationAllow, loadStoreProperties, loadStoreProperties, loadStoreProperties, loadStoreProperties, loadStoreProperties, merge, set, setAdminAuth, setCacheServiceClass, setCacheServiceNameSuffix, setDefaultCacheServiceClass, setJobTrackerCacheServiceClass, setJobTrackerEnabled, setJsonSerialiserClass, setJsonSerialiserClass, setJsonSerialiserModules, setJsonSerialiserModules, setNamedOperationCacheServiceClass, setNamedOperationEnabled, setNamedViewCacheServiceClass, setNamedViewEnabled, setNestedNamedOperationAllow, setOperationDeclarationPaths, setProperties, setReflectionPackages, setRescheduleJobsOnStart, setSchemaClass, setSchemaClass, setStoreClass, setStoreClass, setStorePropertiesClass, setStorePropertiesClassName, setStrictJson, toString, updateStorePropertiesClass, updateStorePropertiesClass
-
-
-
-
Field Detail
-
GAFFER_HOST
public static final String GAFFER_HOST
- See Also:
- Constant Field Values
-
GAFFER_PORT
public static final String GAFFER_PORT
- See Also:
- Constant Field Values
-
GAFFER_CONTEXT_ROOT
public static final String GAFFER_CONTEXT_ROOT
- See Also:
- Constant Field Values
-
CONNECT_TIMEOUT
public static final String CONNECT_TIMEOUT
- See Also:
- Constant Field Values
-
READ_TIMEOUT
public static final String READ_TIMEOUT
- See Also:
- Constant Field Values
-
DEFAULT_GAFFER_HOST
public static final String DEFAULT_GAFFER_HOST
- See Also:
- Constant Field Values
-
DEFAULT_GAFFER_CONTEXT_ROOT
public static final String DEFAULT_GAFFER_CONTEXT_ROOT
- See Also:
- Constant Field Values
-
DEFAULT_GAFFER_PORT
public static final int DEFAULT_GAFFER_PORT
- See Also:
- Constant Field Values
-
DEFAULT_CONNECT_TIMEOUT
public static final int DEFAULT_CONNECT_TIMEOUT
- See Also:
- Constant Field Values
-
DEFAULT_READ_TIMEOUT
public static final int DEFAULT_READ_TIMEOUT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProxyProperties
public ProxyProperties()
-
ProxyProperties
public ProxyProperties(Path propFileLocation)
-
ProxyProperties
public ProxyProperties(Properties props)
-
-
Method Detail
-
loadStoreProperties
public static ProxyProperties loadStoreProperties(String pathStr)
-
loadStoreProperties
public static ProxyProperties loadStoreProperties(InputStream storePropertiesStream)
-
loadStoreProperties
public static ProxyProperties loadStoreProperties(Path storePropertiesPath)
-
getConnectTimeout
public int getConnectTimeout()
-
setConnectTimeout
public void setConnectTimeout(int timeout)
-
getReadTimeout
public int getReadTimeout()
-
setReadTimeout
public void setReadTimeout(int timeout)
-
getGafferHost
public String getGafferHost()
-
setGafferHost
public void setGafferHost(String gafferHost)
-
getGafferPort
public int getGafferPort()
-
setGafferPort
public void setGafferPort(int gafferPort)
-
getGafferContextRoot
public String getGafferContextRoot()
-
setGafferContextRoot
public void setGafferContextRoot(String gafferContextRoot)
-
getGafferUrl
public URL getGafferUrl()
-
-