Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 810 for isShutdown (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

        override fun execute(
          taskRunner: TaskRunner,
          runnable: Runnable,
        ) {
          executor.execute(runnable)
        }
    
        fun shutdown() {
          executor.shutdown()
        }
      }
    
      companion object {
        val logger: Logger = Logger.getLogger(TaskRunner::class.java.name)
    
        @JvmField
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. cmd/erasure-object_test.go

    	var disks []string
    	var err error
    	var opts ObjectOptions
    
    	objLayer, disks, err = prepareErasure16(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// cleaning up of temporary test directories
    	defer objLayer.Shutdown(context.Background())
    	defer removeRoots(disks)
    
    	err = objLayer.MakeBucket(ctx, "bucket1", MakeBucketOptions{})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/clientinput/DaemonClientInputForwarder.java

            GlobalUserInputReceiver userInput
        ) {
            this.userInput = userInput;
            // Use a single reader thread, and make it a daemon thread so that it does not block process shutdown
            // In most cases, we try to cleanly shut down all threads. However, in this case it is difficult to disconnect a thread blocked trying to read from the
            // process' stdin, so use a daemon thread instead.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

        redQueue.shutdown()
    
        redQueue.execute("task", 100.µs) {
          // Do nothing.
        }
    
        taskFaker.assertNoMoreTasks()
    
        assertThat(testLogHandler.takeAll()).containsExactly(
          "FINE: Q10000 schedule canceled (queue is shutdown): task",
        )
      }
    
      @Test fun scheduleThrowsWhenShutdown() {
        redQueue.shutdown()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. src/packaging/common/systemd/fess.service

    # Set to "infinity" if you use the 'bootstrap.mlockall: true' option
    # in fess.yml and 'MAX_LOCKED_MEMORY=unlimited' in ${packaging.env.file}
    #LimitMEMLOCK=infinity
    
    # Shutdown delay in seconds, before process is tried to be killed with KILL (if configured)
    TimeoutStopSec=20
    
    [Install]
    WantedBy=multi-user.target
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        assertTrue(future.isDone());
    
        assertTrue(successLatch.await(200, MILLISECONDS));
        assertTrue(listenerLatch.await(200, MILLISECONDS));
    
        latch.countDown();
    
        exec.shutdown();
        exec.awaitTermination(100, MILLISECONDS);
      }
    
      /**
       * Tests that all listeners complete, even if they were added before or after the future was
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 18:30:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. cmd/kube-scheduler/app/testing/testserver.go

    	var errCh chan error
    	tearDown := func() {
    		cancel()
    
    		// If the scheduler was started, let's wait for it to
    		// shutdown clearly.
    		if errCh != nil {
    			err, ok := <-errCh
    			if ok && err != nil {
    				logger.Error(err, "Failed to shutdown test server clearly")
    			}
    		}
    		if len(result.TmpDir) != 0 {
    			os.RemoveAll(result.TmpDir)
    		}
    		configz.Delete("componentconfig")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 10:35:59 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AbstractService.java

       */
      @ForOverride
      protected abstract void doStart();
    
      /**
       * This method should be used to initiate service shutdown. The invocation of this method should
       * cause a call to {@link #notifyStopped()}, either during this method's run, or after it has
       * returned. If shutdown fails, the invocation should cause a call to {@link
       * #notifyFailed(Throwable)} instead.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/project/antbuilder/Cleanup.java

            this.key = classPath;
            this.classLoader = classLoader;
        }
    
        ClassPath getKey() {
            return key;
        }
    
        void cleanup(Mode mode) {
            groovySystemForClassLoader.shutdown();
            gradleApiGroovyLoader.discardTypesFrom(classLoader);
            antBuilderGroovyLoader.discardTypesFrom(classLoader);
            if (mode == Mode.CLOSE_CLASSLOADER) {
                ClassLoaderUtils.tryClose(classLoader);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 09 13:21:30 UTC 2016
    - 2.3K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/DevServer.kt

          client.newCall(request).execute().use { response ->
            if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
            println(response.request.url)
          }
        } finally {
          server.shutdown()
        }
      }
    }
    
    fun main() {
      DevServer().run()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top