asmuts 02/01/18 13:54:06
Modified: src/java/org/apache/stratum/jcs/auxiliary/lateral/behavior
ILateralCacheAttributes.java
Log:
put in some rough safe guards against blocking on reads.
Allowed for get operations in the TCP Lateral cache, can an easy way
to turn off this functionality in the configuration files. You can specify
that putOnlyMode=true.
Revision Changes Path
1.4 +20 -0
jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/auxiliary/lateral/behavior/ILateralCacheAttributes.java
Index: ILateralCacheAttributes.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/auxiliary/lateral/behavior/ILateralCacheAttributes.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ILateralCacheAttributes.java 15 Jan 2002 21:33:31 -0000 1.3
+++ ILateralCacheAttributes.java 18 Jan 2002 21:54:06 -0000 1.4
@@ -161,4 +161,24 @@
*/
public String getTransmissionTypeName();
+
+ /////////////////////////////////////////
+ /**
+ * Sets the putOnlyMode attribute of the ILateralCacheAttributes.
+ * When this is true the lateral cache will only issue put and remove
+ * order and will not try to retrieve elements from other lateral caches.
+ *
+ *@param val The new transmissionTypeName value
+ */
+ public void setPutOnlyMode( boolean val );
+
+
+ /**
+ *
+ *
+ *@return The outgoingOnlyMode value. Stops gets from going remote.
+ */
+ public boolean getPutOnlyMode();
+
+
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>