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 StringCONNECT_TIMEOUTstatic intDEFAULT_CONNECT_TIMEOUTstatic StringDEFAULT_GAFFER_CONTEXT_ROOTstatic StringDEFAULT_GAFFER_HOSTstatic intDEFAULT_GAFFER_PORTstatic intDEFAULT_READ_TIMEOUTstatic StringGAFFER_CONTEXT_ROOTstatic StringGAFFER_HOSTstatic StringGAFFER_PORTstatic StringREAD_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 intgetConnectTimeout()StringgetGafferContextRoot()StringgetGafferHost()intgetGafferPort()URLgetGafferUrl()URLgetGafferUrl(String suffix)URLgetGafferUrl(String protocol, String suffix)intgetReadTimeout()static ProxyPropertiesloadStoreProperties(InputStream storePropertiesStream)static ProxyPropertiesloadStoreProperties(String pathStr)static ProxyPropertiesloadStoreProperties(Path storePropertiesPath)voidsetConnectTimeout(int timeout)voidsetGafferContextRoot(String gafferContextRoot)voidsetGafferHost(String gafferHost)voidsetGafferPort(int gafferPort)voidsetReadTimeout(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()
-
-