Search Options

Results per page
Sort
Preferred Languages
Advance

Results 931 - 940 of 1,922 for try (0.01 sec)

  1. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

            }
        }
    
        @Override
        @PreDestroy
        public void close() throws Exception {
            if (executorService != null) {
                try {
                    executorService.shutdown();
                    executorService.awaitTermination(60, TimeUnit.SECONDS);
                } catch (final InterruptedException e) {
                    if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/exentity/FileAuthentication.java

        }
    
        public FileConfig getFileConfig() {
            if (fileConfig == null) {
                final FileConfigService fileConfigService = ComponentUtil.getComponent(FileConfigService.class);
                try {
                    fileConfig = fileConfigService.getFileConfig(getFileConfigId()).get();
                } catch (final Exception e) {
                    logger.warn("File Config {} does not exist.", getFileConfigId(), e);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRoot.java

            for (final WebResource possibleJar : possibleJars) {
                if (possibleJar.isFile() && possibleJar.getName().endsWith(".jar")) {
                    try (final JarFile jarFile = new JarFile(possibleJar.getCanonicalPath())) {
                        final Manifest manifest = jarFile.getManifest();
                        if (manifest != null && manifest.getEntries() != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/exbhv/GroupBhv.java

            }
            return indexName;
        }
    
        @Override
        protected <RESULT extends Group> RESULT createEntity(final Map<String, Object> source, final Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setName(DfTypeUtil.toString(source.get("name")));
                result.setAttributes(source.entrySet().stream().filter(e -> !"name".equals(e.getKey()))
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/converter/NumberConverter.java

            this.pattern = pattern;
        }
    
        @Override
        public Object getAsObject(final String value) {
            if (StringUtil.isEmpty(value)) {
                return null;
            }
            try {
                return new DecimalFormat(pattern).parse(value);
            } catch (final ParseException e) {
                throw new ParseRuntimeException(e);
            }
    
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. docs_src/sql_databases_peewee/sql_app/main.py

    app = FastAPI()
    
    sleep_time = 10
    
    
    async def reset_db_state():
        database.db._state._state.set(db_state_default.copy())
        database.db._state.reset()
    
    
    def get_db(db_state=Depends(reset_db_state)):
        try:
            database.db.connect()
            yield
        finally:
            if not database.db.is_closed():
                database.db.close()
    
    
    @app.post("/users/", response_model=schemas.User, dependencies=[Depends(get_db)])
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

        }
    
        @Override
        public int available() throws IOException {
            return fileInputStream.available();
        }
    
        @Override
        public void close() throws IOException {
            try {
                fileInputStream.close();
            } finally {
                FileUtil.deleteInBackground(tempFile);
            }
        }
    
        @Override
        public synchronized void mark(final int readlimit) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/DuplexTest.kt

        listener =
          object : RecordingEventListener() {
            override fun responseHeadersEnd(
              call: Call,
              response: Response,
            ) {
              try {
                // Wait for the server to send the duplex response before acting on the 301 response
                // and resetting the stream.
                duplexResponseSent.await()
              } catch (e: InterruptedException) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/Types.java

          ImmutableMap.Builder<String, Method> builder = ImmutableMap.builder();
          for (Method method : TypeVariableImpl.class.getMethods()) {
            if (method.getDeclaringClass().equals(TypeVariableImpl.class)) {
              try {
                method.setAccessible(true);
              } catch (AccessControlException e) {
                // OK: the method is accessible to us anyway. The setAccessible call is only for
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/timer/HotThreadMonitorTarget.java

            final int threads = fessConfig.getCrawlerHotthreadThreadsAsInteger();
            final String timeout = fessConfig.getCrawlerHotthreadTimeout();
            final String type = fessConfig.getCrawlerHotthreadType();
            try {
                final SearchEngineClient esClient = ComponentUtil.getSearchEngineClient();
                final NodesHotThreadsResponse response =
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top