Class TransientSolrCores

    • Constructor Detail

      • TransientSolrCores

        public TransientSolrCores​(CoreContainer container,
                                  int cacheSize)
        Deprecated.
    • Method Detail

      • close

        protected void close()
        Deprecated.
        Overrides:
        close in class SolrCores
      • getLoadedCoreNames

        public List<String> getLoadedCoreNames()
        Deprecated.
        Description copied from class: SolrCores
        Gets the cores that are currently loaded, i.e. cores that have 1: loadOnStartup=true and are either not-transient or, if transient, have been loaded and have not been aged out 2: loadOnStartup=false and have been loaded but either non-transient or have not been aged out.

        Put another way, this will not return any names of cores that are lazily loaded but have not been called for yet or are transient and either not loaded or have been swapped out.

        Overrides:
        getLoadedCoreNames in class SolrCores
        Returns:
        An unsorted list. This list is a new copy, it can be modified by the caller (e.g. it can be sorted).
      • getNumLoadedTransientCores

        public int getNumLoadedTransientCores()
        Deprecated.
        Description copied from class: SolrCores
        Gets the number of currently loaded transient cores.
        Overrides:
        getNumLoadedTransientCores in class SolrCores
      • getNumUnloadedCores

        public int getNumUnloadedCores()
        Deprecated.
        Description copied from class: SolrCores
        Gets the number of unloaded cores, including permanent and transient cores.
        Overrides:
        getNumUnloadedCores in class SolrCores
      • getNumAllCores

        public int getNumAllCores()
        Deprecated.
        Description copied from class: SolrCores
        Gets the total number of cores, including permanent and transient cores, loaded and unloaded cores. Faster equivalent for SolrCores.getAllCoreNames().size().
        Overrides:
        getNumAllCores in class SolrCores
      • getCoreDescriptor

        public CoreDescriptor getCoreDescriptor​(String coreName)
        Deprecated.
        Description copied from class: SolrCores
        Return the CoreDescriptor corresponding to a given core name. Blocks if the SolrCore is still loading until it is ready.
        Overrides:
        getCoreDescriptor in class SolrCores
        Parameters:
        coreName - the name of the core
        Returns:
        the CoreDescriptor
      • getCoreDescriptors

        public List<CoreDescriptor> getCoreDescriptors()
        Deprecated.
        Description copied from class: SolrCores
        Get the CoreDescriptors for every SolrCore managed here (permanent and transient, loaded and unloaded).
        Overrides:
        getCoreDescriptors in class SolrCores
        Returns:
        An unordered list copy. This list can be modified by the caller (e.g. sorted).