You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-dev@jakarta.apache.org by hc...@apache.org on 2005/01/28 14:13:17 UTC
cvs commit: jakarta-turbine-jcs/sandbox/yajcache/src/org/apache/jcs/yajcache/lang/annotation ThreadSafetyType.java
hchar 2005/01/28 05:13:17
Modified: sandbox/yajcache/src/org/apache/jcs/yajcache/lang/annotation
ThreadSafetyType.java
Log:
doc
Revision Changes Path
1.2 +5 -0 jakarta-turbine-jcs/sandbox/yajcache/src/org/apache/jcs/yajcache/lang/annotation/ThreadSafetyType.java
Index: ThreadSafetyType.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-jcs/sandbox/yajcache/src/org/apache/jcs/yajcache/lang/annotation/ThreadSafetyType.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ThreadSafetyType.java 27 Jan 2005 10:48:52 -0000 1.1
+++ ThreadSafetyType.java 28 Jan 2005 13:13:17 -0000 1.2
@@ -28,6 +28,11 @@
public enum ThreadSafetyType {
/** Immutable objects are guaranteed to be thread-safe. */
IMMUTABLE,
+ /**
+ * Instances of this class are mutable, but all methods contain
+ * sufficient internal synchronization that instances may be used
+ * concurrently without the need for external synchronization.
+ */
SAFE,
/**
* Conditionally thread-safe classes are those for which each individual
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-jcs-dev-help@jakarta.apache.org