Class SearchServiceCounters
- java.lang.Object
-
- com.azure.search.documents.indexes.models.SearchServiceCounters
-
public final class SearchServiceCounters extends Object
Represents service-level resource counters and quotas.
-
-
Constructor Summary
Constructors Constructor Description SearchServiceCounters(ResourceCounter documentCounter, ResourceCounter indexCounter, ResourceCounter indexerCounter, ResourceCounter dataSourceCounter, ResourceCounter storageSizeCounter, ResourceCounter synonymMapCounter)
Creates an instance of SearchServiceCounters class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceCounter
getDataSourceCounter()
Get the dataSourceCounter property: Total number of data sources.ResourceCounter
getDocumentCounter()
Get the documentCounter property: Total number of documents across all indexes in the service.ResourceCounter
getIndexCounter()
Get the indexCounter property: Total number of indexes.ResourceCounter
getIndexerCounter()
Get the indexerCounter property: Total number of indexers.ResourceCounter
getSkillsetCounter()
Get the skillsetCounter property: Total number of skillsets.ResourceCounter
getStorageSizeCounter()
Get the storageSizeCounter property: Total size of used storage in bytes.ResourceCounter
getSynonymMapCounter()
Get the synonymMapCounter property: Total number of synonym maps.SearchServiceCounters
setSkillsetCounter(ResourceCounter skillsetCounter)
Set the skillsetCounter property: Total number of skillsets.
-
-
-
Constructor Detail
-
SearchServiceCounters
public SearchServiceCounters(ResourceCounter documentCounter, ResourceCounter indexCounter, ResourceCounter indexerCounter, ResourceCounter dataSourceCounter, ResourceCounter storageSizeCounter, ResourceCounter synonymMapCounter)
Creates an instance of SearchServiceCounters class.- Parameters:
documentCounter
- the documentCounter value to set.indexCounter
- the indexCounter value to set.indexerCounter
- the indexerCounter value to set.dataSourceCounter
- the dataSourceCounter value to set.storageSizeCounter
- the storageSizeCounter value to set.synonymMapCounter
- the synonymMapCounter value to set.
-
-
Method Detail
-
getDocumentCounter
public ResourceCounter getDocumentCounter()
Get the documentCounter property: Total number of documents across all indexes in the service.- Returns:
- the documentCounter value.
-
getIndexCounter
public ResourceCounter getIndexCounter()
Get the indexCounter property: Total number of indexes.- Returns:
- the indexCounter value.
-
getIndexerCounter
public ResourceCounter getIndexerCounter()
Get the indexerCounter property: Total number of indexers.- Returns:
- the indexerCounter value.
-
getDataSourceCounter
public ResourceCounter getDataSourceCounter()
Get the dataSourceCounter property: Total number of data sources.- Returns:
- the dataSourceCounter value.
-
getStorageSizeCounter
public ResourceCounter getStorageSizeCounter()
Get the storageSizeCounter property: Total size of used storage in bytes.- Returns:
- the storageSizeCounter value.
-
getSynonymMapCounter
public ResourceCounter getSynonymMapCounter()
Get the synonymMapCounter property: Total number of synonym maps.- Returns:
- the synonymMapCounter value.
-
getSkillsetCounter
public ResourceCounter getSkillsetCounter()
Get the skillsetCounter property: Total number of skillsets.- Returns:
- the skillsetCounter value.
-
setSkillsetCounter
public SearchServiceCounters setSkillsetCounter(ResourceCounter skillsetCounter)
Set the skillsetCounter property: Total number of skillsets.- Parameters:
skillsetCounter
- the skillsetCounter value to set.- Returns:
- the SearchServiceCounters object itself.
-
-