diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-02-13 20:56:04 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-02-13 20:56:04 +0200 |
commit | 1b5b09f48e396311aa5ca25d1473e4256da7213f (patch) | |
tree | c5f23ca5bb8738ef0836266a5a30fce0580e7436 /processing | |
parent | 6f75a17ef1e5b13bfe065f4c13efdae8eaf734a9 (diff) |
Update with class comments.
Diffstat (limited to 'processing')
-rw-r--r-- | processing/src/main/java/com/yahoo/processing/request/CloneHelper.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/processing/src/main/java/com/yahoo/processing/request/CloneHelper.java b/processing/src/main/java/com/yahoo/processing/request/CloneHelper.java index 279769514d0..8b639855764 100644 --- a/processing/src/main/java/com/yahoo/processing/request/CloneHelper.java +++ b/processing/src/main/java/com/yahoo/processing/request/CloneHelper.java @@ -14,6 +14,16 @@ import java.util.Map; import java.util.HashMap; /** + * Helps to deep clone complex objects + * The following classes and their subclasses does have a fastpath + * - com.yahoo.component.provider.FreezableClass + * - com.yahoo.processing.request.properties.PublicCloneable BTW, this is the one you should implement too + * if you want the fastpath. + * - java.util.LinkedList + * - java.util.ArrayList + * The rest has the slow path with reflection, + * though using a fast thread safe method cache for speedup. + * * @author : baldersheim */ public class CloneHelper { |