summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-09-17 15:49:48 (EDT)
committerEike Stepper2007-09-17 15:49:48 (EDT)
commit3880207b81db9ca5397e8236f8f90c4bd5a8c42f (patch)
tree5b10ad7aca7ca1d79c79cb5fc0bb92f0d278ac44
parentd1820adc3aee9aaba5a44796b0837bf9a77d1826 (diff)
downloadcdo-3880207b81db9ca5397e8236f8f90c4bd5a8c42f.zip
cdo-3880207b81db9ca5397e8236f8f90c4bd5a8c42f.tar.gz
cdo-3880207b81db9ca5397e8236f8f90c4bd5a8c42f.tar.bz2
[203538] Limit memory consumption in CDORevisionResolverImpl
https://bugs.eclipse.org/bugs/show_bug.cgi?id=203538
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/cache/HysteresisConditionPolicy.java2
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/cache/ThresholdConditionPolicy.java (renamed from plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/cache/AbsoluteConditionPolicy.java)4
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/cache/HysteresisConditionPolicy.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/cache/HysteresisConditionPolicy.java
index f5a4066..a44c65d 100644
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/cache/HysteresisConditionPolicy.java
+++ b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/cache/HysteresisConditionPolicy.java
@@ -15,7 +15,7 @@ import org.eclipse.net4j.util.cache.ICacheMonitor.Condition;
/**
* @author Eike Stepper
*/
-public class HysteresisConditionPolicy extends AbsoluteConditionPolicy
+public class HysteresisConditionPolicy extends ThresholdConditionPolicy
{
private long thresholdYellowRed;
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/cache/AbsoluteConditionPolicy.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/cache/ThresholdConditionPolicy.java
index 39e1eae..e1e6a04 100644
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/cache/AbsoluteConditionPolicy.java
+++ b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/internal/util/cache/ThresholdConditionPolicy.java
@@ -16,13 +16,13 @@ import org.eclipse.net4j.util.cache.ICacheMonitor.Condition;
/**
* @author Eike Stepper
*/
-public class AbsoluteConditionPolicy implements ICacheMonitor.ConditionPolicy
+public class ThresholdConditionPolicy implements ICacheMonitor.ConditionPolicy
{
private long thresholdRedYellow;
private long thresholdYellowGreen;
- public AbsoluteConditionPolicy(long thresholdRedYellow, long thresholdYellowGreen)
+ public ThresholdConditionPolicy(long thresholdRedYellow, long thresholdYellowGreen)
{
if (thresholdRedYellow > thresholdYellowGreen)
{