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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]