@ Override public boolean isPersistent ( ) { final boolean isTraceOn = TraceComponent . isAnyTracingEnabled ( ) ; if ( isTraceOn && tc . isEntryEnabled ( ) ) Tr . entry ( tc , "isPersistent: " + this ) ; // Determine if the calling bean is in a state that allows timer service // method access - throws IllegalStateException if not allowed. checkTimerAccess ( ) ; // Determine if the timer still exists; configuration may allow stale data checkTimerExists ( ALLOW_CACHED_TIMER_IS_PERSISTENT ) ; if ( isTraceOn && tc . isEntryEnabled ( ) ) Tr . exit ( tc , "isPersistent: true" ) ; return true ; }
Query whether this timer has persistent semantics .