Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for destroy (2.59 sec)

  1. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            }
            final String commandDestroyTimeoutStr = fessConfig.getSystemProperty("thumbnail.command.destroy.timeout");
            if (commandDestroyTimeoutStr != null) {
                commandDestroyTimeout = Long.valueOf(commandDestroyTimeoutStr);
            }
        }
    
        @Override
        public void destroy() {
            destoryTimer.cancel();
            destoryTimer = null;
        }
    
        @Override
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

        protected final ConcurrentHashMap<String, JobProcess> runningProcessMap = new ConcurrentHashMap<>();
    
        protected int processDestroyTimeout = 10;
    
        @PreDestroy
        public void destroy() {
            for (final String sessionId : runningProcessMap.keySet()) {
                if (logger.isInfoEnabled()) {
                    logger.info("Stopping process {}", sessionId);
                }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/EmptyGenerator.java

    public class EmptyGenerator extends BaseThumbnailGenerator {
    
        @Override
        public boolean generate(final String thumbnailId, final File outputFile) {
            return false;
        }
    
        @Override
        public void destroy() {
            // nothing
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 939 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/ThumbnailGenerator.java

    public interface ThumbnailGenerator {
    
        String getName();
    
        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);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

            ) {
              // We obtained the coalesced connection. Let request1 violently destroy it.
              latch3.countDown()
              try {
                latch4.await()
              } catch (e: InterruptedException) {
                throw AssertionError(e)
              }
            }
          }
    
        // Get a reference to the connection so we can violently destroy it.
        val connection = AtomicReference<Connection?>()
        val client1 =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                    } catch (final Exception e) {
                        // ignore
                    }
                }
                if (currentProcess != null) {
                    try {
                        currentProcess.destroy();
                    } catch (final Exception e) {
                        // ignore
                    }
                }
                currentProcess = null;
    
            }
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

        @Override
        public void rollback() {
            for (final MultipartFormFile formFile : elementsFile.values()) {
                formFile.destroy();
            }
        }
    
        // ===================================================================================
        //                                                                            Add Text
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/filter/WebApiFilter.java

    public class WebApiFilter implements Filter {
    
        @Override
        public void init(final FilterConfig filterConfig) throws ServletException {
            // nothing
        }
    
        @Override
        public void destroy() {
            // nothing
        }
    
        @Override
        public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain)
                throws IOException, ServletException {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

                final List<String> list = entry.getValue();
                paramMap.put(entry.getKey(), list.toArray(new String[list.size()]));
            }
            return paramMap;
        }
    
        @Override
        public void destroy() {
            // nothing
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

        @PreDestroy
        public void destroy() {
            generating = false;
            thumbnailQueueThread.interrupt();
            try {
                thumbnailQueueThread.join(10000);
            } catch (final InterruptedException e) {
                logger.warn("Thumbnail thread is timeouted.", e);
            }
            generatorList.forEach(g -> {
                try {
                    g.destroy();
                } catch (final Exception e) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 21.5K bytes
    - Viewed (0)
Back to top