@Test public void testSearchHandlerSize() { System.setProperty(ConfigurationConstants.PROPNAME_SIZE_OF_RELATED_CONTENT_SEARCH_REQUEST_QUEUE, "32768"); SystemPropertiesConfiguration config = new SystemPropertiesConfiguration(); System.out.println(Util.ceilingNextPowerOfTwo(config.getSizeOfRelatedItemSearchRequestHandlerQueue())); }
public int getSizeOfRelatedItemSearchRequestHandlerQueue() { return SIZE_OF_RELATED_CONTENT_SEARCH_REQUEST_HANDLER_QUEUE; }
SystemPropertiesConfiguration implements Configuration { public int getSizeOfRelatedItemSearchRequestHandlerQueue() { return SIZE_OF_RELATED_CONTENT_SEARCH_REQUEST_HANDLER_QUEUE; } }
SystemPropertiesConfiguration implements Configuration { public int getSizeOfRelatedItemSearchRequestHandlerQueue() { return SIZE_OF_RELATED_CONTENT_SEARCH_REQUEST_HANDLER_QUEUE; } SystemPropertiesConfiguration(); protected  SystemPropertiesConfiguration(Map<String,Object> properties); }
SystemPropertiesConfiguration implements Configuration { public int getSizeOfRelatedItemSearchRequestHandlerQueue() { return SIZE_OF_RELATED_CONTENT_SEARCH_REQUEST_HANDLER_QUEUE; } SystemPropertiesConfiguration(); protected  SystemPropertiesConfiguration(Map<String,Object> properties); static Map<String,Object> mergeProperties(Map<String,Object> defaultProperties,
                                              Map<String,Object> overrides); static Map<String,Object> replaceProperties(Map<String,Object> defaultProperties,
                                              Map<String,Object> overrides); static Map<String,Object> parseSystemProperties(); static Map<String,Object> parseProperties(Map<String,String> propertiesToConvert); WaitStrategyFactory getWaitStrategyFactory(); int getMaxNumberOfSearchCriteriaForRelatedContent(); int getSizeOfRelatedItemSearchRequestHandlerQueue(); int getSizeOfRelatedItemSearchRequestQueue(); @Override int getSizeOfRelatedItemSearchRequestAndResponseQueue(); @Override int getSizeOfResponseProcessingQueue(); @Override int getNumberOfSearchingRequestProcessors(); @Override int getNumberOfExpectedLikeForLikeRequests(); @Override String getKeyForFrequencyResultOccurrence(); @Override String getKeyForFrequencyResultId(); @Override String getKeyForFrequencyResults(); @Override String getKeyForFrequencyResultOverallResultsSize(); @Override String getKeyForFrequencyResultSource(); @Override String getKeyForIndexRequestRelatedWithAttr(); @Override String getKeyForIndexRequestDateAttr(); @Override String getKeyForIndexRequestIdAttr(); @Override String getKeyForIndexRequestProductArrayAttr(); @Override String getRequestParameterForSize(); @Override String getRequestParameterForId(); @Override int getDefaultNumberOfResults(); @Override String getStorageIndexNamePrefix(); @Override String getStorageIndexNameAlias(); @Override String getStorageContentTypeName(); @Override String getStorageClusterName(); @Override String getStorageFrequentlyRelatedItemsFacetResultsFacetName(); @Override String getElasticSearchClientDefaultNodeSettingFileName(); @Override String getElasticSearchClientDefaultTransportSettingFileName(); @Override String getElasticSearchClientOverrideSettingFileName(); @Override String getStorageLocationMapper(); @Override long getFrequentlyRelatedItemsSearchTimeoutInMillis(); @Override int getResponseCode(SearchResultsOutcome type); @Override int getTimedOutSearchRequestStatusCode(); @Override int getFailedSearchRequestStatusCode(); @Override int getNoFoundSearchResultsStatusCode(); @Override int getFoundSearchResultsStatusCode(); @Override int getMissingSearchResultsHandlerStatusCode(); @Override int getNumberOfIndexingRequestProcessors(); @Override int getMaxNumberOfRelatedItemProperties(); @Override int getMaxNumberOfRelatedItemsPerItem(); @Override int getRelatedItemIdLength(); @Override int getMaxRelatedItemPostDataSizeInBytes(); @Override int getMinRelatedItemPostDataSizeInBytes(); @Override int getRelatedItemAdditionalPropertyKeyLength(); @Override int getRelatedItemAdditionalPropertyValueLength(); @Override boolean isSearchResponseDebugOutputEnabled(); @Override int getIndexBatchSize(); @Override int getSizeOfBatchIndexingRequestQueue(); @Override int getSizeOfIncomingMessageQueue(); @Override String getPropertyEncoding(); @Override boolean isIndexNameDateCachingEnabled(); @Override int getNumberOfIndexNamesToCache(); @Override boolean getShouldReplaceOldContentIfExists(); @Override boolean getShouldUseSeparateIndexStorageThread(); @Override boolean shouldDiscardIndexRequestWithTooManyRelations(); @Override ElasticeSearchClientType getElasticSearchClientType(); @Override String getElasticSearchTransportHosts(); @Override int getDefaultElasticSearchPort(); @Override String getElasticSearchHttpHosts(); @Override int getElasticSearchHttpPort(); @Override String getKeyForStorageResponseTime(); @Override String getKeyForStorageGetResponseTime(); @Override String getKeyForSearchProcessingResponseTime(); @Override boolean useSharedSearchRepository(); @Override boolean isSafeToOutputRequestData(); @Override String getStorageFacetExecutionHint(); int getElasticSearchHttpRequestTimeoutMs(); int getElasticSearchHttpConnectionTimeoutMs(); int getElasticSearchHttpNoOfRetries(); boolean getElasticSearchHttpFollowRedirects(); boolean getElasticSearchHttpConnectionPoolingEnabled(); boolean getElasticSearchHttpCompressionEnabled(); int getElasticSearchNodeSniffingHttpRequestTimeoutMs(); int getElasticSearchNodeSniffingHttpConnectionTimeoutMs(); int getElasticSearchNodeSniffingHttpNoOfRetries(); @Override String getElasticSearchNodesSniffingHttpAdminEndpoint(); @Override int getElasticSearchNodesSniffingHttpRetryInterval(); @Override TimeUnit getElasticSearchNodesSniffingRetryIntervalUnit(); @Override boolean getElasticSearchNodesSniffingEnabled(); @Override int getHttpAsyncIndexingRequestTimeout(); @Override int getHttpAsyncSearchingRequestTimeout(); @Override String getRelatedItemsDocumentIndexName(); @Override String getRelatedItemsDocumentTypeName(); @Override String getRelatedItemsDocumentMergingScriptName(); @Override boolean getRelatedItemsDocumentIndexingEnabled(); @Override String getRelatedItemsDocumentComparisonKeyName(); @Override boolean getRemoveRelatedItemsDocumentDateAttribute(); String getElasticSearchMultiSearchEndpoint(); String getElasticSearchMultiGetEndpoint(); }
