Class AsynchAECasManager_impl

    • Constructor Summary

      Constructors 
      Constructor Description
      AsynchAECasManager_impl​(org.apache.uima.resource.ResourceManager aResourceManager)  
      AsynchAECasManager_impl​(org.apache.uima.resource.ResourceManager aResourceManager, java.util.Map aDescriptorMap)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addMetadata​(org.apache.uima.resource.metadata.ProcessingResourceMetaData meta)  
      java.lang.String getCasManagerContext()  
      int getCasPoolSize()  
      long getInitialFsHeapSize()  
      org.apache.uima.resource.CasManager getInternalCasManager()  
      org.apache.uima.resource.metadata.ProcessingResourceMetaData getMetadata()
      Constructs and returns a ProcessingResourceMetaData object that contains the type system, indexes, and type priorities definitions for the CAS.
      java.util.Map getMetadataAsMap()  
      org.apache.uima.cas.CAS getNewCas()  
      org.apache.uima.cas.CAS getNewCas​(java.lang.String aContext)  
      org.apache.uima.resource.ResourceManager getResourceManager()  
      void initialize​(int aCasPoolSize, java.lang.String aContextName)  
      void initialize​(int aCasPoolSize, java.lang.String aContextName, java.util.Properties aPerformanceTuningSettings)  
      void initialize​(java.lang.String aContextName)  
      boolean isInitialized()  
      void setCasPoolSize​(int casPoolSize)  
      void setInitialFsHeapSize​(long aSizeInBytes)  
      void setInitialized​(boolean initialized)  
      void setMetadata​(java.lang.String aDescriptorName)  
      void setMetadata​(org.apache.uima.resource.metadata.ProcessingResourceMetaData meta)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AsynchAECasManager_impl

        public AsynchAECasManager_impl​(org.apache.uima.resource.ResourceManager aResourceManager,
                                       java.util.Map aDescriptorMap)
      • AsynchAECasManager_impl

        public AsynchAECasManager_impl​(org.apache.uima.resource.ResourceManager aResourceManager)
    • Method Detail

      • initialize

        public void initialize​(java.lang.String aContextName)
                        throws java.lang.Exception
        Specified by:
        initialize in interface AsynchAECasManager
        Throws:
        java.lang.Exception
      • initialize

        public void initialize​(int aCasPoolSize,
                               java.lang.String aContextName)
                        throws java.lang.Exception
        Specified by:
        initialize in interface AsynchAECasManager
        Throws:
        java.lang.Exception
      • initialize

        public void initialize​(int aCasPoolSize,
                               java.lang.String aContextName,
                               java.util.Properties aPerformanceTuningSettings)
                        throws java.lang.Exception
        Specified by:
        initialize in interface AsynchAECasManager
        Throws:
        java.lang.Exception
      • getCasPoolSize

        public int getCasPoolSize()
      • setCasPoolSize

        public void setCasPoolSize​(int casPoolSize)
      • addMetadata

        public void addMetadata​(org.apache.uima.resource.metadata.ProcessingResourceMetaData meta)
        Specified by:
        addMetadata in interface AsynchAECasManager
      • setMetadata

        public void setMetadata​(org.apache.uima.resource.metadata.ProcessingResourceMetaData meta)
        Specified by:
        setMetadata in interface AsynchAECasManager
      • getMetadata

        public org.apache.uima.resource.metadata.ProcessingResourceMetaData getMetadata()
                                                                                 throws org.apache.uima.resource.ResourceInitializationException
        Constructs and returns a ProcessingResourceMetaData object that contains the type system, indexes, and type priorities definitions for the CAS.
        Specified by:
        getMetadata in interface AsynchAECasManager
        Returns:
        processing resource metadata object containing the relevant parts of the CAS definition
        Throws:
        org.apache.uima.resource.ResourceInitializationException
      • getMetadataAsMap

        public java.util.Map getMetadataAsMap()
                                       throws org.apache.uima.resource.ResourceInitializationException
        Specified by:
        getMetadataAsMap in interface AsynchAECasManager
        Throws:
        org.apache.uima.resource.ResourceInitializationException
      • setMetadata

        public void setMetadata​(java.lang.String aDescriptorName)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getNewCas

        public org.apache.uima.cas.CAS getNewCas​(java.lang.String aContext)
        Specified by:
        getNewCas in interface AsynchAECasManager