Class CustomDynamicResourceClusteringPolicy
- java.lang.Object
-
- com._1c.g5.modeling.xtext.resource.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 theDynamicResourceClusteringPolicy
policy.
-
-
Field Summary
Fields Modifier and Type Field Description static String
MINIMUM_CLUSTER_SIZE
static String
MINIMUM_FREE_MEMORY
static String
MINIMUM_PERCENT_FREE_MEMORY
-
Constructor Summary
Constructors Constructor Description CustomDynamicResourceClusteringPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
continueProcessing(org.eclipse.emf.ecore.resource.ResourceSet resourceSet, org.eclipse.emf.common.util.URI next, int alreadyProcessed)
int
getMinimumClusterSize()
long
getMinimumFreeMemory()
long
getMinimumPercentFreeMemory()
protected void
logClusterCapped(org.eclipse.emf.ecore.resource.ResourceSet resourceSet, int alreadyProcessed, long freeMemory, long totalMemory)
void
setMinimumClusterSize(int minimumClusterSize)
void
setMinimumFreeMemory(long minimumFreeMemory)
void
setMinimumPercentFreeMemory(long minimumPercentFreeMemory)
-
-
-
Field Detail
-
MINIMUM_FREE_MEMORY
public static final String MINIMUM_FREE_MEMORY
- See Also:
- Constant Field Values
-
MINIMUM_CLUSTER_SIZE
public static final String MINIMUM_CLUSTER_SIZE
- See Also:
- Constant Field Values
-
MINIMUM_PERCENT_FREE_MEMORY
public static final String MINIMUM_PERCENT_FREE_MEMORY
- See Also:
- Constant Field Values
-
-
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 interfaceorg.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)
-
-