Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for prestart (0.22 sec)

  1. src/main/java/org/codelibs/core/timer/TimeoutTask.java

            if (status != ACTIVE) {
                throw new ClIllegalStateException(String.valueOf(status));
            }
            status = STOPPED;
        }
    
        /**
         * タイマーを再開始します。
         */
        public void restart() {
            status = ACTIVE;
            startTime = System.currentTimeMillis();
        }
    
        void expired() {
            timeoutTarget.expired();
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Strings.java

       * with as many copies of {@code padChar} as are necessary to reach that length. For example,
       *
       * <ul>
       *   <li>{@code padStart("7", 3, '0')} returns {@code "007"}
       *   <li>{@code padStart("2010", 3, '0')} returns {@code "2010"}
       * </ul>
       *
       * <p>See {@link java.util.Formatter} for a richer set of formatting capabilities.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

              workerRunningState = IDLE;
            }
            throw e;
            // The execution of a task has ended abnormally.
            // We could have tasks left in the queue, so should perhaps try to restart a worker,
            // but then the Error will get delayed if we are using a direct (same thread) executor.
          }
        }
    
        /**
         * Continues executing tasks from {@link #queue} until it is empty.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * time a task is submitted.
       *
       * <p>When an {@code Error} is thrown by an executed task, previously submitted tasks may never
       * run. An attempt will be made to restart execution on the next call to {@code execute}. If the
       * {@code delegate} has begun to reject execution, the previously submitted tasks may never run,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/StringsTest.java

      public void testPadStart_noPadding() {
        assertSame("", Strings.padStart("", 0, '-'));
        assertSame("x", Strings.padStart("x", 0, '-'));
        assertSame("x", Strings.padStart("x", 1, '-'));
        assertSame("xx", Strings.padStart("xx", 0, '-'));
        assertSame("xx", Strings.padStart("xx", 2, '-'));
      }
    
      public void testPadStart_somePadding() {
        assertEquals("-", Strings.padStart("", 1, '-'));
        assertEquals("--", Strings.padStart("", 2, '-'));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/ServeDocs.java

                builder.setArgs(Arrays.asList("-p", getPort().get(), "-d", getDocsDirectory().get().getAsFile().getAbsolutePath()));
                registry.start(getPath(), DeploymentRegistry.ChangeBehavior.RESTART, JavaApplicationHandle.class, builder);
            }
        }
    
        @Inject
        protected abstract DeploymentRegistry getDeploymentRegistry();
    
        @Inject
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 18 12:38:47 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Strings.java

       * with as many copies of {@code padChar} as are necessary to reach that length. For example,
       *
       * <ul>
       *   <li>{@code padStart("7", 3, '0')} returns {@code "007"}
       *   <li>{@code padStart("2010", 3, '0')} returns {@code "2010"}
       * </ul>
       *
       * <p>See {@link java.util.Formatter} for a richer set of formatting capabilities.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

              pred.next = succ;
              if (pred.thread == null) { // We raced with another node that unlinked pred. Restart.
                continue restart;
              }
            } else if (!ATOMIC_HELPER.casWaiters(this, curr, succ)) { // We are unlinking head
              continue restart; // We raced with an add or complete
            }
            curr = succ;
          }
          break;
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/StringsTest.java

      public void testPadStart_noPadding() {
        assertSame("", Strings.padStart("", 0, '-'));
        assertSame("x", Strings.padStart("x", 0, '-'));
        assertSame("x", Strings.padStart("x", 1, '-'));
        assertSame("xx", Strings.padStart("xx", 0, '-'));
        assertSame("xx", Strings.padStart("xx", 2, '-'));
      }
    
      public void testPadStart_somePadding() {
        assertEquals("-", Strings.padStart("", 1, '-'));
        assertEquals("--", Strings.padStart("", 2, '-'));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/timer/TimeoutManager.java

                        } else {
                            logger.warn("Failed to process a task.", e);
                        }
                    }
                    if (task.isPermanent()) {
                        task.restart();
                    }
                });
            } catch (final Exception e) {
                logger.warn("Failed to process a task.", e);
            }
        }
    
        private synchronized boolean isInterrupted() {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top