Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for createTasks (0.1 sec)

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

          mock.assertLastMethodCalled("submit");
          assertEquals(RESULT_VALUE, f.get());
        }
      }
    
      public void testInvokeAll() throws InterruptedException, ExecutionException {
        List<Callable<String>> tasks = createTasks(3);
        {
          MockExecutor mock = new MockExecutor();
          TestExecutor testExecutor = new TestExecutor(mock);
          List<Future<String>> futures = testExecutor.invokeAll(tasks);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

          mock.assertLastMethodCalled("submit");
          assertEquals(RESULT_VALUE, f.get());
        }
      }
    
      public void testInvokeAll() throws InterruptedException, ExecutionException {
        List<Callable<String>> tasks = createTasks(3);
        {
          MockExecutor mock = new MockExecutor();
          TestExecutor testExecutor = new TestExecutor(mock);
          List<Future<String>> futures = testExecutor.invokeAll(tasks);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/ThumbnailGenerator.java

        boolean generate(String thumbnailId, File outputFile);
    
        boolean isTarget(Map<String, Object> docMap);
    
        boolean isAvailable();
    
        void destroy();
    
        Tuple3<String, String, String> createTask(String path, Map<String, Object> docMap);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

        private static final Logger logger = LogManager.getLogger(HtmlTagBasedGenerator.class);
    
        @Override
        public void destroy() {
        }
    
        @Override
        public Tuple3<String, String, String> createTask(final String path, final Map<String, Object> docMap) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String thumbnailId = DocumentUtil.getValue(docMap, fessConfig.getIndexFieldId(), String.class);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                    return found;
                });
            } else {
                available = true;
            }
            return available;
        }
    
        @Override
        public Tuple3<String, String, String> createTask(final String path, final Map<String, Object> docMap) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String thumbnailId = DocumentUtil.getValue(docMap, fessConfig.getIndexFieldId(), String.class);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                if (generator.isTarget(docMap)) {
                    final String path = getImageFilename(docMap);
                    final Tuple3<String, String, String> task = generator.createTask(path, docMap);
                    if (task != null) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Add thumbnail task: {}", task);
                        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top