Package org.opendaylight.yangtools.util.concurrent
-
Interface Summary Interface Description ImmutableThreadFactoryProvider.BuildFinal ImmutableThreadFactoryProvider.LoggerBuildStage ImmutableThreadFactoryProvider.NamePrefixBuildStage NotificationManager<L,N> Interface for a class that manages queuing and dispatching notifications for multiple listeners.QueuedNotificationManager.BatchedInvoker<L,N> QueuedNotificationManagerMXBean MXBean interface forQueuedNotificationManager
statistic metrics. -
Class Summary Class Description AsyncNotifyingListenableFutureTask<V> AFutureTask
that also implements theListenableFuture
interface similar to guava'sListenableFutureTask
.AsyncNotifyingListeningExecutorService AnListeningExecutorService
implementation that also allows for anExecutor
to be specified on construction that is used to executeListenableFuture
callback Runnables, registered viaFutures.addCallback(com.google.common.util.concurrent.ListenableFuture<V>, com.google.common.util.concurrent.FutureCallback<? super V>, java.util.concurrent.Executor)
orListenableFuture.addListener(java.lang.Runnable, java.util.concurrent.Executor)
directly, asynchronously when a task that is run on this executor completes.CachedThreadPoolExecutor A ThreadPoolExecutor with a specified bounded queue capacity that favors reusing previously constructed threads, when they are available, over creating new threads.CountingRejectedExecutionHandler A RejectedExecutionHandler that delegates to a backing RejectedExecutionHandler and counts the number of rejected tasks.DeadlockDetectingListeningExecutorService An implementation of ListeningExecutorService that attempts to detect deadlock scenarios that could occur if clients invoke the returned Future'sget
methods synchronously.EqualityQueuedNotificationManager<L,N> ExceptionMapper<X extends Exception> Utility exception mapper which translates an Exception to a specified type of Exception.FastThreadPoolExecutor A ThreadPoolExecutor with a specified bounded queue capacity that favors creating new threads over queuing, as the former is faster.FluentFutures Utility methods for working withFluentFuture
s.IdentityQueuedNotificationManager<L,N> ImmutableThreadFactoryProvider Immutable implementation ofThreadFactoryProvider
.ImmutableThreadFactoryProvider.Builder Builds instances of typeImmutableThreadFactoryProvider
.ListenerNotificationQueueStats Class used by theQueuedNotificationManager
that contains a snapshot of notification queue statistics for a listener.LoggingThreadUncaughtExceptionHandler Deprecated, for removal: This API element is subject to removal in a future version. This class forms a hard dependency on SLF4J API and is therefore deprecated for removal.QueuedNotificationManager<L,N> This class manages queuing and dispatching notifications for multiple listeners concurrently.ReflectiveExceptionMapper<X extends Exception> ConvenienceExceptionMapper
which instantiates specified Exception using reflection.SpecialExecutors Factory methods for creatingExecutorService
instances with specific configurations.ThreadFactoryProvider Builder forThreadFactory
.TrackingLinkedBlockingQueue<E> ALinkedBlockingQueue
that tracks the largest queue size for debugging.