Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 108 for Interruption (0.11 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

          }
          executionList.execute();
          if (mayInterruptIfRunning) {
            interruptTask();
          }
          return true;
        }
    
        /**
         * Subclasses can override this method to implement interruption of the future's computation.
         * The method is invoked automatically by a successful call to {@link #cancel(boolean)
         * cancel(true)}.
         *
         * <p>The default implementation does nothing.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/LoadingCache.java

       *
       * @throws ExecutionException if a checked exception was thrown while loading the value. ({@code
       *     ExecutionException} is thrown <a
       *     href="https://github.com/google/guava/wiki/CachesExplained#interruption">even if
       *     computation was interrupted by an {@code InterruptedException}</a>.)
       * @throws UncheckedExecutionException if an unchecked exception was thrown while loading the
       *     value
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

        Fire(TimeoutFuture<V> timeoutFuture) {
          this.timeoutFutureRef = timeoutFuture;
        }
    
        @Override
        // TODO: b/227335009 - Maybe change interruption behavior, but it requires thought.
        @SuppressWarnings("Interruption")
        public void run() {
          // If either of these reads return null then we must be after a successful cancel or another
          // call to this method.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Queues.java

       * different behavior in case it is interrupted while waiting. In that case, the operation will
       * continue as usual, and in the end the thread's interruption status will be set (no {@code
       * InterruptedException} is thrown).
       *
       * @param q the blocking queue to be drained
       * @param buffer where to add the transferred elements
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. LICENSE

    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
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jan 23 11:07:23 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

    import com.google.common.testing.TearDown;
    import com.google.common.testing.TearDownAccepter;
    import java.util.concurrent.TimeUnit;
    import java.util.logging.Logger;
    
    /**
     * Utilities for performing thread interruption in tests
     *
     * @author Kevin Bourrillion
     * @author Chris Povirk
     */
    final class InterruptionUtil {
      private static final Logger logger = Logger.getLogger(InterruptionUtil.class.getName());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Queues.java

       * different behavior in case it is interrupted while waiting. In that case, the operation will
       * continue as usual, and in the end the thread's interruption status will be set (no {@code
       * InterruptedException} is thrown).
       *
       * @param q the blocking queue to be drained
       * @param buffer where to add the transferred elements
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. apache-maven/src/main/appended-resources/META-INF/NOTICE.vm

    COPYRIGHT OWNER OR 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....
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 10 19:27:25 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

     *   <li>Tasks may be of type {@code AsyncCallable}.
     *   <li>Running tasks <i>cannot</i> be interrupted. (Note that {@code newSequentialExecutor} does
     *       not return {@code Future} objects, so it doesn't support interruption directly, either.
     *       However, utilities that <i>use</i> that executor have the ability to interrupt tasks
     *       running on it. This class, by contrast, does not expose an {@code Executor} API.)
     * </ul>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_1x.md

    _2014-03-29_
    
     * Fix bug where the Content-Length header was not always dropped when
       following a redirect from a POST to a GET.
     * Implement basic support for `Thread.interrupt()`. OkHttp now checks
       for an interruption before doing a blocking call. If it is interrupted,
       it throws an `InterruptedIOException`.
    
    ## Version 1.5.2
    
    _2014-03-17_
    
     * Fix bug where deleting a file that was absent from the `HttpResponseCache`
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
Back to top