SystemPropertiesConfiguration implements Configuration { public int getSizeOfRelatedItemSearchRequestHandlerQueue() { return SIZE_OF_RELATED_CONTENT_SEARCH_REQUEST_HANDLER_QUEUE; } SystemPropertiesConfiguration(); protected  SystemPropertiesConfiguration(Map<String,Object> properties); static Map<String,Object> mergeProperties(Map<String,Object> defaultProperties,
                                              Map<String,Object> overrides); static Map<String,Object> replaceProperties(Map<String,Object> defaultProperties,
                                              Map<String,Object> overrides); static Map<String,Object> parseSystemProperties(); static Map<String,Object> parseProperties(Map<String,String> propertiesToConvert); WaitStrategyFactory getWaitStrategyFactory(); int getMaxNumberOfSearchCriteriaForRelatedContent(); int getSizeOfRelatedItemSearchRequestHandlerQueue(); int getSizeOfRelatedItemSearchRequestQueue(); @Override int getSizeOfRelatedItemSearchRequestAndResponseQueue(); @Override int getSizeOfResponseProcessingQueue(); @Override int getNumberOfSearchingRequestProcessors(); @Override int getNumberOfExpectedLikeForLikeRequests(); @Override String getKeyForFrequencyResultOccurrence(); @Override String getKeyForFrequencyResultId(); @Override String getKeyForFrequencyResults(); @Override String getKeyForFrequencyResultOverallResultsSize(); @Override String getKeyForFrequencyResultSource(); @Override String getKeyForIndexRequestRelatedWithAttr(); @Override String getKeyForIndexRequestDateAttr(); @Override String getKeyForIndexRequestIdAttr(); @Override String getKeyForIndexRequestProductArrayAttr(); @Override String getRequestParameterForSize(); @Override String getRequestParameterForId(); @Override int getDefaultNumberOfResults(); @Override String getStorageIndexNamePrefix(); @Override String getStorageIndexNameAlias(); @Override String getStorageContentTypeName(); @Override String getStorageClusterName(); @Override String getStorageFrequentlyRelatedItemsFacetResultsFacetName(); @Override String getElasticSearchClientDefaultNodeSettingFileName(); @Override String getElasticSearchClientDefaultTransportSettingFileName(); @Override String getElasticSearchClientOverrideSettingFileName(); @Override String getStorageLocationMapper(); @Override long getFrequentlyRelatedItemsSearchTimeoutInMillis(); @Override int getResponseCode(SearchResultsOutcome type); @Override int getTimedOutSearchRequestStatusCode(); @Override int getFailedSearchRequestStatusCode(); @Override int getNoFoundSearchResultsStatusCode(); @Override int getFoundSearchResultsStatusCode(); @Override int getMissingSearchResultsHandlerStatusCode(); @Override int getNumberOfIndexingRequestProcessors(); @Override int getMaxNumberOfRelatedItemProperties(); @Override int getMaxNumberOfRelatedItemsPerItem(); @Override int getRelatedItemIdLength(); @Override int getMaxRelatedItemPostDataSizeInBytes(); @Override int getMinRelatedItemPostDataSizeInBytes(); @Override int getRelatedItemAdditionalPropertyKeyLength(); @Override int getRelatedItemAdditionalPropertyValueLength(); @Override boolean isSearchResponseDebugOutputEnabled(); @Override int getIndexBatchSize(); @Override int getSizeOfBatchIndexingRequestQueue(); @Override int getSizeOfIncomingMessageQueue(); @Override String getPropertyEncoding(); @Override boolean isIndexNameDateCachingEnabled(); @Override int getNumberOfIndexNamesToCache(); @Override boolean getShouldReplaceOldContentIfExists(); @Override boolean getShouldUseSeparateIndexStorageThread(); @Override boolean shouldDiscardIndexRequestWithTooManyRelations(); @Override ElasticeSearchClientType getElasticSearchClientType(); @Override String getElasticSearchTransportHosts(); @Override int getDefaultElasticSearchPort(); @Override String getElasticSearchHttpHosts(); @Override int getElasticSearchHttpPort(); @Override String getKeyForStorageResponseTime(); @Override String getKeyForStorageGetResponseTime(); @Override String getKeyForSearchProcessingResponseTime(); @Override boolean useSharedSearchRepository(); @Override boolean isSafeToOutputRequestData(); @Override String getStorageFacetExecutionHint(); int getElasticSearchHttpRequestTimeoutMs(); int getElasticSearchHttpConnectionTimeoutMs(); int getElasticSearchHttpNoOfRetries(); boolean getElasticSearchHttpFollowRedirects(); boolean getElasticSearchHttpConnectionPoolingEnabled(); boolean getElasticSearchHttpCompressionEnabled(); int getElasticSearchNodeSniffingHttpRequestTimeoutMs(); int getElasticSearchNodeSniffingHttpConnectionTimeoutMs(); int getElasticSearchNodeSniffingHttpNoOfRetries(); @Override String getElasticSearchNodesSniffingHttpAdminEndpoint(); @Override int getElasticSearchNodesSniffingHttpRetryInterval(); @Override TimeUnit getElasticSearchNodesSniffingRetryIntervalUnit(); @Override boolean getElasticSearchNodesSniffingEnabled(); @Override int getHttpAsyncIndexingRequestTimeout(); @Override int getHttpAsyncSearchingRequestTimeout(); @Override String getRelatedItemsDocumentIndexName(); @Override String getRelatedItemsDocumentTypeName(); @Override String getRelatedItemsDocumentMergingScriptName(); @Override boolean getRelatedItemsDocumentIndexingEnabled(); @Override String getRelatedItemsDocumentComparisonKeyName(); @Override boolean getRemoveRelatedItemsDocumentDateAttribute(); String getElasticSearchMultiSearchEndpoint(); String getElasticSearchMultiGetEndpoint();  }