Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 85 for currentTimeMillis (0.09 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultImpl.java

        protected AccessResultData<IDTYPE> accessResultData;
    
        @Override
        public void init(final ResponseData responseData, final ResultData resultData) {
    
            setCreateTime(System.currentTimeMillis());
            if (responseData != null) {
                BeanUtil.copyBeanToBean(responseData, this);
            }
    
            final AccessResultData<IDTYPE> accessResultData = new AccessResultDataImpl<>();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            if( CACHE_POLICY == 0 ) {
                return;
            }
            long expiration = -1;
            if( CACHE_POLICY != FOREVER ) {
                expiration = System.currentTimeMillis() + CACHE_POLICY * 1000;
            }
            cacheAddress( hostName, addr, expiration );
        }
        static void cacheAddress( Name hostName, NbtAddress addr, long expiration ) {
            if( CACHE_POLICY == 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/transport/Transport.java

                long k = makeKey(curReq);
    
                if ( firstKey == 0 ) {
                    firstKey = k;
                }
    
                if ( timeout > 0 ) {
                    curResp.setExpiration(System.currentTimeMillis() + timeout);
                }
                else {
                    curResp.setExpiration(null);
                }
    
                curResp.setMid(k);
                this.response_map.put(k, curResp);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            } else {
                propertiesFile = file;
            }
            load();
        }
    
        public boolean isUpdated() {
            final long now = System.currentTimeMillis();
            if (now - lastChecked < checkInterval) {
                lastChecked = now;
                return false;
            }
            lastChecked = now;
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                    this.lastModified = synonymLoader.getLastModified();
                } else {
                    this.synonymLoader = null;
                    this.lastModified = System.currentTimeMillis();
                }
                synonymMap = synonymLoader.getSynonymMap();
                if (synonymMap != null && synonymMap.fst == null) {
                    this.synonymMap = null;
                }
            } else {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/KerberosTest.java

    
        @Test
        public void testSessionExpiration () throws Exception {
            Assume.assumeTrue(getContext().getConfig().getResolveOrder().contains(ResolverType.RESOLVER_DNS));
            long start = System.currentTimeMillis() / 1000 * 1000;
            // this is not too great as it depends on timing/clockskew
            // first we need to obtain a ticket, therefor need valid credentials
            // then we need to wait until the ticket is expired
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 11.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                        props.load(Channels.newInputStream(channel));
                    }
    
                    props.setProperty(key, Long.toString(System.currentTimeMillis()));
    
                    if (error != null) {
                        props.setProperty(key + ERROR_KEY_SUFFIX, error);
                    } else {
                        props.remove(key + ERROR_KEY_SUFFIX);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

                    + ",path=" + this.path + ",ttl=" + this.ttl + ",expiration=" + this.expiration + ",remain="
                    + ( this.expiration - System.currentTimeMillis() ) + "]";
        }
    
    
        /**
         * @return the ttl
         */
        public long getTtl () {
            return this.ttl;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 11K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Stopwatch.java

     * successive readings of "now" in the same process.
     *
     * <p>In contrast, <i>wall time</i> is a reading of "now" as given by a method like
     * {@link System#currentTimeMillis()}, best represented as an {@link java.time.Instant}. Such values
     * <i>can</i> be subtracted to obtain a {@code Duration} (such as by {@code Duration.between}), but
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

        private MessageBuilder builder() {
            return messageBuilderFactory.builder();
        }
    
        private void logStats(MavenSession session) {
            infoLine('-');
    
            long finish = System.currentTimeMillis();
    
            long time = finish - session.getRequest().getStartTime().getTime();
    
            String wallClock = session.getRequest().getDegreeOfConcurrency() > 1 ? " (Wall Clock)" : "";
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top