Author: sebb
Date: Wed Apr  8 11:01:48 2009
New Revision: 763178

URL: http://svn.apache.org/viewvc?rev=763178&view=rev
Log:
Oops, forgot to check in the Interruptible interface

Added:
    jakarta/jmeter/trunk/src/core/org/apache/jmeter/samplers/Interruptible.java 
  (with props)

Added: 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/samplers/Interruptible.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/samplers/Interruptible.java?rev=763178&view=auto
==============================================================================
--- jakarta/jmeter/trunk/src/core/org/apache/jmeter/samplers/Interruptible.java 
(added)
+++ jakarta/jmeter/trunk/src/core/org/apache/jmeter/samplers/Interruptible.java 
Wed Apr  8 11:01:48 2009
@@ -0,0 +1,34 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+package org.apache.jmeter.samplers;
+
+/**
+ * Samplers which are able to interrupt a potentially long-running operation 
should
+ * implement this interface.
+ *
+ */
+public interface Interruptible {
+    
+    /**
+     * Interrupt the current operation if possible.
+     * 
+     * @return <code>true</code> if there was an operation to interrupt.
+     */
+    public boolean interrupt();
+}

Propchange: 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/samplers/Interruptible.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/samplers/Interruptible.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org

Reply via email to