Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for currentTimeMillis (0.16 sec)

  1. src/main/java/org/codelibs/core/timer/TimeoutTask.java

            this.timeoutMillis = timeout * 1000L;
            this.permanent = permanent;
            this.startTime = System.currentTimeMillis();
        }
    
        /**
         * 期限切れかどうかを返します。
         *
         * @return 期限切れかどうか
         */
        public boolean isExpired() {
            return System.currentTimeMillis() >= startTime + timeoutMillis;
        }
    
        /**
         * 永続的かどうかを返します。
         *
         * @return 永続的かどうか
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.7K bytes
    - Viewed (0)
Back to top