You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by as...@apache.org on 2002/01/18 22:54:06 UTC

cvs commit: jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/auxiliary/lateral/behavior ILateralCacheAttributes.java

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>