You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by mi...@apache.org on 2014/12/06 18:27:22 UTC

svn commit: r1643573 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/CacheableConglomerate.java

Author: mikem
Date: Sat Dec  6 17:27:21 2014
New Revision: 1643573

URL: http://svn.apache.org/r1643573
Log:
just comment changes.


Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/CacheableConglomerate.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/CacheableConglomerate.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/CacheableConglomerate.java?rev=1643573&r1=1643572&r2=1643573&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/CacheableConglomerate.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/CacheableConglomerate.java Sat Dec  6 17:27:21 2014
@@ -33,7 +33,7 @@ the Conglomerate directory to cache Cong
 object for the conglomid and Conglomerate object that is read from the
 Conglomerate Conglomerate.   It is a wrapper rather than extending 
 the conglomerate implementations because we want to cache all conglomerate
-implementatations: (ie. Heap, B2I, ...).
+implementations: (ie. Heap, B2I, ...).
 
 References to the Conglomerate objects cached by this wrapper will be handed
 out to callers.  When this this object goes out of cache callers may still
@@ -73,20 +73,26 @@ class CacheableConglomerate implements C
 		The object will be in the No Identity state,
 		ie. it will have just been created or clearIdentity() was just called. 
 		<BR>
-		The object must copy the information out of key, not just store a reference to key.
-		After this call the expression getIdentity().equals(key) must return true.
+		The object must copy the information out of key, not just store a 
+        reference to key.
+		After this call the expression getIdentity().equals(key) must return 
+        true.
 		<BR>
-		If the class of the object needs to change (e.g. to support a different format)
-		then the object should create a new object, call its initParameter() with the parameters
-		the original object was called with, set its identity and return a reference to it. The cache
+		If the class of the object needs to change (e.g. to support a different
+        format) then the object should create a new object, call its 
+        initParameter() with the parameters the original object was called with,
+        set its identity and return a reference to it. The cache
 		manager will discard the reference to the old object. 
 		<BR>
-		If an exception is thrown the object must be left in the no-identity state.
+		If an exception is thrown the object must be left in the no-identity 
+        state.
 
-		<BR> MT - single thread required - Method must only be called be cache manager
-		and the cache manager will guarantee only one thread can be calling it.
+		<BR> MT - single thread required - Method must only be called by cache 
+        manager and the cache manager will guarantee only one thread can be 
+        calling it.
 
-		@return an object reference if the object can take on the identity, null otherwise.
+		@return an object reference if the object can take on the identity, 
+                null otherwise.
 
 		@exception StandardException Standard Derby Policy
 
@@ -156,8 +162,9 @@ class CacheableConglomerate implements C
 	/**
 		Put the object into the No Identity state. 
 
-		<BR> MT - single thread required - Method must only be called be cache manager
-		and the cache manager will guarantee only one thread can be calling it.
+		<BR> MT - single thread required - Method must only be called be cache 
+        manager and the cache manager will guarantee only one thread can be 
+        calling it.
 
 	*/
 	public void clearIdentity()
@@ -179,7 +186,8 @@ class CacheableConglomerate implements C
 
 
 	/**
-		Returns true of the object is dirty. Will only be called when the object is unkept.
+		Returns true if the object is dirty. 
+        Will only be called when the object is unkept.
 
 		<BR> MT - thread safe 
 
@@ -195,16 +203,16 @@ class CacheableConglomerate implements C
 		and clean() method calls.
 		<BR>
 		If forRemove is true then the 
-		object is being removed due to an explict remove request, in this case
+		object is being removed due to an explicit remove request, in this case
 		the cache manager will have called this method regardless of the
 		state of the isDirty() 
 
 		<BR>
 		If an exception is thrown the object must be left in the clean state.
 
-		<BR> MT - thread safe - Can be called at any time by the cache manager, it is the
-		responsibility of the object implementing Cacheable to ensure any users of the
-		object do not conflict with the clean call.
+		<BR> MT - thread safe - Can be called at any time by the cache manager, 
+        it is the responsibility of the object implementing Cacheable to ensure
+        any users of the object do not conflict with the clean call.
 
 		@exception StandardException Standard Derby error policy.