Class RepositoryPerformanceWorkbenchConfig
- java.lang.Object
-
- org.odpi.openmetadata.adminservices.configuration.properties.AdminServicesConfigHeader
-
- org.odpi.openmetadata.adminservices.configuration.properties.RepositoryPerformanceWorkbenchConfig
-
- All Implemented Interfaces:
java.io.Serializable
public class RepositoryPerformanceWorkbenchConfig extends AdminServicesConfigHeader
RepositoryConformanceWorkbenchConfig provides the config that drives the RepositoryWorkbench within the Open Metadata Conformance Suite.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RepositoryPerformanceWorkbenchConfig()
Default constructor does nothing.RepositoryPerformanceWorkbenchConfig(RepositoryPerformanceWorkbenchConfig template)
Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object objectToCompare)
Validate that an object is equal depending on their stored values.int
getInstancesPerType()
Return the number of instances that should be created for each type definition.int
getMaxSearchResults()
Return the maximum search results that should processed for testing the search operations of the server under test.java.util.List<java.lang.String>
getMethodsToSkip()
Return the methods (if any) that should be skipped during the performance test.java.util.List<java.lang.String>
getProfilesToSkip()
Return the profiles (if any) that should be skipped during the performance test.java.lang.String
getTutRepositoryServerName()
Return the name of the server that the repository workbench is to test.int
getWaitBetweenScenarios()
Return the amount of time (in seconds) to wait between scenarios of the performance test.int
hashCode()
Return a hash code based on the values of this object.void
setInstancesPerType(int instancesPerType)
Set up the number of instances that should be created for each type definition.void
setMaxSearchResults(int maxSearchResults)
Set up the maximum search results that should be processed for testing the search operations of the server under test.void
setMethodsToSkip(java.util.List<java.lang.String> methodsToSkip)
Set up the methods that should be skipped during the performance test.void
setProfilesToSkip(java.util.List<java.lang.String> profilesToSkip)
Set up the profiles that should be skipped during the performance test.void
setTutRepositoryServerName(java.lang.String tutRepositoryServerName)
Set up the name of the server that the repository workbench is to test.void
setWaitBetweenScenarios(int waitBetweenScenarios)
Set up the amount of time (in seconds) to wait between scenarios of the performance test.java.lang.String
toString()
Standard toString method.
-
-
-
Constructor Detail
-
RepositoryPerformanceWorkbenchConfig
public RepositoryPerformanceWorkbenchConfig()
Default constructor does nothing.
-
RepositoryPerformanceWorkbenchConfig
public RepositoryPerformanceWorkbenchConfig(RepositoryPerformanceWorkbenchConfig template)
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Detail
-
getTutRepositoryServerName
public java.lang.String getTutRepositoryServerName()
Return the name of the server that the repository workbench is to test.- Returns:
- server name
-
setTutRepositoryServerName
public void setTutRepositoryServerName(java.lang.String tutRepositoryServerName)
Set up the name of the server that the repository workbench is to test.- Parameters:
tutRepositoryServerName
- server name
-
getInstancesPerType
public int getInstancesPerType()
Return the number of instances that should be created for each type definition.- Returns:
- number of instances (per type)
-
setInstancesPerType
public void setInstancesPerType(int instancesPerType)
Set up the number of instances that should be created for each type definition.- Parameters:
instancesPerType
- number of instances (per type) to create
-
getMaxSearchResults
public int getMaxSearchResults()
Return the maximum search results that should processed for testing the search operations of the server under test.- Returns:
- page size
-
setMaxSearchResults
public void setMaxSearchResults(int maxSearchResults)
Set up the maximum search results that should be processed for testing the search operations of the server under test.- Parameters:
maxSearchResults
- page size
-
getWaitBetweenScenarios
public int getWaitBetweenScenarios()
Return the amount of time (in seconds) to wait between scenarios of the performance test. This would be useful for example, where you want to simulate a batch-load with an eventually-consistent search index.- Returns:
- time to wait (in seconds) between performance test scenarios
-
setWaitBetweenScenarios
public void setWaitBetweenScenarios(int waitBetweenScenarios)
Set up the amount of time (in seconds) to wait between scenarios of the performance test. This would be useful for example, where you want to simulate a batch-load with an eventually-consistent search index.- Parameters:
waitBetweenScenarios
- amount of time (in seconds) to wait betweeen performance test scenarios
-
getProfilesToSkip
public java.util.List<java.lang.String> getProfilesToSkip()
Return the profiles (if any) that should be skipped during the performance test.- Returns:
- list of the profile names that should be skipped during testing
-
setProfilesToSkip
public void setProfilesToSkip(java.util.List<java.lang.String> profilesToSkip)
Set up the profiles that should be skipped during the performance test.- Parameters:
profilesToSkip
- list of profile names that should be skipped during testing
-
getMethodsToSkip
public java.util.List<java.lang.String> getMethodsToSkip()
Return the methods (if any) that should be skipped during the performance test.- Returns:
- list of the method names that should be skipped during testing
-
setMethodsToSkip
public void setMethodsToSkip(java.util.List<java.lang.String> methodsToSkip)
Set up the methods that should be skipped during the performance test.- Parameters:
methodsToSkip
- list of method names that should be skipped during testing
-
toString
public java.lang.String toString()
Standard toString method.- Overrides:
toString
in classjava.lang.Object
- Returns:
- JSON style description of variables.
-
equals
public boolean equals(java.lang.Object objectToCompare)
Validate that an object is equal depending on their stored values.- Overrides:
equals
in classjava.lang.Object
- Parameters:
objectToCompare
- object- Returns:
- boolean result
-
hashCode
public int hashCode()
Return a hash code based on the values of this object.- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- in hash code
-
-