Class CustomDynamicResourceClusteringPolicy

  • All Implemented Interfaces:
    org.eclipse.xtext.resource.clustering.IResourceClusteringPolicy

    public class CustomDynamicResourceClusteringPolicy
    extends Object
    implements org.eclipse.xtext.resource.clustering.IResourceClusteringPolicy
    Customized version of the DynamicResourceClusteringPolicy policy.
    • Constructor Detail

      • CustomDynamicResourceClusteringPolicy

        public CustomDynamicResourceClusteringPolicy()
    • Method Detail

      • continueProcessing

        public boolean continueProcessing​(org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
                                          org.eclipse.emf.common.util.URI next,
                                          int alreadyProcessed)
        Specified by:
        continueProcessing in interface org.eclipse.xtext.resource.clustering.IResourceClusteringPolicy
      • logClusterCapped

        protected void logClusterCapped​(org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
                                        int alreadyProcessed,
                                        long freeMemory,
                                        long totalMemory)
      • getMinimumFreeMemory

        public long getMinimumFreeMemory()
      • setMinimumFreeMemory

        public void setMinimumFreeMemory​(long minimumFreeMemory)
      • getMinimumClusterSize

        public int getMinimumClusterSize()
      • setMinimumClusterSize

        public void setMinimumClusterSize​(int minimumClusterSize)
      • getMinimumPercentFreeMemory

        public long getMinimumPercentFreeMemory()
      • setMinimumPercentFreeMemory

        public void setMinimumPercentFreeMemory​(long minimumPercentFreeMemory)