jakarta-jcs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asm...@apache.org
Subject svn commit: r389817 - /jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/remote/behavior/IRemoteCacheAttributes.java
Date Wed, 29 Mar 2006 16:15:23 GMT
Author: asmuts
Date: Wed Mar 29 08:15:20 2006
New Revision: 389817

URL: http://svn.apache.org/viewcvs?rev=389817&view=rev
Log:
added a new line to separate regions in the stats

Modified:
    jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/remote/behavior/IRemoteCacheAttributes.java

Modified: jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/remote/behavior/IRemoteCacheAttributes.java
URL: http://svn.apache.org/viewcvs/jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/remote/behavior/IRemoteCacheAttributes.java?rev=389817&r1=389816&r2=389817&view=diff
==============================================================================
--- jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/remote/behavior/IRemoteCacheAttributes.java
(original)
+++ jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/remote/behavior/IRemoteCacheAttributes.java
Wed Mar 29 08:15:20 2006
@@ -36,6 +36,9 @@
      */
     public static int CLUSTER = 1;
 
+    /** The default timeout for the custom RMI socket facfory */
+    public static final int DEFAULT_RMI_SOCKET_FACTORY_TIMEOUT_MILLIS = 10000;
+
     /**
      * Gets the remoteTypeName attribute of the IRemoteCacheAttributes object
      * 
@@ -271,4 +274,22 @@
      * @param millis
      */
     public abstract void setGetTimeoutMillis( int millis );
+
+    /**
+     * This sets a general timeout on the rmi socket factory. By default the
+     * socket factory will block forever.
+     * <p>
+     * We have a default setting.  The default rmi behavior should never be used.
+     * 
+     * @return int milliseconds
+     */
+    public abstract int getRmiSocketFactoryTimeoutMillis();
+
+    /**
+     * This sets a general timeout on the rmi socket factory. By default the
+     * socket factory will block forever.
+     * 
+     * @param rmiSocketFactoryTimeoutMillis
+     */
+    public abstract void setRmiSocketFactoryTimeoutMillis( int rmiSocketFactoryTimeoutMillis
);
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-dev-help@jakarta.apache.org


Mime
View raw message