asmuts 02/01/18 07:38:15
Modified: src/java/org/apache/stratum/jcs/access CacheAccess.java
src/java/org/apache/stratum/jcs/utils/data QueueT.java
src/java/org/apache/stratum/jcs/utils/reuse
TomcatJglQueue.java TomcatQueue.java
src/java/org/apache/stratum/jcs/utils/threads
ThreadPool.java ThreadPoolRunnable.java
Log:
cleaning up formatting
Revision Changes Path
1.5 +1 -1
jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/access/CacheAccess.java
Index: CacheAccess.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/access/CacheAccess.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- CacheAccess.java 15 Jan 2002 22:25:49 -0000 1.4
+++ CacheAccess.java 18 Jan 2002 15:38:15 -0000 1.5
@@ -78,7 +78,7 @@
/**
* Description of the Class
*
- *@author asmuts
+ *@author <a href="mailto:[EMAIL PROTECTED]">Aaron Smuts</a>
*@created January 15, 2002
*/
public class CacheAccess implements ICacheAccess
1.2 +1 -2
jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/utils/data/QueueT.java
Index: QueueT.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/utils/data/QueueT.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- QueueT.java 18 Jan 2002 15:20:52 -0000 1.1
+++ QueueT.java 18 Jan 2002 15:38:15 -0000 1.2
@@ -56,7 +56,6 @@
* <http://www.apache.org/>.
*
*/
-
import java.util.Vector;
/**
@@ -66,7 +65,7 @@
*@author Anil V ([EMAIL PROTECTED]) -- Pulled out of tomcat, since it seems
* to move around and hide. Trying to reduce the number of dependencies
*@created January 18, 2002
- *@athor asmuts
+ *@athor <a href="mailto:[EMAIL PROTECTED]">Aaron Smuts</a>
*/
public class QueueT
{
1.4 +56 -1
jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/utils/reuse/TomcatJglQueue.java
Index: TomcatJglQueue.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/utils/reuse/TomcatJglQueue.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- TomcatJglQueue.java 15 Jan 2002 21:33:37 -0000 1.3
+++ TomcatJglQueue.java 18 Jan 2002 15:38:15 -0000 1.4
@@ -1,12 +1,67 @@
package org.apache.stratum.jcs.utils.reuse;
+/*
+ * The Apache Software License, Version 1.1
+ *
+ * Copyright (c) 2001 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowlegement may appear in the software itself,
+ * if and wherever such third-party acknowlegements normally appear.
+ *
+ * 4. The names "The Jakarta Project", "Velocity", and "Apache Software
+ * Foundation" must not be used to endorse or promote products derived
+ * from this software without prior written permission. For written
+ * permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this software may not be called "Apache"
+ * nor may "Apache" appear in their names without prior written
+ * permission of the Apache Group.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ */
+
+
/**
* A simple FIFO queue class which causes the calling thread to wait if the
* queue is empty and notifies threads that are waiting when it is not empty.
* Implemented using JGL for better performance.
*
- *@author asmuts
+ *@author <a href="mailto:[EMAIL PROTECTED]">Aaron Smuts</a>
*@created January 15, 2002
*/
public class TomcatJglQueue implements ITomcatQueue
1.5 +56 -1
jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/utils/reuse/TomcatQueue.java
Index: TomcatQueue.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/utils/reuse/TomcatQueue.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- TomcatQueue.java 18 Jan 2002 15:21:43 -0000 1.4
+++ TomcatQueue.java 18 Jan 2002 15:38:15 -0000 1.5
@@ -1,5 +1,60 @@
package org.apache.stratum.jcs.utils.reuse;
+/*
+ * The Apache Software License, Version 1.1
+ *
+ * Copyright (c) 2001 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowlegement may appear in the software itself,
+ * if and wherever such third-party acknowlegements normally appear.
+ *
+ * 4. The names "The Jakarta Project", "Velocity", and "Apache Software
+ * Foundation" must not be used to endorse or promote products derived
+ * from this software without prior written permission. For written
+ * permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this software may not be called "Apache"
+ * nor may "Apache" appear in their names without prior written
+ * permission of the Apache Group.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ */
+
+
import org.apache.stratum.jcs.utils.data.QueueT;
/**
@@ -7,7 +62,7 @@
* queue is empty and notifies threads that are waiting when it is not empty.
* Implemented using the Tomcat Queue.
*
- *@author asmuts
+ *@author <a href="mailto:[EMAIL PROTECTED]">Aaron Smuts</a>
*@created January 15, 2002
*/
public class TomcatQueue extends QueueT implements ITomcatQueue
1.2 +4 -4
jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/utils/threads/ThreadPool.java
Index: ThreadPool.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/utils/threads/ThreadPool.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ThreadPool.java 18 Jan 2002 15:20:10 -0000 1.1
+++ ThreadPool.java 18 Jan 2002 15:38:15 -0000 1.2
@@ -1,9 +1,9 @@
package org.apache.stratum.jcs.utils.threads;
/*
- * $Header:
/home/cvs/jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/utils/threads/ThreadPool.java,v
1.1 2002/01/18 15:20:10 asmuts Exp $
- * $Revision: 1.1 $
- * $Date: 2002/01/18 15:20:10 $
+ * $Header:
/home/cvs/jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/utils/threads/ThreadPool.java,v
1.2 2002/01/18 15:38:15 asmuts Exp $
+ * $Revision: 1.2 $
+ * $Date: 2002/01/18 15:38:15 $
*
* ====================================================================
*
@@ -76,7 +76,7 @@
* reduce the number of dependencies
*
*@author Gal Shachor
- *@author asmuts
+ *@author <a href="mailto:[EMAIL PROTECTED]">Aaron Smuts</a>
*@created January 18, 2002
*/
public class ThreadPool
1.2 +1 -3
jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/utils/threads/ThreadPoolRunnable.java
Index: ThreadPoolRunnable.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/utils/threads/ThreadPoolRunnable.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ThreadPoolRunnable.java 18 Jan 2002 15:20:10 -0000 1.1
+++ ThreadPoolRunnable.java 18 Jan 2002 15:38:15 -0000 1.2
@@ -1,6 +1,5 @@
package org.apache.stratum.jcs.utils.threads;
-
/*
* ====================================================================
*
@@ -59,7 +58,6 @@
* [Additional notices, if required by prior licensing conditions]
*
*/
-
import java.util.zip.*;
import java.net.*;
import java.util.*;
@@ -71,7 +69,7 @@
* Pulled out of tomcat, since it seems to move around and hide. Trying to
* reduce the number of dependencies
*
- *@author asmuts
+ *@author <a href="mailto:[EMAIL PROTECTED]">Aaron Smuts</a>
*@created January 18, 2002
*/
public interface ThreadPoolRunnable
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>