public final class DelegatingSecurityContextScheduledExecutorService extends DelegatingSecurityContextExecutorService implements java.util.concurrent.ScheduledExecutorService
Runnable を DelegatingSecurityContextRunnable に、各 Callable を DelegatingSecurityContextCallable にラップする ScheduledExecutorService。| コンストラクターと説明 |
|---|
DelegatingSecurityContextScheduledExecutorService(java.util.concurrent.ScheduledExecutorService delegate)SecurityContextHolder から現在の SecurityContext を使用する新しい DelegatingSecurityContextScheduledExecutorService を作成します。 |
DelegatingSecurityContextScheduledExecutorService(java.util.concurrent.ScheduledExecutorService delegateScheduledExecutorService, SecurityContext securityContext) 指定された SecurityContext を使用する新しい DelegatingSecurityContextScheduledExecutorService を作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
<V> java.util.concurrent.ScheduledFuture<V> | schedule(java.util.concurrent.Callable<V> callable, long delay, java.util.concurrent.TimeUnit unit) |
java.util.concurrent.ScheduledFuture<?> | schedule(java.lang.Runnable command, long delay, java.util.concurrent.TimeUnit unit) |
java.util.concurrent.ScheduledFuture<?> | scheduleAtFixedRate(java.lang.Runnable command, long initialDelay, long period, java.util.concurrent.TimeUnit unit) |
java.util.concurrent.ScheduledFuture<?> | scheduleWithFixedDelay(java.lang.Runnable command, long initialDelay, long delay, java.util.concurrent.TimeUnit unit) |
protected <T> java.util.concurrent.Callable<T> | wrap(java.util.concurrent.Callable<T> delegate) |
protected java.lang.Runnable | wrap(java.lang.Runnable delegate) |
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submitexecute, getDelegateExecutorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic DelegatingSecurityContextScheduledExecutorService(java.util.concurrent.ScheduledExecutorService delegateScheduledExecutorService,
SecurityContext securityContext)SecurityContext を使用する新しい DelegatingSecurityContextScheduledExecutorService を作成します。delegateScheduledExecutorService - 委譲先の ScheduledExecutorService null にはできません。securityContext - 各 DelegatingSecurityContextRunnable および各 DelegatingSecurityContextCallable に使用する SecurityContextpublic DelegatingSecurityContextScheduledExecutorService(java.util.concurrent.ScheduledExecutorService delegate)
SecurityContextHolder から現在の SecurityContext を使用する新しい DelegatingSecurityContextScheduledExecutorService を作成します。delegate - 委譲先の ScheduledExecutorService null にはできません。public java.util.concurrent.ScheduledFuture<?> schedule(java.lang.Runnable command,
long delay,
java.util.concurrent.TimeUnit unit)java.util.concurrent.ScheduledExecutorService 内の schedule public <V> java.util.concurrent.ScheduledFuture<V> schedule(java.util.concurrent.Callable<V> callable,
long delay,
java.util.concurrent.TimeUnit unit)java.util.concurrent.ScheduledExecutorService 内の schedule public java.util.concurrent.ScheduledFuture<?> scheduleAtFixedRate(java.lang.Runnable command,
long initialDelay,
long period,
java.util.concurrent.TimeUnit unit)java.util.concurrent.ScheduledExecutorService 内の scheduleAtFixedRate public java.util.concurrent.ScheduledFuture<?> scheduleWithFixedDelay(java.lang.Runnable command,
long initialDelay,
long delay,
java.util.concurrent.TimeUnit unit)java.util.concurrent.ScheduledExecutorService 内の scheduleWithFixedDelay protected final java.lang.Runnable wrap(java.lang.Runnable delegate)
protected final <T> java.util.concurrent.Callable<T> wrap(java.util.concurrent.Callable<T> delegate)