You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by al...@apache.org on 2007/01/19 20:08:06 UTC

svn commit: r497907 - in /incubator/uima/uimaj/trunk/uimaj-core/src/main: java/org/apache/uima/UIMAFramework.java resources/org/apache/uima/impl/performanceTuning.properties

Author: alally
Date: Fri Jan 19 11:08:05 2007
New Revision: 497907

URL: http://svn.apache.org/viewvc?view=rev&rev=497907
Log:
Turn on socket keepAlive in Vinci client.
UIMA-212: http://issues.apache.org/jira/browse/UIMA-212

Modified:
    incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/UIMAFramework.java
    incubator/uima/uimaj/trunk/uimaj-core/src/main/resources/org/apache/uima/impl/performanceTuning.properties

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/UIMAFramework.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/UIMAFramework.java?view=diff&rev=497907&r1=497906&r2=497907
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/UIMAFramework.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/UIMAFramework.java Fri Jan 19 11:08:05 2007
@@ -72,6 +72,16 @@
   public static final String PROCESS_TRACE_ENABLED = "process_trace_enabled";
 
   /**
+   * Key to be used in the Properties object returned by
+   * {@link #getDefaultPerformanceTuningProperties()}. The value of this key indicates whether
+   * socket KeepAlive should be turned on (currently implemented only for Vinci clients).  The
+   * default is true.  A value of "false" (case insensitive) for this property disables the keepAlive; 
+   * any other value leaves the default setting of true.
+   * @see java.net.Socket#setKeepAlive(boolean)
+   */
+  public static final Object SOCKET_KEEPALIVE_ENABLED = "socket_keepalive_enabled";
+
+  /**
    * To be implemented by subclasses; this should return a Properties object representing the
    * default performance tuning settings for the framework. It must return a new Properties object
    * each time it is called.

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/resources/org/apache/uima/impl/performanceTuning.properties
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/resources/org/apache/uima/impl/performanceTuning.properties?view=diff&rev=497907&r1=497906&r2=497907
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/resources/org/apache/uima/impl/performanceTuning.properties (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/resources/org/apache/uima/impl/performanceTuning.properties Fri Jan 19 11:08:05 2007
@@ -23,4 +23,5 @@
 #------------------------------------------------------------------------
 cas_initial_heap_size = 500000
 process_trace_enabled = true
+socket_keepalive_enabled = true