Class ReloadAclCacheRequest

java.lang.Object
org.apache.solr.client.solrj.SolrRequest<org.apache.solr.client.solrj.response.SolrResponseBase>
org.ametys.cms.indexing.solr.ReloadAclCacheRequest
All Implemented Interfaces:
Serializable

public class ReloadAclCacheRequest extends org.apache.solr.client.solrj.SolrRequest<org.apache.solr.client.solrj.response.SolrResponseBase>
SolrRequest to reload the ACL Solr cache
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequest

    org.apache.solr.client.solrj.SolrRequest.METHOD
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected boolean
    If true, only the segments which are not already in cache are computed

    Fields inherited from class org.apache.solr.client.solrj.SolrRequest

    SUPPORTED_METHODS, useBinaryV2, usev2
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
    ReloadAclCacheRequest(boolean checkIfNecessary)
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.solr.client.solrj.response.SolrResponseBase
    createResponse(org.apache.solr.client.solrj.SolrClient client)
     
    Collection<org.apache.solr.common.util.ContentStream>
     
    org.apache.solr.common.params.SolrParams
     

    Methods inherited from class org.apache.solr.client.solrj.SolrRequest

    addHeader, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentWriter, getHeaders, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • _checkIfNecessary

      protected boolean _checkIfNecessary
      If true, only the segments which are not already in cache are computed
  • Constructor Details

    • ReloadAclCacheRequest

      Default constructor
    • ReloadAclCacheRequest

      public ReloadAclCacheRequest(boolean checkIfNecessary)
      Default constructor
      Parameters:
      checkIfNecessary - true to check if the reload is necessary for each segment (i.e. reload only the segments not already in cache)
  • Method Details

    • getParams

      public org.apache.solr.common.params.SolrParams getParams()
      Specified by:
      getParams in class org.apache.solr.client.solrj.SolrRequest<org.apache.solr.client.solrj.response.SolrResponseBase>
    • getContentStreams

      public Collection<org.apache.solr.common.util.ContentStream> getContentStreams() throws IOException
      Overrides:
      getContentStreams in class org.apache.solr.client.solrj.SolrRequest<org.apache.solr.client.solrj.response.SolrResponseBase>
      Throws:
      IOException
    • createResponse

      protected org.apache.solr.client.solrj.response.SolrResponseBase createResponse(org.apache.solr.client.solrj.SolrClient client)
      Specified by:
      createResponse in class org.apache.solr.client.solrj.SolrRequest<org.apache.solr.client.solrj.response.SolrResponseBase>