Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for isExists (0.04 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFile.java

        public boolean exists() throws SmbException {
    
            if (attrExpiration > System.currentTimeMillis()) {
                return isExists;
            }
    
            attributes = ATTR_READONLY | ATTR_DIRECTORY;
            createTime = 0L;
            lastModified = 0L;
            isExists = false;
    
            try {
                if (url.getHost().length() == 0) {} else if (share == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

                log.trace("Using cached attributes (expires in {}ms)", this.attrExpiration - currentTime);
                return this.isExists;
            }
    
            // Fast path for already resolved existence with recent cache
            if (this.isExists && (currentTime - (this.attrExpiration - getContext().getConfig().getAttributeCacheTimeout())) < 5000) {
                log.trace("Using recent positive existence cache");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

            try {
                final IndicesExistsResponse response =
                        client.admin().indices().prepareExists(indexName).execute().actionGet(fessConfig.getIndexSearchTimeout());
                exists = response.isExists();
            } catch (final Exception e) {
                logger.debug("Failed to check {} index status.", indexName, e);
            }
            return exists;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        public void testIsExist() throws Exception {
            assertEquals("1", true, ResourceUtil.isExist("CLMessages.properties"));
            assertEquals("2", false, ResourceUtil.isExist("hoge"));
        }
    
        /**
         * @throws Exception
         */
        public void testGetExtension() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/ResourceUtil.java

         *            The resource path. Must not be {@literal null} or empty string.
         * @return {@literal true} if the resource exists
         * @see #getResourceNoException(String)
         */
        public static boolean isExist(final String path) {
            assertArgumentNotEmpty("path", path);
    
            return getResourceNoException(path) != null;
        }
    
        /**
         * Loads and returns a properties file from the context class loader.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
Back to top