Class TestProperties
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<Object,Object>
-
- java.util.Properties
-
- uk.gov.gchq.gaffer.performancetesting.TestProperties
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Object,Object>
- Direct Known Subclasses:
ElementIngestTestProperties
,QueryTestProperties
public class TestProperties extends Properties
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TestProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBatchSize()
String
getGraphId()
String
getMetricsListenerClass()
boolean
getRmatIncludeEntities()
long
getRmatMaxNodeId()
double[]
getRmatProbabilities()
void
loadTestProperties(String pathStr)
void
loadTestProperties(Path testPropertiesPath)
void
setBatchSize(long batchSize)
void
setGraphId(String graphId)
void
setMetricsListenerClass(String metricsListenerClass)
void
setRmatIncludeEntities(boolean includeEntities)
void
setRmatMaxNodeId(long maxNodeId)
void
setRmatProbabilities(double... rmatProbabilities)
-
Methods inherited from class java.util.Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
-
-
-
Method Detail
-
getGraphId
public String getGraphId()
-
setGraphId
public void setGraphId(String graphId)
-
getMetricsListenerClass
public String getMetricsListenerClass()
-
setMetricsListenerClass
public void setMetricsListenerClass(String metricsListenerClass)
-
getBatchSize
public int getBatchSize()
-
setBatchSize
public void setBatchSize(long batchSize)
-
getRmatProbabilities
public double[] getRmatProbabilities()
-
setRmatProbabilities
public void setRmatProbabilities(double... rmatProbabilities)
-
getRmatIncludeEntities
public boolean getRmatIncludeEntities()
-
setRmatIncludeEntities
public void setRmatIncludeEntities(boolean includeEntities)
-
getRmatMaxNodeId
public long getRmatMaxNodeId()
-
setRmatMaxNodeId
public void setRmatMaxNodeId(long maxNodeId)
-
loadTestProperties
public void loadTestProperties(String pathStr)
-
loadTestProperties
public void loadTestProperties(Path testPropertiesPath)
-
-