Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isPermanent (0.13 sec)

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

                            }
                        } else {
                            logger.warn("Failed to process a task.", e);
                        }
                    }
                    if (task.isPermanent()) {
                        task.restart();
                    }
                });
            } catch (final Exception e) {
                logger.warn("Failed to process a task.", e);
            }
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/timer/TimeoutTask.java

        public boolean isExpired() {
            return System.currentTimeMillis() >= startTime + timeoutMillis;
        }
    
        /**
         * 永続的かどうかを返します。
         *
         * @return 永続的かどうか
         */
        public boolean isPermanent() {
            return permanent;
        }
    
        /**
         * キャンセルされているかどうかを返します。
         *
         * @return キャンセルされているか
         */
        public boolean isCanceled() {
            return status == CANCELED;
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top