A B C D E F G H I J K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractCheckedModule - Class in org.opendaylight.infrautils.inject.guice
-
Convenience Guice module support class with configure method that allows throwing checked exceptions, which are caught and re-thrown as unchecked
ModuleSetupRuntimeException
. - AbstractCheckedModule - Class in org.opendaylight.infrautils.inject.guice.testutils
-
Deprecated.Use org.opendaylight.infrautils.inject.guice.AbstractCheckedModule instead.
- AbstractCheckedModule() - Constructor for class org.opendaylight.infrautils.inject.guice.AbstractCheckedModule
- AbstractCheckedModule() - Constructor for class org.opendaylight.infrautils.inject.guice.testutils.AbstractCheckedModule
-
Deprecated.
- AbstractGuiceJsr250Module - Class in org.opendaylight.infrautils.inject.guice.testutils
-
Convenience Guice module support class, which installs the
AnnotationsModule
, and handles exceptions as theAbstractCheckedModule
does. - AbstractGuiceJsr250Module() - Constructor for class org.opendaylight.infrautils.inject.guice.testutils.AbstractGuiceJsr250Module
- AbstractIntegrationTest - Class in org.opendaylight.infrautils.itestutils
-
Integration Test base class.
- AbstractIntegrationTest() - Constructor for class org.opendaylight.infrautils.itestutils.AbstractIntegrationTest
- AbstractLifecycle - Class in org.opendaylight.infrautils.inject
-
Support class for
Lifecycle
. - AbstractLifecycle() - Constructor for class org.opendaylight.infrautils.inject.AbstractLifecycle
- AbstractMXBean - Class in org.opendaylight.infrautils.utils.management
-
This class is inspired from the original implementation in controller.
- AbstractMXBean(String, String, String) - Constructor for class org.opendaylight.infrautils.utils.management.AbstractMXBean
-
Constructor.
- AbstractProvider - Class in org.opendaylight.infrautils.caches.baseimpl
-
Base class of CacheProvider, useful for API implementors (not users).
- AbstractProvider(CacheManagersRegistry) - Constructor for class org.opendaylight.infrautils.caches.baseimpl.AbstractProvider
- accept(T) - Method in interface org.opendaylight.infrautils.utils.function.CheckedConsumer
- accept(T) - Method in interface org.opendaylight.infrautils.utils.function.InterruptibleCheckedConsumer
- accept(T, U) - Method in interface org.opendaylight.infrautils.utils.function.CheckedBiConsumer
-
Performs this operation on the given arguments.
- acceptEither(CompletionStage<? extends T>, Consumer<? super T>) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- acceptEitherAsync(CompletionStage<? extends T>, Consumer<? super T>) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- acceptEitherAsync(CompletionStage<? extends T>, Consumer<? super T>, Executor) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- acquire() - Method in class org.opendaylight.infrautils.utils.concurrent.NamedSimpleReentrantLock
-
Acquires the lock.
- acquire(T) - Method in class org.opendaylight.infrautils.utils.concurrent.NamedLocks
-
Acquires the lock for the given key.
- AcquireResult() - Constructor for class org.opendaylight.infrautils.utils.concurrent.NamedSimpleReentrantLock.AcquireResult
- acquireServiceStatus() - Method in interface org.opendaylight.infrautils.diagstatus.DiagStatusServiceMBean
- acquireServiceStatus() - Method in class org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceMBeanImpl
- acquireServiceStatusAsJSON() - Method in interface org.opendaylight.infrautils.diagstatus.DiagStatusServiceMBean
- acquireServiceStatusAsJSON() - Method in class org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceMBeanImpl
- acquireServiceStatusAsJSON(String) - Method in interface org.opendaylight.infrautils.diagstatus.DiagStatusServiceMBean
-
Deprecated.
- acquireServiceStatusAsJSON(String) - Method in class org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceMBeanImpl
-
Deprecated.
- acquireServiceStatusBrief() - Method in interface org.opendaylight.infrautils.diagstatus.DiagStatusServiceMBean
- acquireServiceStatusBrief() - Method in class org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceMBeanImpl
- acquireServiceStatusDetailed() - Method in interface org.opendaylight.infrautils.diagstatus.DiagStatusServiceMBean
- acquireServiceStatusDetailed() - Method in class org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceMBeanImpl
- acquireServiceStatusMap() - Method in interface org.opendaylight.infrautils.diagstatus.DiagStatusServiceMBean
- acquireServiceStatusMap() - Method in class org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceMBeanImpl
- ACTIVE - org.opendaylight.infrautils.ready.SystemState
- addEntry(JobEntry) - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobQueue
- addErrorLogging(FluentFuture<V>, Logger, String) - Static method in class org.opendaylight.infrautils.utils.concurrent.LoggingFutures
-
Adds a callback to a ListenableFuture which logs any failures.
- addErrorLogging(FluentFuture<V>, Logger, String, Object) - Static method in class org.opendaylight.infrautils.utils.concurrent.LoggingFutures
-
Adds a callback to a ListenableFuture which logs any failures.
- addErrorLogging(FluentFuture<V>, Logger, String, Object...) - Static method in class org.opendaylight.infrautils.utils.concurrent.LoggingFutures
-
Adds a callback to a FluentFuture which logs any failures.
- addErrorLogging(ListenableFuture<V>, Logger, String) - Static method in class org.opendaylight.infrautils.utils.concurrent.ListenableFutures
-
Deprecated.
- addErrorLogging(ListenableFuture<V>, Logger, String) - Static method in class org.opendaylight.infrautils.utils.concurrent.LoggingFutures
-
Adds a callback to a ListenableFuture which logs any failures.
- addErrorLogging(ListenableFuture<V>, Logger, String, Object) - Static method in class org.opendaylight.infrautils.utils.concurrent.ListenableFutures
-
Deprecated.
- addErrorLogging(ListenableFuture<V>, Logger, String, Object) - Static method in class org.opendaylight.infrautils.utils.concurrent.LoggingFutures
-
Adds a callback to a ListenableFuture which logs any failures.
- addErrorLogging(ListenableFuture<V>, Logger, String, Object...) - Static method in class org.opendaylight.infrautils.utils.concurrent.ListenableFutures
-
Deprecated.
- addErrorLogging(ListenableFuture<V>, Logger, String, Object...) - Static method in class org.opendaylight.infrautils.utils.concurrent.LoggingFutures
-
Adds a callback to a ListenableFuture which logs any failures.
- addErrorLogging(Future<V>, Logger, String) - Static method in class org.opendaylight.infrautils.utils.concurrent.JdkFutures
-
Deprecated.
- addErrorLogging(Future<V>, Logger, String) - Static method in class org.opendaylight.infrautils.utils.concurrent.LoggingFutures
-
Adds a callback to a Future which logs any failures.
- addErrorLogging(Future<V>, Logger, String, Object) - Static method in class org.opendaylight.infrautils.utils.concurrent.JdkFutures
-
Deprecated.
- addErrorLogging(Future<V>, Logger, String, Object) - Static method in class org.opendaylight.infrautils.utils.concurrent.LoggingFutures
-
Adds a callback to a Future which logs any failures.
- addErrorLogging(Future<V>, Logger, String, Object...) - Static method in class org.opendaylight.infrautils.utils.concurrent.JdkFutures
- addErrorLogging(Future<V>, Logger, String, Object...) - Static method in class org.opendaylight.infrautils.utils.concurrent.LoggingFutures
-
Adds a callback to a ListenableFuture which logs any failures.
- addRow(Object...) - Method in class org.opendaylight.infrautils.utils.TablePrinter
- anchor() - Method in class org.opendaylight.infrautils.caches.BaseCacheConfig
-
Instance of the class "containing" this Cache.
- anchor() - Method in class org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor
-
Instance of the class "containing" this Metric.
- anchor() - Method in class org.opendaylight.infrautils.metrics.MetricDescriptor
-
Instance of the class "containing" this Metric.
- anchor(Object) - Method in class org.opendaylight.infrautils.caches.CacheConfigBuilder
-
Initializes the value for the
anchor
attribute. - anchor(Object) - Method in class org.opendaylight.infrautils.caches.CheckedCacheConfigBuilder
-
Initializes the value for the
anchor
attribute. - anchor(Object) - Method in interface org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor.AnchorBuildStage
-
Initializes the value for the
anchor
attribute. - anchor(Object) - Method in class org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor.Builder
-
Initializes the value for the
anchor
attribute. - AnnotationsModule - Class in org.opendaylight.infrautils.inject.guice.testutils
-
Guice module with built-in Mycila Guice Extensions for JSR-250 & Closeable support for @PreDestroy & @PostConstruct.
- AnnotationsModule() - Constructor for class org.opendaylight.infrautils.inject.guice.testutils.AnnotationsModule
- apply(List<ListenableFuture<Void>>) - Method in interface org.opendaylight.infrautils.jobcoordinator.RollbackCallable
-
Roll back the transaction which led to the provided failed futures (futures resulting from the failed operation — the futures themselves aren't necessarily failed).
- apply(Statement, Description) - Method in class org.opendaylight.infrautils.testutils.ClasspathHellDuplicatesCheckRule
- apply(Statement, Description) - Method in class org.opendaylight.infrautils.testutils.LogCaptureRule
- apply(Statement, Description) - Method in class org.opendaylight.infrautils.testutils.LogRule
- apply(Statement, Description) - Method in class org.opendaylight.infrautils.testutils.RunUntilFailureClassRule
- apply(Statement, Description) - Method in class org.opendaylight.infrautils.testutils.RunUntilFailureRule
- apply(Statement, FrameworkMethod, Object) - Method in class org.opendaylight.infrautils.inject.guice.testutils.GuiceRule
- apply(T) - Method in interface org.opendaylight.infrautils.utils.function.CheckedFunction
- apply(T) - Method in interface org.opendaylight.infrautils.utils.function.InterruptibleCheckedFunction
- applyToEither(CompletionStage<? extends T>, Function<? super T, U>) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- applyToEitherAsync(CompletionStage<? extends T>, Function<? super T, U>) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- applyToEitherAsync(CompletionStage<? extends T>, Function<? super T, U>, Executor) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- asMap() - Method in interface org.opendaylight.infrautils.caches.BaseCache
-
Returns a view of the entries stored in this cache as an immutable map.
- asMap() - Method in class org.opendaylight.infrautils.caches.baseimpl.DelegatingNullSafeBaseCache
- Asserts - Class in org.opendaylight.infrautils.testutils
-
Deprecated, for removal: This API element is subject to removal in a future version.JUnit 4.13 ships with a working
Asserts.assertThrows(Class, JUnitExecutable)
, so there is no point shipping this class. - Asserts.JUnitExecutable - Interface in org.opendaylight.infrautils.testutils
-
Deprecated, for removal: This API element is subject to removal in a future version.
- assertThrows(Class<T>, Asserts.JUnitExecutable) - Static method in class org.opendaylight.infrautils.testutils.Asserts
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Assert.assertThrows(Class, org.junit.function.ThrowingRunnable)
instead. - AutoWiringModule - Class in org.opendaylight.infrautils.inject.guice
-
Guice Module with classpath scanning based autowiring.
- AutoWiringModule(GuiceClassPathBinder, String) - Constructor for class org.opendaylight.infrautils.inject.guice.AutoWiringModule
- await(CompletionStage<T>, long, TimeUnit) - Static method in class org.opendaylight.infrautils.testutils.concurrent.CompletionStageTestAwaiter
-
Await a configurable amount of time for the CompletionStage argument to complete.
- await500ms(CompletionStage<T>) - Static method in class org.opendaylight.infrautils.testutils.concurrent.CompletionStageTestAwaiter
-
Await max.
- AwaitableExecutorService - Class in org.opendaylight.infrautils.testutils.concurrent
-
Executable service wrapper allowing callers to await completion.
- AwaitableExecutorService(ExecutorService) - Constructor for class org.opendaylight.infrautils.testutils.concurrent.AwaitableExecutorService
-
Create a new wrapper for the given
ExecutorService
, adding the ability to wait for job completion. - awaitCompletion(long, TimeUnit) - Method in class org.opendaylight.infrautils.testutils.concurrent.AwaitableExecutorService
-
Wait for completion: this method will wait until all submitted jobs have completed, subject to the provided timeout.
- awaitEmpty(Queue<?>, long, TimeUnit) - Static method in class org.opendaylight.infrautils.testutils.concurrent.TestableQueues
-
Await for a
Queue
to be empty.
B
- BadCacheFunctionRuntimeException - Exception in org.opendaylight.infrautils.caches
-
Exception thrown when a
CacheFunction
returns a null value, which it never should. - BadCacheFunctionRuntimeException(String) - Constructor for exception org.opendaylight.infrautils.caches.BadCacheFunctionRuntimeException
- BadCacheFunctionRuntimeException(String, Throwable) - Constructor for exception org.opendaylight.infrautils.caches.BadCacheFunctionRuntimeException
- BASE_JMX_PREFIX - Static variable in class org.opendaylight.infrautils.utils.management.AbstractMXBean
- BaseCache<K,V> - Interface in org.opendaylight.infrautils.caches
-
Base class for
Cache
andCheckedCache
. - BaseCacheConfig - Class in org.opendaylight.infrautils.caches
-
Base class for
CacheConfig
andCheckedCacheConfig
. - BaseCacheConfig() - Constructor for class org.opendaylight.infrautils.caches.BaseCacheConfig
- BaseProvider - Class in org.opendaylight.infrautils.caches.baseimpl
-
Minimal implementation of CacheProvider.
- BaseProvider() - Constructor for class org.opendaylight.infrautils.caches.baseimpl.BaseProvider
- bindAllSingletons(String, Binder) - Method in class org.opendaylight.infrautils.inject.guice.GuiceClassPathBinder
-
Binds all
Singleton
annotated classes discovered by scanning the class path to all their interfaces. - bindAllSingletons(String, BiConsumer<Class, Class>, Consumer<Class>) - Method in class org.opendaylight.infrautils.inject.ClassPathScanner
-
Binds all
Singleton
annotated classes discovered by scanning the class path to all their interfaces. - bindTypesToInstance(Class<T>, Class<? extends T>, T) - Method in class org.opendaylight.infrautils.inject.guice.testutils.AbstractGuiceJsr250Module
-
Binds instance to both the interfaceClass as well as the implementationClass.
- BOOTING - org.opendaylight.infrautils.ready.SystemState
- build() - Method in class org.opendaylight.infrautils.caches.CacheConfigBuilder
-
Builds a new
CacheConfig
. - build() - Method in class org.opendaylight.infrautils.caches.CachePolicyBuilder
-
Builds a new
CachePolicy
. - build() - Method in class org.opendaylight.infrautils.caches.CheckedCacheConfigBuilder
-
Builds a new
CheckedCacheConfig
. - build() - Method in class org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor.Builder
-
Builds a new
ImmutableMetricDescriptor
. - build() - Method in interface org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor.BuildFinal
-
Builds a new
ImmutableMetricDescriptor
. - build() - Method in class org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider.Builder
-
Builds a new
ImmutableThreadFactoryProvider
. - build() - Method in interface org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider.BuildFinal
-
Builds a new
ImmutableThreadFactoryProvider
. - builder() - Static method in class org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor
-
Creates a builder for
ImmutableMetricDescriptor
. - builder() - Static method in class org.opendaylight.infrautils.metrics.MetricDescriptor
- builder() - Static method in class org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider
-
Creates a builder for
ImmutableThreadFactoryProvider
. - builder() - Static method in class org.opendaylight.infrautils.utils.concurrent.ThreadFactoryProvider
C
- Cache<K,V> - Interface in org.opendaylight.infrautils.caches
-
Cache of keys to values.
- CacheClearCommand - Class in org.opendaylight.infrautils.caches.cli
-
CLI "cache:clear" command.
- CacheClearCommand() - Constructor for class org.opendaylight.infrautils.caches.cli.CacheClearCommand
- CacheConfig<K,V> - Class in org.opendaylight.infrautils.caches
-
Configuration of a
Cache
. - CacheConfig() - Constructor for class org.opendaylight.infrautils.caches.CacheConfig
- CacheConfigBuilder<K,V> - Class in org.opendaylight.infrautils.caches
-
Builds instances of type
CacheConfig
. - CacheConfigBuilder() - Constructor for class org.opendaylight.infrautils.caches.CacheConfigBuilder
-
Creates a builder for
CacheConfig
instances. - cacheFunction() - Method in class org.opendaylight.infrautils.caches.CacheConfig
-
Function used to obtain values of this Cache, given a key.
- cacheFunction() - Method in class org.opendaylight.infrautils.caches.CheckedCacheConfig
-
Function used to obtain values of this Cache, given a key.
- cacheFunction(CacheFunction<K, V>) - Method in class org.opendaylight.infrautils.caches.CacheConfigBuilder
-
Initializes the value for the
cacheFunction
attribute. - cacheFunction(CheckedCacheFunction<K, V, E>) - Method in class org.opendaylight.infrautils.caches.CheckedCacheConfigBuilder
-
Initializes the value for the
cacheFunction
attribute. - CacheFunction<K,V> - Interface in org.opendaylight.infrautils.caches
-
Cache
's Function. - CacheListCommand - Class in org.opendaylight.infrautils.caches.cli
-
CLI "cache:list" command.
- CacheListCommand() - Constructor for class org.opendaylight.infrautils.caches.cli.CacheListCommand
- CacheManager - Interface in org.opendaylight.infrautils.caches
-
Manage a Cache.
- CacheManagers - Interface in org.opendaylight.infrautils.caches
-
Service to monitor all registered known caches.
- CacheManagersRegistry - Interface in org.opendaylight.infrautils.caches.baseimpl
-
Service Provider (Cache implementor) hook.
- CacheManagersRegistryImpl - Class in org.opendaylight.infrautils.caches.baseimpl.internal
-
Implementation of CachesMonitor.
- CacheManagersRegistryImpl() - Constructor for class org.opendaylight.infrautils.caches.baseimpl.internal.CacheManagersRegistryImpl
- CacheModule - Class in org.opendaylight.infrautils.caches.testutils
-
Guice Module for tests requiring a CacheProvider.
- CacheModule() - Constructor for class org.opendaylight.infrautils.caches.testutils.CacheModule
- CacheModule(Class<? extends CacheProvider>) - Constructor for class org.opendaylight.infrautils.caches.testutils.CacheModule
- CachePolicy - Interface in org.opendaylight.infrautils.caches
-
Policy of a
Cache
(orCheckedCache
). - CachePolicyBuilder - Class in org.opendaylight.infrautils.caches
-
Builds instances of type
CachePolicy
. - CachePolicyBuilder() - Constructor for class org.opendaylight.infrautils.caches.CachePolicyBuilder
-
Creates a builder for
CachePolicy
instances. - CachePolicyCommand - Class in org.opendaylight.infrautils.caches.cli
-
CLI "cache:policy cacheID policyKey policyValue" command.
- CachePolicyCommand() - Constructor for class org.opendaylight.infrautils.caches.cli.CachePolicyCommand
- CacheProvider - Interface in org.opendaylight.infrautils.caches
-
Provider (AKA factory) of
Cache
s. - CacheStats - Interface in org.opendaylight.infrautils.caches
-
Statistics about a Cache.
- call() - Method in interface org.opendaylight.infrautils.utils.function.CheckedCallable
- call(Callable<V>, ClassLoader) - Static method in class org.opendaylight.infrautils.utils.ClassLoaders
- call(CheckedCallable<V, E>, ClassLoader) - Static method in class org.opendaylight.infrautils.utils.ClassLoaders
- check() - Method in class org.opendaylight.infrautils.caches.BaseCacheConfig
-
Validates this cache configuration.
- check() - Method in class org.opendaylight.infrautils.metrics.MetricDescriptor
- check(String, Pattern) - Static method in class org.opendaylight.infrautils.utils.types.IDs
-
Validate that ID matches regexp Pattern passed as argument.
- checkClasspath() - Method in class org.opendaylight.infrautils.testutils.ClasspathHellDuplicatesCheckRule
- CheckedBiConsumer<T,U,E extends Exception> - Interface in org.opendaylight.infrautils.utils.function
-
Represents an operation that accepts two input arguments and returns no result, but can throw a checked exception.
- CheckedCache<K,V,E extends Exception> - Interface in org.opendaylight.infrautils.caches
-
Cache of keys to values, for cache function which may throw a checked exception.
- CheckedCacheConfig<K,V,E extends Exception> - Class in org.opendaylight.infrautils.caches
-
Configuration of a
CheckedCache
. - CheckedCacheConfig() - Constructor for class org.opendaylight.infrautils.caches.CheckedCacheConfig
- CheckedCacheConfigBuilder<K,V,E extends Exception> - Class in org.opendaylight.infrautils.caches
-
Builds instances of type
CheckedCacheConfig
. - CheckedCacheConfigBuilder() - Constructor for class org.opendaylight.infrautils.caches.CheckedCacheConfigBuilder
-
Creates a builder for
CheckedCacheConfig
instances. - CheckedCacheFunction<K,V,E extends Exception> - Interface in org.opendaylight.infrautils.caches
-
CheckedCache
's Function, can throw checked Exception. - CheckedCallable<V,E extends Exception> - Interface in org.opendaylight.infrautils.utils.function
- checkedConfigure() - Method in class org.opendaylight.infrautils.inject.guice.AbstractCheckedModule
- checkedConfigure() - Method in class org.opendaylight.infrautils.inject.guice.AutoWiringModule
- checkedConfigure() - Method in class org.opendaylight.infrautils.inject.guice.testutils.AbstractCheckedModule
-
Deprecated.
- checkedConfigure() - Method in class org.opendaylight.infrautils.inject.guice.testutils.AbstractGuiceJsr250Module
- CheckedConsumer<T,E extends Exception> - Interface in org.opendaylight.infrautils.utils.function
-
Consumer
which can throw a checked exception. - CheckedFunction<T,R,E extends Exception> - Interface in org.opendaylight.infrautils.utils.function
-
Function
which can throw a checked exception. - checkedGet(ListenableFuture<V>, Function<? super Exception, E>) - Static method in class org.opendaylight.infrautils.utils.concurrent.ListenableFutures
- checkedGet(ListenableFuture<V>, Function<? super Exception, E>, long, TimeUnit) - Static method in class org.opendaylight.infrautils.utils.concurrent.ListenableFutures
- CheckedRunnable<E extends Exception> - Interface in org.opendaylight.infrautils.utils.function
-
Functional interface similar to
Runnable
(but not technically extending Runnable, because it cannot; and doesn't have to) which can throw a generically parameterized type of checked exception. - checkIsRunning() - Method in class org.opendaylight.infrautils.inject.AbstractLifecycle
- checkNonNullKeys(Iterable<K>) - Static method in class org.opendaylight.infrautils.caches.baseimpl.DelegatingNullSafeBaseCache
- checkOnlyAZ09(String) - Static method in class org.opendaylight.infrautils.utils.types.IDs
-
Validate that ID matches regular expression
[a-zA-Z][a-zA-Z0-9]*
(upper or lower case letter or digits, but not start with digit, no dots). - checkOnlyAZ09Dot(String) - Static method in class org.opendaylight.infrautils.utils.types.IDs
-
Validate that ID matches regular expression
[a-zA-Z0-9][a-zA-Z0-9.]*
(dots allowed, but not starting with). - checkOnlyAZ09Underscore(String) - Static method in class org.opendaylight.infrautils.utils.types.IDs
-
Validate that ID matches regular expression
[a-zA-Z][a-zA-Z0-9_]*
(underscores allowed, but not starting with; no dots). - checkOnlyLowercaseAZ09(String) - Static method in class org.opendaylight.infrautils.utils.types.IDs
-
Validate that ID matches regular expression
[a-z][a-z0-9]*
(lower case letter or digits, but not start with digit, no dots). - checkReturnValue(ImmutableMap<K, V>) - Static method in class org.opendaylight.infrautils.caches.baseimpl.DelegatingNullSafeBaseCache
- checkReturnValue(K, V) - Static method in class org.opendaylight.infrautils.caches.baseimpl.DelegatingNullSafeBaseCache
- ClassLoaders - Class in org.opendaylight.infrautils.utils
-
Utilities related to
ClassLoader
. - classPathBinder - Variable in class org.opendaylight.infrautils.inject.guice.AutoWiringModule
- ClasspathHellDuplicatesChecker - Class in org.opendaylight.infrautils.testutils
-
Check classpath for duplicates.
- ClasspathHellDuplicatesChecker() - Constructor for class org.opendaylight.infrautils.testutils.ClasspathHellDuplicatesChecker
- ClasspathHellDuplicatesCheckRule - Class in org.opendaylight.infrautils.testutils
-
JUnit Rule to run detect duplicate entries on the classpath.
- ClasspathHellDuplicatesCheckRule() - Constructor for class org.opendaylight.infrautils.testutils.ClasspathHellDuplicatesCheckRule
- ClasspathHellDuplicatesCheckRule(ClasspathHellDuplicatesChecker) - Constructor for class org.opendaylight.infrautils.testutils.ClasspathHellDuplicatesCheckRule
- ClassPathScanner - Class in org.opendaylight.infrautils.inject
-
Class path scanner designed to be used with Guice.
- ClassPathScanner(String) - Constructor for class org.opendaylight.infrautils.inject.ClassPathScanner
-
Create a class path scanner, scanning packages with the given prefix for @Singleton annotated classes.
- close() - Method in class org.opendaylight.infrautils.caches.baseimpl.DelegatingNullSafeBaseCache
- close() - Method in class org.opendaylight.infrautils.caches.sample.SampleServiceWithCachingImpl
- close() - Method in class org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceMBeanImpl
- close() - Method in class org.opendaylight.infrautils.diagstatus.web.OsgiWebInitializer
- close() - Method in class org.opendaylight.infrautils.metrics.internal.MetricProviderImpl
- close() - Method in class org.opendaylight.infrautils.metrics.prometheus.impl.OsgiWebInitializer
- close() - Method in class org.opendaylight.infrautils.metrics.prometheus.impl.PrometheusMetricProviderImpl
- close() - Method in class org.opendaylight.infrautils.metrics.sample.MetricsExample
- close() - Method in class org.opendaylight.infrautils.testutils.web.TestWebServer
- close() - Method in class org.opendaylight.infrautils.utils.concurrent.NamedSimpleReentrantLock.Acquired
- close() - Method in class org.opendaylight.infrautils.utils.concurrent.NamedSimpleReentrantLock.AcquireResult
-
Revert the lock operation.
- close() - Method in interface org.opendaylight.infrautils.utils.UncheckedCloseable
- ClusterMemberInfo - Interface in org.opendaylight.infrautils.diagstatus
-
ODL cluster information.
- ClusterMemberInfoImpl - Class in org.opendaylight.infrautils.diagstatus.internal
-
Implementation of
ClusterMemberInfo
service using the JMX MBeans exposed by Akka framework used in ODL controller. - ClusterMemberInfoImpl() - Constructor for class org.opendaylight.infrautils.diagstatus.internal.ClusterMemberInfoImpl
- CollectorRegistrySingleton - Class in org.opendaylight.infrautils.metrics.prometheus.impl
-
Provides the Prometheus Client CollectorRegistry.
- CollectorRegistrySingleton() - Constructor for class org.opendaylight.infrautils.metrics.prometheus.impl.CollectorRegistrySingleton
- CompletableFutures - Class in org.opendaylight.infrautils.utils.concurrent
-
Utilities for
CompletableFuture
. - completedExceptionally(Throwable) - Static method in class org.opendaylight.infrautils.utils.concurrent.CompletableFutures
-
Return an immediately exceptional completed CompletableFuture.
- completedExceptionally(Throwable) - Static method in class org.opendaylight.infrautils.utils.concurrent.CompletionStages
-
Return an immediately exceptional completed CompletionStage.
- CompletionStages - Class in org.opendaylight.infrautils.utils.concurrent
-
Utilities for
CompletionStage
. - CompletionStageTestAwaiter<T> - Class in org.opendaylight.infrautils.testutils.concurrent
-
Test utility to await the completion of a
CompletionStage
. - CompletionStageWrapper<T> - Class in org.opendaylight.infrautils.utils.concurrent
-
CompletionStage
wrapper which hides the implementation (e.g. - config() - Method in class org.opendaylight.infrautils.itestutils.AbstractIntegrationTest
- Configuration - Class in org.opendaylight.infrautils.metrics.internal
-
Configuration properties for the metrics implementation.
- Configuration(MetricProviderImpl) - Constructor for class org.opendaylight.infrautils.metrics.internal.Configuration
- Configuration(MetricProviderImpl, Map<String, String>) - Constructor for class org.opendaylight.infrautils.metrics.internal.Configuration
- configure() - Method in class org.opendaylight.infrautils.caches.testutils.CacheModule
- configure() - Method in class org.opendaylight.infrautils.inject.guice.AbstractCheckedModule
-
Configures a
Binder
via the exposed methods. - configure() - Method in class org.opendaylight.infrautils.inject.guice.testutils.AbstractCheckedModule
-
Deprecated.Configures a
Binder
via the exposed methods. - configure() - Method in class org.opendaylight.infrautils.inject.guice.testutils.AnnotationsModule
- configure() - Method in class org.opendaylight.infrautils.ready.guice.ReadyModule
- configureBindings() - Method in class org.opendaylight.infrautils.inject.guice.testutils.AbstractGuiceJsr250Module
- configureMore() - Method in class org.opendaylight.infrautils.inject.guice.AutoWiringModule
- copyOf(MetricDescriptor) - Static method in class org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor
-
Creates an immutable copy of a
MetricDescriptor
value. - copyOf(ThreadFactoryProvider) - Static method in class org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider
-
Creates an immutable copy of a
ThreadFactoryProvider
value. - Counter - Interface in org.opendaylight.infrautils.metrics
-
Counter metric, which is a simple incrementing and decrementing number.
- createFile(int, int) - Method in class org.opendaylight.infrautils.metrics.internal.MetricsFileReporter
- createName(String, String, String) - Method in class org.opendaylight.infrautils.metrics.internal.CustomObjectNameFactory
- currentID() - Static method in class org.opendaylight.infrautils.utils.mdc.ExecutionOrigin
-
Returns the current origin ID.
- CustomObjectNameFactory - Class in org.opendaylight.infrautils.metrics.internal
-
Custom transformer of String Metric ID to JMX ObjectName.
- CustomObjectNameFactory() - Constructor for class org.opendaylight.infrautils.metrics.internal.CustomObjectNameFactory
D
- daemon() - Method in class org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider
-
Daemon or not for new threads created via this factory.
- daemon() - Method in class org.opendaylight.infrautils.utils.concurrent.ThreadFactoryProvider
-
Daemon or not for new threads created via this factory.
- daemon(boolean) - Method in class org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider.Builder
-
Initializes the value for the
daemon
attribute. - daemon(boolean) - Method in interface org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider.BuildFinal
-
Initializes the value for the
daemon
attribute. - decrement() - Method in interface org.opendaylight.infrautils.metrics.Counter
- decrement(long) - Method in interface org.opendaylight.infrautils.metrics.Counter
- DEFAULT_MAX_RETRIES - Static variable in interface org.opendaylight.infrautils.jobcoordinator.JobCoordinator
- DEFAULT_STAGE - Static variable in class org.opendaylight.infrautils.inject.guice.testutils.GuiceRule
-
Default Stage PRODUCTION.
- DEFAULT_TIMEOUT_FOR_SHUTDOWN - Static variable in class org.opendaylight.infrautils.utils.concurrent.Executors
- DEFAULT_TIMEOUT_UNIT_FOR_SHUTDOWN - Static variable in class org.opendaylight.infrautils.utils.concurrent.Executors
- delegate() - Method in class org.opendaylight.infrautils.caches.baseimpl.DelegatingNullSafeBaseCache
- delegate() - Method in class org.opendaylight.infrautils.caches.baseimpl.DelegatingNullSafeCache
- delegate() - Method in class org.opendaylight.infrautils.caches.baseimpl.DelegatingNullSafeCheckedCache
- delegate() - Method in class org.opendaylight.infrautils.testutils.concurrent.AwaitableExecutorService
- DelegatingNullSafeBaseCache<K,V> - Class in org.opendaylight.infrautils.caches.baseimpl
- DelegatingNullSafeBaseCache() - Constructor for class org.opendaylight.infrautils.caches.baseimpl.DelegatingNullSafeBaseCache
- DelegatingNullSafeCache<K,V> - Class in org.opendaylight.infrautils.caches.baseimpl
-
Cache with null handling, useful for API implementors (not users).
- DelegatingNullSafeCache(Cache<K, V>) - Constructor for class org.opendaylight.infrautils.caches.baseimpl.DelegatingNullSafeCache
- DelegatingNullSafeCheckedCache<K,V,E extends Exception> - Class in org.opendaylight.infrautils.caches.baseimpl
-
Cache with null handling, useful for API implementors (not users).
- DelegatingNullSafeCheckedCache(CheckedCache<K, V, E>) - Constructor for class org.opendaylight.infrautils.caches.baseimpl.DelegatingNullSafeCheckedCache
- DelegatingSystemReadyMonitorMXBean - Class in org.opendaylight.infrautils.ready.spi
-
SystemReadyMonitorMXBean implementation.
- DelegatingSystemReadyMonitorMXBean(SystemReadyMonitorMXBean) - Constructor for class org.opendaylight.infrautils.ready.spi.DelegatingSystemReadyMonitorMXBean
- DELETE - org.opendaylight.infrautils.testutils.web.TestWebClient.Method
- description() - Method in class org.opendaylight.infrautils.caches.BaseCacheConfig
-
Human readable 1 line description of this Cache.
- description() - Method in class org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor
-
Human readable description of the Metric.
- description() - Method in class org.opendaylight.infrautils.metrics.MetricDescriptor
-
Human readable description of the Metric.
- description(String) - Method in class org.opendaylight.infrautils.caches.CacheConfigBuilder
-
Initializes the value for the
description
attribute. - description(String) - Method in class org.opendaylight.infrautils.caches.CheckedCacheConfigBuilder
-
Initializes the value for the
description
attribute. - description(String) - Method in class org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor.Builder
-
Initializes the value for the
description
attribute. - description(String) - Method in interface org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor.BuildFinal
-
Initializes the value for the
description
attribute. - deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class org.opendaylight.infrautils.diagstatus.InstantDeserializer
- destroy() - Method in class org.opendaylight.infrautils.inject.AbstractLifecycle
-
Please implement
AbstractLifecycle.stop()
instead of overriding this (here intentionally final) method. - destroy() - Method in interface org.opendaylight.infrautils.inject.Lifecycle
-
Destroy the object.
- destroy() - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobCoordinatorImpl
- DiagStatusCommand - Class in org.opendaylight.infrautils.diagstatus.shell
-
CLI for showing registered service status.
- DiagStatusCommand(DiagStatusServiceMBean, ClusterMemberInfo, HttpClientService) - Constructor for class org.opendaylight.infrautils.diagstatus.shell.DiagStatusCommand
- DiagStatusService - Interface in org.opendaylight.infrautils.diagstatus
-
DiagStatus ServiceDescriptor which lets users register/retrieve for particular service status details.
- DiagStatusServiceImpl - Class in org.opendaylight.infrautils.diagstatus.internal
-
DiagStatusServiceImpl is the core class having the functionality for tracking the registered services and aggregating the status of the same.
- DiagStatusServiceImpl(List<ServiceStatusProvider>, SystemReadyMonitor) - Constructor for class org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceImpl
- DiagStatusServiceMBean - Interface in org.opendaylight.infrautils.diagstatus
-
DiagStatus MBean Operations.
- DiagStatusServiceMBeanImpl - Class in org.opendaylight.infrautils.diagstatus.internal
- DiagStatusServiceMBeanImpl(DiagStatusService, SystemReadyMonitor) - Constructor for class org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceMBeanImpl
- DiagStatusServlet - Class in org.opendaylight.infrautils.diagstatus.web
-
Web Servlet for diagstatus which returns JSON and HTTP status code.
- DiagStatusServlet(DiagStatusService) - Constructor for class org.opendaylight.infrautils.diagstatus.web.DiagStatusServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.opendaylight.infrautils.diagstatus.web.DiagStatusServlet
E
- enqueueJob(String, Callable<List<ListenableFuture<Void>>>) - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobCoordinatorImpl
- enqueueJob(String, Callable<List<ListenableFuture<Void>>>) - Method in interface org.opendaylight.infrautils.jobcoordinator.JobCoordinator
-
Enqueues a job with DEFAULT_MAX_RETRIES (3) retries.
- enqueueJob(String, Callable<List<ListenableFuture<Void>>>, int) - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobCoordinatorImpl
- enqueueJob(String, Callable<List<ListenableFuture<Void>>>, int) - Method in interface org.opendaylight.infrautils.jobcoordinator.JobCoordinator
-
Enqueues a job with max retries.
- enqueueJob(String, Callable<List<ListenableFuture<Void>>>, RollbackCallable) - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobCoordinatorImpl
- enqueueJob(String, Callable<List<ListenableFuture<Void>>>, RollbackCallable) - Method in interface org.opendaylight.infrautils.jobcoordinator.JobCoordinator
-
Enqueues a job with a rollback task and DEFAULT_MAX_RETRIES (3) retries..
- enqueueJob(String, Callable<List<ListenableFuture<Void>>>, RollbackCallable, int) - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobCoordinatorImpl
- enqueueJob(String, Callable<List<ListenableFuture<Void>>>, RollbackCallable, int) - Method in interface org.opendaylight.infrautils.jobcoordinator.JobCoordinator
-
Enqueues a job with a rollback task and max retries.
- equals(Object) - Method in class org.opendaylight.infrautils.testutils.LogCapture
- equals(Object) - Method in class org.opendaylight.infrautils.diagstatus.ServiceDescriptor
- equals(Object) - Method in class org.opendaylight.infrautils.diagstatus.ServiceStatusSummary
- equals(Object) - Method in class org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor
-
This instance is equal to all instances of
ImmutableMetricDescriptor
that have equal attribute values. - equals(Object) - Method in class org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider
-
This instance is equal to all instances of
ImmutableThreadFactoryProvider
that have equal attribute values. - equals(Object) - Method in class org.opendaylight.infrautils.utils.mdc.ExecutionOrigin
- equals(Object) - Method in class org.opendaylight.infrautils.utils.mdc.MDCEntry
- error(String) - Method in class org.opendaylight.infrautils.testutils.internal.RememberingLogger
- error(String, Object) - Method in class org.opendaylight.infrautils.testutils.internal.RememberingLogger
- error(String, Object...) - Method in class org.opendaylight.infrautils.testutils.internal.RememberingLogger
- error(String, Object, Object) - Method in class org.opendaylight.infrautils.testutils.internal.RememberingLogger
- error(String, Throwable) - Method in class org.opendaylight.infrautils.testutils.internal.RememberingLogger
- error(Marker, String) - Method in class org.opendaylight.infrautils.testutils.internal.RememberingLogger
- error(Marker, String, Object) - Method in class org.opendaylight.infrautils.testutils.internal.RememberingLogger
- error(Marker, String, Object...) - Method in class org.opendaylight.infrautils.testutils.internal.RememberingLogger
- error(Marker, String, Object, Object) - Method in class org.opendaylight.infrautils.testutils.internal.RememberingLogger
- error(Marker, String, Throwable) - Method in class org.opendaylight.infrautils.testutils.internal.RememberingLogger
- ERROR - org.opendaylight.infrautils.diagstatus.ServiceState
-
This state is used only by the monitored services for reactive and proactive reporting.
- ERROR - org.opendaylight.infrautils.testutils.LogCapture.Level
- estimatedCurrentEntries() - Method in interface org.opendaylight.infrautils.caches.CacheStats
-
Number of key/value pair entries currently in the cache.
- evict(K) - Method in interface org.opendaylight.infrautils.caches.BaseCache
-
Evict an entry from the cache.
- evict(K) - Method in class org.opendaylight.infrautils.caches.baseimpl.DelegatingNullSafeBaseCache
- evictAll() - Method in interface org.opendaylight.infrautils.caches.CacheManager
-
Evict ALL entries from this Cache.
- exception() - Static method in class org.opendaylight.infrautils.testutils.mockito.MoreAnswers
-
Returns Mockito Answer (default) which throws an UnstubbedMethodException.
- exceptionally(Function<Throwable, ? extends T>) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- execute() - Method in class org.opendaylight.infrautils.caches.cli.CacheClearCommand
- execute() - Method in class org.opendaylight.infrautils.caches.cli.CacheListCommand
- execute() - Method in class org.opendaylight.infrautils.caches.cli.CachePolicyCommand
- execute() - Method in class org.opendaylight.infrautils.caches.sample.cli.SampleCacheCommand
- execute() - Method in class org.opendaylight.infrautils.shell.LoggingAction
- execute() - Method in interface org.opendaylight.infrautils.testutils.Asserts.JUnitExecutable
-
Deprecated.
- execute(Runnable) - Method in class org.opendaylight.infrautils.testutils.concurrent.SlowExecutor
- execute(Runnable) - Method in class org.opendaylight.infrautils.testutils.concurrent.AwaitableExecutorService
- execute(CommandSession) - Method in class org.opendaylight.infrautils.diagstatus.shell.DiagStatusCommand
- ExecutionOrigin - Class in org.opendaylight.infrautils.utils.mdc
-
Execution Origin utility.
- Executors - Class in org.opendaylight.infrautils.utils.concurrent
-
Additional factory and utility methods for executors.
- expectError(String) - Method in class org.opendaylight.infrautils.testutils.LogCaptureRule
- expectError(String, int) - Method in class org.opendaylight.infrautils.testutils.LogCaptureRule
- expectLastErrorMessageContains(String) - Method in class org.opendaylight.infrautils.testutils.LogCaptureRule
- extensions() - Method in interface org.opendaylight.infrautils.caches.CacheStats
-
Extensions provide implementation specific cache stats.
F
- FAILURE - org.opendaylight.infrautils.ready.SystemState
- featureName() - Method in class org.opendaylight.infrautils.itestutils.AbstractIntegrationTest
- featureNames() - Method in class org.opendaylight.infrautils.itestutils.AbstractIntegrationTest
- featureRepositoryURL() - Method in class org.opendaylight.infrautils.itestutils.AbstractIntegrationTest
- from(Function<K, V>) - Method in interface org.opendaylight.infrautils.caches.CacheFunction
-
Convenience mapping from java.util.function.Function.
- from(Function<K, V>) - Method in interface org.opendaylight.infrautils.caches.CheckedCacheFunction
- from(CachePolicy) - Method in class org.opendaylight.infrautils.caches.CachePolicyBuilder
-
Fill a builder with attribute values from the provided
CachePolicy
instance. - fromJSON(String) - Static method in class org.opendaylight.infrautils.diagstatus.ServiceStatusSummary
- FunctionalityReady - Interface in org.opendaylight.infrautils.ready.order
-
Marker interface for ready functionality.
- FunctionalityReadyNotifier - Interface in org.opendaylight.infrautils.ready.order
-
Service to register
FunctionalityReady
markers. - FunctionalityReadyNotifierImpl - Class in org.opendaylight.infrautils.ready.karaf.internal
-
Implementation of
FunctionalityReadyNotifier
. - FunctionalityReadyNotifierImpl(BundleContext) - Constructor for class org.opendaylight.infrautils.ready.karaf.internal.FunctionalityReadyNotifierImpl
- FunctionalityReadyRegistration<S> - Interface in org.opendaylight.infrautils.ready.order
-
Registration of a
FunctionalityReady
, used toFunctionalityReadyRegistration.unregister()
it again.
G
- get() - Method in interface org.opendaylight.infrautils.metrics.Counter
-
Gets the total number of events.
- get() - Method in interface org.opendaylight.infrautils.metrics.Meter
-
Gets the total number of events.
- get() - Method in class org.opendaylight.infrautils.utils.concurrent.ThreadFactoryProvider
- get(K) - Method in interface org.opendaylight.infrautils.caches.Cache
-
Get cache entry.
- get(K) - Method in interface org.opendaylight.infrautils.caches.CacheFunction
-
Calculate the value of the cache entry for the given key.
- get(K...) - Method in interface org.opendaylight.infrautils.caches.Cache
-
Convenience short-cut to
Cache.get(Iterable)
with vararg syntax. - get(Iterable<? extends K>) - Method in class org.opendaylight.infrautils.caches.baseimpl.DelegatingNullSafeCache
- get(Iterable<? extends K>) - Method in class org.opendaylight.infrautils.caches.baseimpl.DelegatingNullSafeCheckedCache
- get(Iterable<? extends K>) - Method in interface org.opendaylight.infrautils.caches.Cache
-
Get several cache entries, in one go.
- get(Iterable<? extends K>) - Method in interface org.opendaylight.infrautils.caches.CacheFunction
-
Implementations may wish to override this implementation if they can provide bulk implementations which avoid 1-by-1 locking overhead which single get() may incur, which is what the default implementation does.
- get(Iterable<? extends K>) - Method in interface org.opendaylight.infrautils.caches.CheckedCache
- get(Iterable<? extends K>) - Method in interface org.opendaylight.infrautils.caches.CheckedCacheFunction
- get(K) - Method in class org.opendaylight.infrautils.caches.baseimpl.DelegatingNullSafeCache
- get(K) - Method in class org.opendaylight.infrautils.caches.baseimpl.DelegatingNullSafeCheckedCache
- get(K) - Method in interface org.opendaylight.infrautils.caches.CheckedCache
-
Get cache entry.
- get(K) - Method in interface org.opendaylight.infrautils.caches.CheckedCacheFunction
-
Calculate the value of the cache entry for the given key.
- get(K...) - Method in interface org.opendaylight.infrautils.caches.CheckedCache
- GET - org.opendaylight.infrautils.testutils.web.TestWebClient.Method
- getAdditionalPaxExamOptions() - Method in class org.opendaylight.infrautils.itestutils.AbstractIntegrationTest
-
Override this method to provide more options to config.
- getAllCacheManagers() - Method in class org.opendaylight.infrautils.caches.baseimpl.internal.CacheManagersRegistryImpl
- getAllCacheManagers() - Method in interface org.opendaylight.infrautils.caches.CacheManagers
-
Get the
CacheManager
for all caches. - getAllServiceDescriptors() - Method in interface org.opendaylight.infrautils.diagstatus.DiagStatusService
-
Retrieve the status of all services registered so far.
- getAllServiceDescriptors() - Method in class org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceImpl
- getBody() - Method in class org.opendaylight.infrautils.diagstatus.shell.HttpResponse
- getBody() - Method in class org.opendaylight.infrautils.testutils.web.HttpResponse
- getCacheManager(String) - Method in class org.opendaylight.infrautils.caches.baseimpl.internal.CacheManagersRegistryImpl
- getCacheManager(String) - Method in interface org.opendaylight.infrautils.caches.CacheManagers
-
Get the
CacheManager
for a particular cache, via its ID. - getCallerMethodName(int) - Static method in class org.opendaylight.infrautils.utils.StackTraces
-
Obtain the name of the method that is depth N way up the call stack from invoking this.
- getCallersCallerMethodName() - Static method in class org.opendaylight.infrautils.utils.StackTraces
-
Obtain the name of the method that is the method calling this one.
- getCause() - Method in class org.opendaylight.infrautils.testutils.LogCapture
- getCause() - Method in exception org.opendaylight.infrautils.testutils.LogCaptureRuleException
-
This is the same as
LogCaptureRuleException.getLastLoggedThrowable()
. - getClearedTaskCount() - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobCoordinatorImpl
- getClearedTaskCount() - Method in interface org.opendaylight.infrautils.jobcoordinator.JobCoordinatorMonitor
-
Returns the cleared task count.
- getClusterMembers() - Method in interface org.opendaylight.infrautils.diagstatus.ClusterMemberInfo
- getClusterMembers() - Method in class org.opendaylight.infrautils.diagstatus.internal.ClusterMemberInfoImpl
- getClusterMembers() - Method in class org.opendaylight.infrautils.diagstatus.spi.NoClusterMemberInfo
- getConfig() - Method in interface org.opendaylight.infrautils.caches.CacheManager
-
Get this Cache's (fixed) configuration.
- getContentType() - Method in class org.opendaylight.infrautils.diagstatus.shell.HttpRequest
- getCreatedTaskCount() - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobCoordinatorImpl
- getCreatedTaskCount() - Method in interface org.opendaylight.infrautils.jobcoordinator.JobCoordinatorMonitor
-
Returns the created task count.
- getDeadlockedThreadsMaxLogIntervalSecs() - Method in class org.opendaylight.infrautils.metrics.internal.Configuration
- getDuplicates() - Method in class org.opendaylight.infrautils.testutils.ClasspathHellDuplicatesChecker
- getEntity() - Method in class org.opendaylight.infrautils.diagstatus.shell.HttpRequest
- getErrorCause() - Method in class org.opendaylight.infrautils.diagstatus.ServiceDescriptor
- getErrorLogCaptures() - Static method in class org.opendaylight.infrautils.testutils.internal.RememberingLogger
- getErrorMessage(int) - Static method in class org.opendaylight.infrautils.testutils.internal.RememberingLogger
- getErrorThrowable(int) - Static method in class org.opendaylight.infrautils.testutils.internal.RememberingLogger
- getErrorThrowable(int) - Method in class org.opendaylight.infrautils.testutils.LogCaptureRule
- getExecutingEntry() - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobQueue
- getFailedJobCount() - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobCoordinatorImpl
- getFailedJobCount() - Method in interface org.opendaylight.infrautils.jobcoordinator.JobCoordinatorMonitor
-
Returns the failed jobs count.
- getFailureCause() - Method in class org.opendaylight.infrautils.ready.spi.DelegatingSystemReadyMonitorMXBean
- getFailureCause() - Method in class org.opendaylight.infrautils.ready.spi.SimpleSystemReadyMonitor
- getFailureCause() - Method in interface org.opendaylight.infrautils.ready.SystemReadyMonitorMXBean
-
Obtain the cause of a
SystemState.FAILURE
. - getFailureCause() - Method in class org.opendaylight.infrautils.ready.testutils.TestSystemReadyMonitor
- getFileReporterIntervalSecs() - Method in class org.opendaylight.infrautils.metrics.internal.Configuration
- getFinishedJobCount() - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JcState
- getFinishedJobCount() - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobQueue
- getHeaders() - Method in class org.opendaylight.infrautils.diagstatus.shell.HttpRequest
- getHeaders() - Method in class org.opendaylight.infrautils.diagstatus.shell.HttpResponse
- getHttpPort() - Method in class org.opendaylight.infrautils.diagstatus.shell.HttpClient
- getHttpPort() - Method in interface org.opendaylight.infrautils.diagstatus.shell.HttpClientService
- getIncompleteTaskCount() - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobCoordinatorImpl
- getIncompleteTaskCount() - Method in interface org.opendaylight.infrautils.jobcoordinator.JobCoordinatorMonitor
-
Returns the incomplete task count.
- getJobExecutionMovingAverage() - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JcState
- getJobQueueHandlerThread() - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobCoordinatorImpl
- getJobQueueMap() - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobCoordinatorImpl
- getJobQueueMovingAverageExecutionTime() - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobQueue
- getKarafURL() - Method in class org.opendaylight.infrautils.itestutils.AbstractIntegrationTest
- getKarafVersion() - Method in class org.opendaylight.infrautils.itestutils.AbstractIntegrationTest
- getLastErrorMessage() - Static method in class org.opendaylight.infrautils.testutils.internal.RememberingLogger
- getLastErrorThrowable() - Static method in class org.opendaylight.infrautils.testutils.internal.RememberingLogger
- getLastErrorThrowable() - Method in class org.opendaylight.infrautils.testutils.LogCaptureRule
- getLastLoggedThrowable() - Method in exception org.opendaylight.infrautils.testutils.LogCaptureRuleException
- getLock(T) - Method in class org.opendaylight.infrautils.utils.concurrent.NamedLocks
- getLogger(String) - Method in class org.opendaylight.infrautils.testutils.internal.LogCaptureRuleLoggerFactory
- getLoggerFactory() - Method in class org.slf4j.impl.StaticLoggerBinder
- getLoggerFactoryClassStr() - Method in class org.slf4j.impl.StaticLoggerBinder
- getManager() - Method in interface org.opendaylight.infrautils.caches.BaseCache
- getManager() - Method in class org.opendaylight.infrautils.caches.baseimpl.DelegatingNullSafeBaseCache
- getMarker() - Static method in class org.opendaylight.infrautils.testutils.LogRule
- getMaxThreads() - Method in class org.opendaylight.infrautils.metrics.internal.Configuration
- getMaxThreadsMaxLogIntervalSecs() - Method in class org.opendaylight.infrautils.metrics.internal.Configuration
- getMBean(String, Class<T>) - Static method in class org.opendaylight.infrautils.diagstatus.MBeanUtils
- getMBeanAttribute(String, String) - Static method in class org.opendaylight.infrautils.diagstatus.MBeanUtils
- getMBeanCategory() - Method in class org.opendaylight.infrautils.utils.management.AbstractMXBean
-
Returns the
Category
property of the bean's ObjectName. - getMBeanName() - Method in class org.opendaylight.infrautils.utils.management.AbstractMXBean
-
Returns the
name
property of the bean's ObjectName. - getMBeanType() - Method in class org.opendaylight.infrautils.utils.management.AbstractMXBean
-
Returns the
type
property of the bean's ObjectName. - getMessage() - Method in class org.opendaylight.infrautils.testutils.LogCapture
- getMethod() - Method in class org.opendaylight.infrautils.diagstatus.shell.HttpRequest
- getModuleServiceName() - Method in class org.opendaylight.infrautils.diagstatus.ServiceDescriptor
- getName() - Method in class org.opendaylight.infrautils.utils.concurrent.NamedSimpleReentrantLock
- getPendingJobCount() - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JcState
- getPendingJobCount() - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobQueue
- getPendingTaskCount() - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobCoordinatorImpl
- getPendingTaskCount() - Method in interface org.opendaylight.infrautils.jobcoordinator.JobCoordinatorMonitor
-
Returns the pending task count.
- getPolicy() - Method in interface org.opendaylight.infrautils.caches.CacheManager
-
Get this Cache's current policy.
- getQueueId() - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobQueue
- getRegistry() - Method in class org.opendaylight.infrautils.metrics.internal.MetricProviderImpl
- getRetriesCount() - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobCoordinatorImpl
- getRetriesCount() - Method in interface org.opendaylight.infrautils.jobcoordinator.JobCoordinatorMonitor
-
Returns the retry jobs count.
- getSelfAddress() - Method in interface org.opendaylight.infrautils.diagstatus.ClusterMemberInfo
- getSelfAddress() - Method in class org.opendaylight.infrautils.diagstatus.internal.ClusterMemberInfoImpl
- getSelfAddress() - Method in class org.opendaylight.infrautils.diagstatus.spi.NoClusterMemberInfo
- getServiceDescriptor() - Method in interface org.opendaylight.infrautils.diagstatus.ServiceStatusProvider
-
Called back whenever a query comes for the current status of the registered services.
- getServiceDescriptor(String) - Method in interface org.opendaylight.infrautils.diagstatus.DiagStatusService
-
Retrieve the status of a service specified by the identifier.
- getServiceDescriptor(String) - Method in class org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceImpl
- getServiceState() - Method in class org.opendaylight.infrautils.diagstatus.ServiceDescriptor
- getServiceStatusSummary() - Method in interface org.opendaylight.infrautils.diagstatus.DiagStatusService
-
Retrieve the status of all services registered so far.
- getServiceStatusSummary() - Method in class org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceImpl
- getSingleton() - Static method in class org.slf4j.impl.StaticLoggerBinder
- getStats() - Method in interface org.opendaylight.infrautils.caches.CacheManager
-
Get this Cache's latest statistics.
- getStatus() - Method in class org.opendaylight.infrautils.diagstatus.shell.HttpResponse
- getStatus() - Method in class org.opendaylight.infrautils.testutils.web.HttpResponse
- getStatusDesc() - Method in class org.opendaylight.infrautils.diagstatus.ServiceDescriptor
- getStatusSummary() - Method in class org.opendaylight.infrautils.diagstatus.ServiceStatusSummary
- getStatusTimestamp() - Method in class org.opendaylight.infrautils.diagstatus.ServiceDescriptor
- getSystemReadyState() - Method in class org.opendaylight.infrautils.diagstatus.ServiceStatusSummary
- getSystemReadyStateErrorCause() - Method in class org.opendaylight.infrautils.diagstatus.ServiceStatusSummary
- getSystemState() - Method in class org.opendaylight.infrautils.ready.spi.DelegatingSystemReadyMonitorMXBean
- getSystemState() - Method in class org.opendaylight.infrautils.ready.spi.SimpleSystemReadyMonitor
- getSystemState() - Method in interface org.opendaylight.infrautils.ready.SystemReadyMonitorMXBean
-
Obtain current system status as one of few possible enumerated values.
- getSystemState() - Method in class org.opendaylight.infrautils.ready.testutils.TestSystemReadyMonitor
- getTestContextURL() - Method in class org.opendaylight.infrautils.testutils.web.TestWebServer
- getTestFailingThrowable() - Method in exception org.opendaylight.infrautils.testutils.LogCaptureRuleException
- getThreadsWatcherIntervalMS() - Method in class org.opendaylight.infrautils.metrics.internal.Configuration
- getTimeout() - Method in class org.opendaylight.infrautils.diagstatus.shell.HttpRequest
- getTimeStamp() - Method in class org.opendaylight.infrautils.diagstatus.ServiceStatusSummary
- getUri() - Method in class org.opendaylight.infrautils.diagstatus.shell.HttpRequest
- GuavaCacheProvider - Class in org.opendaylight.infrautils.caches.guava.internal
-
Googgle Guava
LoadingCache
implementation of cache factory. - GuavaCacheProvider(CacheManagersRegistry) - Constructor for class org.opendaylight.infrautils.caches.guava.internal.GuavaCacheProvider
- GuiceClassPathBinder - Class in org.opendaylight.infrautils.inject.guice
-
Binds interfaces to implementations in Guice by scanning the classpath.
- GuiceClassPathBinder(String) - Constructor for class org.opendaylight.infrautils.inject.guice.GuiceClassPathBinder
- GuiceRule - Class in org.opendaylight.infrautils.inject.guice.testutils
-
JUnit Rule which initializes Guice
Injector
for tests. - GuiceRule(Module...) - Constructor for class org.opendaylight.infrautils.inject.guice.testutils.GuiceRule
- GuiceRule(Stage, Module...) - Constructor for class org.opendaylight.infrautils.inject.guice.testutils.GuiceRule
- GuiceRule(Class<? extends Module>...) - Constructor for class org.opendaylight.infrautils.inject.guice.testutils.GuiceRule
H
- handle(BiFunction<? super T, Throwable, ? extends U>) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- handleAsync(BiFunction<? super T, Throwable, ? extends U>) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- handleAsync(BiFunction<? super T, Throwable, ? extends U>, Executor) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- handleErrorLogs(Consumer<ImmutableList<LogCapture>>) - Method in class org.opendaylight.infrautils.testutils.LogCaptureRule
- hashCode() - Method in class org.opendaylight.infrautils.diagstatus.ServiceDescriptor
- hashCode() - Method in class org.opendaylight.infrautils.diagstatus.ServiceStatusSummary
- hashCode() - Method in class org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor
-
Computes a hash code from attributes:
anchor
,project
,module
,id
,description
. - hashCode() - Method in class org.opendaylight.infrautils.testutils.LogCapture
- hashCode() - Method in class org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider
-
Computes a hash code from attributes:
namePrefix
,logger
,priority
,daemon
. - hashCode() - Method in class org.opendaylight.infrautils.utils.mdc.ExecutionOrigin
- hashCode() - Method in class org.opendaylight.infrautils.utils.mdc.MDCEntry
- HEAD - org.opendaylight.infrautils.testutils.web.TestWebClient.Method
- hitCount() - Method in interface org.opendaylight.infrautils.caches.CacheStats
-
Number of "hits" in the cache.
- HttpClient - Class in org.opendaylight.infrautils.diagstatus.shell
- HttpClient(Map<String, String>) - Constructor for class org.opendaylight.infrautils.diagstatus.shell.HttpClient
- HttpClientService - Interface in org.opendaylight.infrautils.diagstatus.shell
- HttpRequest - Class in org.opendaylight.infrautils.diagstatus.shell
- HttpRequest() - Constructor for class org.opendaylight.infrautils.diagstatus.shell.HttpRequest
- HttpResponse - Class in org.opendaylight.infrautils.diagstatus.shell
- HttpResponse - Class in org.opendaylight.infrautils.testutils.web
-
HTTP Response.
- HttpResponse(Integer, String, Map<String, List<String>>) - Constructor for class org.opendaylight.infrautils.diagstatus.shell.HttpResponse
I
- id() - Method in class org.opendaylight.infrautils.caches.BaseCacheConfig
-
Short ID of this Cache.
- id() - Method in class org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor
-
ID of the Metric, unique within given
ImmutableMetricDescriptor.project()
+ImmutableMetricDescriptor.module()
. - id() - Method in class org.opendaylight.infrautils.metrics.MetricDescriptor
-
ID of the Metric, unique within given
MetricDescriptor.project()
+MetricDescriptor.module()
. - id(String) - Method in class org.opendaylight.infrautils.caches.CacheConfigBuilder
-
Initializes the value for the
id
attribute. - id(String) - Method in class org.opendaylight.infrautils.caches.CheckedCacheConfigBuilder
-
Initializes the value for the
id
attribute. - id(String) - Method in class org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor.Builder
-
Initializes the value for the
id
attribute. - id(String) - Method in interface org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor.IdBuildStage
-
Initializes the value for the
id
attribute. - IDs - Class in org.opendaylight.infrautils.utils.types
-
Validations for "ID" like simple types.
- ifPresent(Optional<T>, CheckedConsumer<? super T, E>) - Static method in class org.opendaylight.infrautils.utils.Optionals
-
Like
Optional.ifPresent(java.util.function.Consumer)
but allows checked exceptions to be thrown. - IMMEDIATE - org.opendaylight.infrautils.ready.testutils.TestSystemReadyMonitor.Behaviour
-
The system state is always ACTIVE, there are never any failures, and any
SystemReadyListener
registrations immediately get theirSystemReadyListener.onSystemBootReady()
invoked. - ImmutableMetricDescriptor - Class in org.opendaylight.infrautils.metrics
-
Immutable implementation of
MetricDescriptor
. - ImmutableMetricDescriptor.AnchorBuildStage - Interface in org.opendaylight.infrautils.metrics
- ImmutableMetricDescriptor.Builder - Class in org.opendaylight.infrautils.metrics
-
Builds instances of type
ImmutableMetricDescriptor
. - ImmutableMetricDescriptor.BuildFinal - Interface in org.opendaylight.infrautils.metrics
- ImmutableMetricDescriptor.IdBuildStage - Interface in org.opendaylight.infrautils.metrics
- ImmutableMetricDescriptor.ModuleBuildStage - Interface in org.opendaylight.infrautils.metrics
- ImmutableMetricDescriptor.ProjectBuildStage - Interface in org.opendaylight.infrautils.metrics
- ImmutableThreadFactoryProvider - Class in org.opendaylight.infrautils.utils.concurrent
-
Immutable implementation of
ThreadFactoryProvider
. - ImmutableThreadFactoryProvider.Builder - Class in org.opendaylight.infrautils.utils.concurrent
-
Builds instances of type
ImmutableThreadFactoryProvider
. - ImmutableThreadFactoryProvider.BuildFinal - Interface in org.opendaylight.infrautils.utils.concurrent
- ImmutableThreadFactoryProvider.LoggerBuildStage - Interface in org.opendaylight.infrautils.utils.concurrent
- ImmutableThreadFactoryProvider.NamePrefixBuildStage - Interface in org.opendaylight.infrautils.utils.concurrent
- increment() - Method in interface org.opendaylight.infrautils.metrics.Counter
- increment(long) - Method in interface org.opendaylight.infrautils.metrics.Counter
- init() - Method in class org.opendaylight.infrautils.inject.AbstractLifecycle
-
Please implement
AbstractLifecycle.start()
instead of overriding this (here intentionally final) method. - init() - Method in interface org.opendaylight.infrautils.inject.Lifecycle
-
Initialize the object.
- init() - Method in class org.opendaylight.infrautils.metrics.prometheus.impl.OsgiWebInitializer
- init() - Method in class org.opendaylight.infrautils.metrics.sample.MetricsExample
- init() - Method in class org.opendaylight.infrautils.ready.karaf.internal.KarafSystemReady
- injector - Variable in class org.opendaylight.infrautils.inject.guice.testutils.GuiceRule
- INSTANCE - Static variable in class org.opendaylight.infrautils.testutils.ClasspathHellDuplicatesChecker
- InstantDeserializer - Class in org.opendaylight.infrautils.diagstatus
- InstantDeserializer() - Constructor for class org.opendaylight.infrautils.diagstatus.InstantDeserializer
- InstantSerializer - Class in org.opendaylight.infrautils.diagstatus
- InstantSerializer() - Constructor for class org.opendaylight.infrautils.diagstatus.InstantSerializer
- InterruptibleCheckedConsumer<T,E extends Exception> - Interface in org.opendaylight.infrautils.utils.function
-
Consumer
which can throw a checked exception and be interrupted. - InterruptibleCheckedFunction<T,R,E extends Exception> - Interface in org.opendaylight.infrautils.utils.function
-
Function
which can throw a checked exception and be interrupted. - invokeAll(Collection<? extends Callable<T>>) - Method in class org.opendaylight.infrautils.testutils.concurrent.AwaitableExecutorService
- invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.opendaylight.infrautils.testutils.concurrent.AwaitableExecutorService
- invokeAny(Collection<? extends Callable<T>>) - Method in class org.opendaylight.infrautils.testutils.concurrent.AwaitableExecutorService
- invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.opendaylight.infrautils.testutils.concurrent.AwaitableExecutorService
- invokeMBeanFunction(String) - Method in class org.opendaylight.infrautils.utils.management.AbstractMXBean
-
invoke an mbean function with the platform MBean server.
- isCompleted() - Method in class org.opendaylight.infrautils.testutils.concurrent.AwaitableExecutorService
-
Indicates whether all submitted jobs have completed.
- isEmpty() - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobQueue
- isHarmlessDuplicate(String) - Method in class org.opendaylight.infrautils.testutils.ClasspathHellDuplicatesChecker
- isLocalAddress(InetAddress) - Method in interface org.opendaylight.infrautils.diagstatus.ClusterMemberInfo
- isLocalAddress(InetAddress) - Method in class org.opendaylight.infrautils.diagstatus.internal.ClusterMemberInfoImpl
- isLocalAddress(InetAddress) - Method in class org.opendaylight.infrautils.diagstatus.spi.NoClusterMemberInfo
- isOperational() - Method in class org.opendaylight.infrautils.diagstatus.ServiceStatusSummary
- isRunning() - Method in class org.opendaylight.infrautils.inject.AbstractLifecycle
- isRunning() - Method in interface org.opendaylight.infrautils.inject.Lifecycle
J
- JcMXBeanRegistration - Class in org.opendaylight.infrautils.jobcoordinator.internal
- JcMXBeanRegistration(JcServiceStatus) - Constructor for class org.opendaylight.infrautils.jobcoordinator.internal.JcMXBeanRegistration
- JcServiceStatus - Class in org.opendaylight.infrautils.jobcoordinator.internal
- JcServiceStatus(JobCoordinatorImpl) - Constructor for class org.opendaylight.infrautils.jobcoordinator.internal.JcServiceStatus
- JcServiceStatusMXBean - Interface in org.opendaylight.infrautils.jobcoordinator.internal
- JcState - Class in org.opendaylight.infrautils.jobcoordinator.internal
- JcState(int, int, double) - Constructor for class org.opendaylight.infrautils.jobcoordinator.internal.JcState
-
JcState
is used when the user requests for the JcStatus, a map is created with the hashkey and the jobQueue info(only pendingJobCount, finishedJobCount and jobExecutionMovingAverage). - jcStatus() - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JcServiceStatus
- jcStatus() - Method in interface org.opendaylight.infrautils.jobcoordinator.internal.JcServiceStatusMXBean
- JdkFutures - Class in org.opendaylight.infrautils.utils.concurrent
-
Utility methods pertaining to the Java 5
Future
interface. - JMX_OBJECT_NAME - Static variable in interface org.opendaylight.infrautils.diagstatus.DiagStatusServiceMBean
- JobCoordinator - Interface in org.opendaylight.infrautils.jobcoordinator
-
This interface defines methods for a JobCoordinator which enables executing jobs in a parallel/sequential fashion based on their keys.
- JobCoordinatorImpl - Class in org.opendaylight.infrautils.jobcoordinator.internal
- JobCoordinatorImpl(MetricProvider) - Constructor for class org.opendaylight.infrautils.jobcoordinator.internal.JobCoordinatorImpl
- JobCoordinatorMonitor - Interface in org.opendaylight.infrautils.jobcoordinator
-
Monitor for
JobCoordinator
metrics. - JobQueue - Class in org.opendaylight.infrautils.jobcoordinator.internal
-
A queue which holds job entries and the current running job.
- JobQueue() - Constructor for class org.opendaylight.infrautils.jobcoordinator.internal.JobQueue
K
- KarafSystemReady - Class in org.opendaylight.infrautils.ready.karaf.internal
-
SystemReadyMonitor
implementation for an OSGi Karaf environment. - KarafSystemReady(BundleContext, BundleService) - Constructor for class org.opendaylight.infrautils.ready.karaf.internal.KarafSystemReady
L
- label(String) - Method in interface org.opendaylight.infrautils.metrics.Labeled
- Labeled<T> - Interface in org.opendaylight.infrautils.metrics
-
Labeled wrapper which "tags" T objects.
- Lifecycle - Interface in org.opendaylight.infrautils.inject
-
Something which can be
Lifecycle.init()
-ialized andLifecycle.destroy()
-d. - ListenableFutures - Class in org.opendaylight.infrautils.utils.concurrent
-
More static utility methods pertaining to Guava's ListenableFuture interface.
- LogCapture - Class in org.opendaylight.infrautils.testutils
-
Captured log statement.
- LogCapture(LogCapture.Level, String, Throwable) - Constructor for class org.opendaylight.infrautils.testutils.LogCapture
- LogCapture.Level - Enum in org.opendaylight.infrautils.testutils
- LogCaptureRule - Class in org.opendaylight.infrautils.testutils
-
JUnit Rule which "captures" slf4j-simple logs.
- LogCaptureRule() - Constructor for class org.opendaylight.infrautils.testutils.LogCaptureRule
- LogCaptureRuleException - Exception in org.opendaylight.infrautils.testutils
-
Exception thrown by the
LogCaptureRule
. - LogCaptureRuleException(String) - Constructor for exception org.opendaylight.infrautils.testutils.LogCaptureRuleException
- LogCaptureRuleException(String, Throwable) - Constructor for exception org.opendaylight.infrautils.testutils.LogCaptureRuleException
- LogCaptureRuleException(String, Throwable, Throwable) - Constructor for exception org.opendaylight.infrautils.testutils.LogCaptureRuleException
- LogCaptureRuleLoggerFactory - Class in org.opendaylight.infrautils.testutils.internal
-
ILoggerFactory for
LogCaptureRule
. - LogCaptureRuleLoggerFactory() - Constructor for class org.opendaylight.infrautils.testutils.internal.LogCaptureRuleLoggerFactory
- logger() - Method in class org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider
-
Logger used to log uncaught exceptions from new threads created via this factory.
- logger() - Method in class org.opendaylight.infrautils.utils.concurrent.ThreadFactoryProvider
-
Logger used to log uncaught exceptions from new threads created via this factory.
- logger(Logger) - Method in class org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider.Builder
-
Initializes the value for the
logger
attribute. - logger(Logger) - Method in interface org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider.LoggerBuildStage
-
Initializes the value for the
logger
attribute. - LoggingAction - Class in org.opendaylight.infrautils.shell
-
Base class to implement Karaf CLI command actions which correctly log failures.
- LoggingAction() - Constructor for class org.opendaylight.infrautils.shell.LoggingAction
- LoggingFutures - Class in org.opendaylight.infrautils.utils.concurrent
-
Utility methods to add completion/failure logging to various kinds of Futures.
- LoggingThreadUncaughtExceptionHandler - Class in org.opendaylight.infrautils.utils.concurrent
-
Thread's UncaughtExceptionHandler which logs to slf4j.
- LoggingUncaughtThreadDeathContextRunnable - Class in org.opendaylight.infrautils.utils.concurrent
-
Runnable with final
LoggingUncaughtThreadDeathContextRunnable.run()
method that catches any unexpected checked exceptions (RuntimeException
&Error
) and logs them with some kind of context which allows to better identify the root cause. - LoggingUncaughtThreadDeathContextRunnable(Logger, Supplier<String>) - Constructor for class org.opendaylight.infrautils.utils.concurrent.LoggingUncaughtThreadDeathContextRunnable
-
Constructor.
- LogRule - Class in org.opendaylight.infrautils.testutils
-
JUnit Rule which nicely separates @Test/s in the log.
- LogRule() - Constructor for class org.opendaylight.infrautils.testutils.LogRule
M
- mac(String) - Method in class org.opendaylight.infrautils.metrics.sample.MetricsAdvancedExample.MacLabeledMeter
- MacLabeledMeter(Labeled<Meter>) - Constructor for class org.opendaylight.infrautils.metrics.sample.MetricsAdvancedExample.MacLabeledMeter
- mark() - Method in interface org.opendaylight.infrautils.metrics.Meter
-
Mark the occurrence of an event.
- mark(long) - Method in interface org.opendaylight.infrautils.metrics.Meter
-
Mark the occurrence of a given number of events.
- maxEntries() - Method in interface org.opendaylight.infrautils.caches.CachePolicy
-
Specifies the maximum number of entries the cache may contain.
- maxEntries() - Method in class org.opendaylight.infrautils.caches.noop.internal.NoopCachePolicy
- maxEntries(long) - Method in class org.opendaylight.infrautils.caches.CachePolicyBuilder
-
Initializes the value for the
maxEntries
attribute. - MBeanUtils - Class in org.opendaylight.infrautils.diagstatus
-
MBeanUtils is a utility that can be used for registering a new MBean or accessing any MBean service.
- MDCEntry - Class in org.opendaylight.infrautils.utils.mdc
-
Marker for objects which get put into the
MDC
. - MDCEntry() - Constructor for class org.opendaylight.infrautils.utils.mdc.MDCEntry
- mdcKeyString() - Method in class org.opendaylight.infrautils.utils.mdc.ExecutionOrigin
- mdcKeyString() - Method in class org.opendaylight.infrautils.utils.mdc.MDCEntry
- MDCs - Class in org.opendaylight.infrautils.utils.mdc
-
Utility methods for
MDC
. - mdcValueString() - Method in class org.opendaylight.infrautils.utils.mdc.ExecutionOrigin
-
The exact internal implementation format of this ID may change over time, and should not be relied upon.
- mdcValueString() - Method in class org.opendaylight.infrautils.utils.mdc.MDCEntry
- Meter - Interface in org.opendaylight.infrautils.metrics
-
Meter metric, which measures throughput.
- MetricDescriptor - Class in org.opendaylight.infrautils.metrics
-
Descriptor of Metric.
- MetricDescriptor() - Constructor for class org.opendaylight.infrautils.metrics.MetricDescriptor
- MetricProvider - Interface in org.opendaylight.infrautils.metrics
-
Factory to obtain a new metric for use by application code.
- MetricProviderImpl - Class in org.opendaylight.infrautils.metrics.internal
-
Implementation of
MetricProvider
based on Coda Hale's Dropwizard Metrics. - MetricProviderImpl() - Constructor for class org.opendaylight.infrautils.metrics.internal.MetricProviderImpl
- MetricProviderImpl(Configuration) - Constructor for class org.opendaylight.infrautils.metrics.internal.MetricProviderImpl
- MetricsAdvancedExample - Class in org.opendaylight.infrautils.metrics.sample
-
Example illustrating advanced type safe usage of metrics API.
- MetricsAdvancedExample(MetricProvider) - Constructor for class org.opendaylight.infrautils.metrics.sample.MetricsAdvancedExample
- MetricsAdvancedExample.MacLabeledMeter - Class in org.opendaylight.infrautils.metrics.sample
- MetricsAdvancedExample.PortLabeledMeter - Class in org.opendaylight.infrautils.metrics.sample
- MetricsExample - Class in org.opendaylight.infrautils.metrics.sample
-
Example illustrating usage of metrics API, and demo.
- MetricsExample(MetricProvider) - Constructor for class org.opendaylight.infrautils.metrics.sample.MetricsExample
- MetricsFileReporter - Class in org.opendaylight.infrautils.metrics.internal
- MetricsFileReporter(MetricRegistry, Duration) - Constructor for class org.opendaylight.infrautils.metrics.internal.MetricsFileReporter
- missCount() - Method in interface org.opendaylight.infrautils.caches.CacheStats
-
Number of "misses" in the cache.
- module() - Method in class org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor
-
Name of OpenDaylight module the Metric is for, unique within given
ImmutableMetricDescriptor.project()
. - module() - Method in class org.opendaylight.infrautils.metrics.MetricDescriptor
-
Name of OpenDaylight module the Metric is for, unique within given
MetricDescriptor.project()
. - module(String) - Method in class org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor.Builder
-
Initializes the value for the
module
attribute. - module(String) - Method in interface org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor.ModuleBuildStage
-
Initializes the value for the
module
attribute. - modules - Variable in class org.opendaylight.infrautils.inject.guice.testutils.GuiceRule
- ModuleSetupRuntimeException - Exception in org.opendaylight.infrautils.inject
-
Exception to throw from a static Dependency Inject Framework's "Wiring" class.
- ModuleSetupRuntimeException(Exception) - Constructor for exception org.opendaylight.infrautils.inject.ModuleSetupRuntimeException
- MoreAnswers - Class in org.opendaylight.infrautils.testutils.mockito
-
More
Mockito
Answer
variants, extending the its standardAnswers
andAdditionalAnswers
.
N
- NamedLocks<T> - Class in org.opendaylight.infrautils.utils.concurrent
-
Manages multiple ReentrantLocks identified by a unique name.
- NamedLocks() - Constructor for class org.opendaylight.infrautils.utils.concurrent.NamedLocks
- NamedSimpleReentrantLock<T> - Class in org.opendaylight.infrautils.utils.concurrent
-
A
ReentrantLock
which has a name and provides simplified locking operations. - NamedSimpleReentrantLock(T) - Constructor for class org.opendaylight.infrautils.utils.concurrent.NamedSimpleReentrantLock
- NamedSimpleReentrantLock.Acquired - Class in org.opendaylight.infrautils.utils.concurrent
-
Result of a successful lock operation, representing a single lease on the lock.
- NamedSimpleReentrantLock.AcquireResult - Class in org.opendaylight.infrautils.utils.concurrent
-
Base result of a locking operation.
- namePrefix() - Method in class org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider
-
Prefix for threads from this factory.
- namePrefix() - Method in class org.opendaylight.infrautils.utils.concurrent.ThreadFactoryProvider
-
Prefix for threads from this factory.
- namePrefix(String) - Method in class org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider.Builder
-
Initializes the value for the
namePrefix
attribute. - namePrefix(String) - Method in interface org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider.NamePrefixBuildStage
-
Initializes the value for the
namePrefix
attribute. - NEVER - org.opendaylight.infrautils.ready.testutils.TestSystemReadyMonitor.Behaviour
-
The system state is always ACTIVE, there are never any failures, and any
SystemReadyListener
registrations *NEVER* get theirSystemReadyListener.onSystemBootReady()
invoked. - newCache(CacheConfig<K, V>) - Method in class org.opendaylight.infrautils.caches.baseimpl.BaseProvider
- newCache(CacheConfig<K, V>) - Method in interface org.opendaylight.infrautils.caches.CacheProvider
-
Creates a brand new
Cache
(API with unchecked exceptions), based on the passed configuration and a default policy. - newCache(CacheConfig<K, V>, CachePolicy) - Method in class org.opendaylight.infrautils.caches.baseimpl.AbstractProvider
- newCache(CacheConfig<K, V>, CachePolicy) - Method in interface org.opendaylight.infrautils.caches.CacheProvider
-
Creates a brand new
Cache
(API with unchecked exceptions), based on the passed configuration and policy. - newCache(CacheConfig<K, V>, CachePolicy) - Method in class org.opendaylight.infrautils.caches.standard.StandardCacheProvider
- newCachedThreadPool(String, Logger) - Static method in class org.opendaylight.infrautils.utils.concurrent.Executors
-
Deprecated.
- newCheckedCache(CheckedCacheConfig<K, V, E>) - Method in class org.opendaylight.infrautils.caches.baseimpl.BaseProvider
- newCheckedCache(CheckedCacheConfig<K, V, E>) - Method in interface org.opendaylight.infrautils.caches.CacheProvider
-
Creates a brand new
CheckedCache
(API for checked exceptions), based on the passed configuration and a default policy. - newCheckedCache(CheckedCacheConfig<K, V, E>, CachePolicy) - Method in class org.opendaylight.infrautils.caches.baseimpl.AbstractProvider
- newCheckedCache(CheckedCacheConfig<K, V, E>, CachePolicy) - Method in interface org.opendaylight.infrautils.caches.CacheProvider
-
Creates a brand new
CheckedCache
(API for checked exceptions), based on the passed configuration and policy. - newCheckedCache(CheckedCacheConfig<K, V, E>, CachePolicy) - Method in class org.opendaylight.infrautils.caches.standard.StandardCacheProvider
- newCounter(Object, String) - Method in class org.opendaylight.infrautils.metrics.testimpl.TestMetricProviderImpl
- newCounter(Object, String) - Method in class org.opendaylight.infrautils.metrics.internal.MetricProviderImpl
- newCounter(Object, String) - Method in interface org.opendaylight.infrautils.metrics.MetricProvider
-
Deprecated.use
MetricProvider.newCounter(MetricDescriptor)
instead. - newCounter(Object, String) - Method in class org.opendaylight.infrautils.metrics.prometheus.impl.PrometheusMetricProviderImpl
- newCounter(MetricDescriptor) - Method in class org.opendaylight.infrautils.metrics.internal.MetricProviderImpl
- newCounter(MetricDescriptor) - Method in interface org.opendaylight.infrautils.metrics.MetricProvider
-
Create new Counter metric without labels.
- newCounter(MetricDescriptor) - Method in class org.opendaylight.infrautils.metrics.prometheus.impl.PrometheusMetricProviderImpl
- newCounter(MetricDescriptor) - Method in class org.opendaylight.infrautils.metrics.testimpl.TestMetricProviderImpl
- newCounter(MetricDescriptor, String) - Method in class org.opendaylight.infrautils.metrics.internal.MetricProviderImpl
- newCounter(MetricDescriptor, String) - Method in interface org.opendaylight.infrautils.metrics.MetricProvider
-
Create new Counter metric with 1 label.
- newCounter(MetricDescriptor, String) - Method in class org.opendaylight.infrautils.metrics.prometheus.impl.PrometheusMetricProviderImpl
- newCounter(MetricDescriptor, String) - Method in class org.opendaylight.infrautils.metrics.testimpl.TestMetricProviderImpl
- newCounter(MetricDescriptor, String, String) - Method in class org.opendaylight.infrautils.metrics.internal.MetricProviderImpl
- newCounter(MetricDescriptor, String, String) - Method in interface org.opendaylight.infrautils.metrics.MetricProvider
-
Create new Counter metric with 2 labels.
- newCounter(MetricDescriptor, String, String) - Method in class org.opendaylight.infrautils.metrics.prometheus.impl.PrometheusMetricProviderImpl
- newCounter(MetricDescriptor, String, String) - Method in class org.opendaylight.infrautils.metrics.testimpl.TestMetricProviderImpl
- newCounter(MetricDescriptor, String, String, String) - Method in class org.opendaylight.infrautils.metrics.internal.MetricProviderImpl
- newCounter(MetricDescriptor, String, String, String) - Method in interface org.opendaylight.infrautils.metrics.MetricProvider
-
Create new Counter metric with 3 labels.
- newCounter(MetricDescriptor, String, String, String) - Method in class org.opendaylight.infrautils.metrics.prometheus.impl.PrometheusMetricProviderImpl
- newCounter(MetricDescriptor, String, String, String) - Method in class org.opendaylight.infrautils.metrics.testimpl.TestMetricProviderImpl
- newCounter(MetricDescriptor, String, String, String, String) - Method in class org.opendaylight.infrautils.metrics.internal.MetricProviderImpl
- newCounter(MetricDescriptor, String, String, String, String) - Method in interface org.opendaylight.infrautils.metrics.MetricProvider
-
Create new Counter metric with 4 labels.
- newCounter(MetricDescriptor, String, String, String, String) - Method in class org.opendaylight.infrautils.metrics.prometheus.impl.PrometheusMetricProviderImpl
- newCounter(MetricDescriptor, String, String, String, String) - Method in class org.opendaylight.infrautils.metrics.testimpl.TestMetricProviderImpl
- newCounter(MetricDescriptor, String, String, String, String, String) - Method in class org.opendaylight.infrautils.metrics.internal.MetricProviderImpl
- newCounter(MetricDescriptor, String, String, String, String, String) - Method in interface org.opendaylight.infrautils.metrics.MetricProvider
-
Create new Counter metric with 5 labels.
- newCounter(MetricDescriptor, String, String, String, String, String) - Method in class org.opendaylight.infrautils.metrics.prometheus.impl.PrometheusMetricProviderImpl
- newCounter(MetricDescriptor, String, String, String, String, String) - Method in class org.opendaylight.infrautils.metrics.testimpl.TestMetricProviderImpl
- newFixedThreadPool(int, String, Logger) - Static method in class org.opendaylight.infrautils.utils.concurrent.Executors
- newListeningCachedThreadPool(String, Logger) - Static method in class org.opendaylight.infrautils.utils.concurrent.Executors
- newListeningScheduledThreadPool(int, String, Logger) - Static method in class org.opendaylight.infrautils.utils.concurrent.Executors
- newListeningSingleThreadExecutor(String, Logger) - Static method in class org.opendaylight.infrautils.utils.concurrent.Executors
-
Creates a single thread executor with a
ThreadFactory
that uses the provided prefix for its thread names and logs uncaught exceptions with the specifiedLogger
. - newListeningSingleThreadScheduledExecutor(String, Logger) - Static method in class org.opendaylight.infrautils.utils.concurrent.Executors
- newMeter(Object, String) - Method in class org.opendaylight.infrautils.metrics.testimpl.TestMetricProviderImpl
- newMeter(Object, String) - Method in class org.opendaylight.infrautils.metrics.internal.MetricProviderImpl
- newMeter(Object, String) - Method in interface org.opendaylight.infrautils.metrics.MetricProvider
-
Deprecated.use
MetricProvider.newMeter(MetricDescriptor)
instead. - newMeter(Object, String) - Method in class org.opendaylight.infrautils.metrics.prometheus.impl.PrometheusMetricProviderImpl
- newMeter(MetricDescriptor) - Method in class org.opendaylight.infrautils.metrics.internal.MetricProviderImpl
- newMeter(MetricDescriptor) - Method in interface org.opendaylight.infrautils.metrics.MetricProvider
-
Create new Meter metric without labels.
- newMeter(MetricDescriptor) - Method in class org.opendaylight.infrautils.metrics.prometheus.impl.PrometheusMetricProviderImpl
- newMeter(MetricDescriptor) - Method in class org.opendaylight.infrautils.metrics.testimpl.TestMetricProviderImpl
- newMeter(MetricDescriptor, String) - Method in class org.opendaylight.infrautils.metrics.internal.MetricProviderImpl
- newMeter(MetricDescriptor, String) - Method in interface org.opendaylight.infrautils.metrics.MetricProvider
-
Create new Meter metric with 1 label.
- newMeter(MetricDescriptor, String) - Method in class org.opendaylight.infrautils.metrics.prometheus.impl.PrometheusMetricProviderImpl
- newMeter(MetricDescriptor, String) - Method in class org.opendaylight.infrautils.metrics.testimpl.TestMetricProviderImpl
- newMeter(MetricDescriptor, String, String) - Method in class org.opendaylight.infrautils.metrics.internal.MetricProviderImpl
- newMeter(MetricDescriptor, String, String) - Method in interface org.opendaylight.infrautils.metrics.MetricProvider
-
Create new Meter metric with 2 labels.
- newMeter(MetricDescriptor, String, String) - Method in class org.opendaylight.infrautils.metrics.prometheus.impl.PrometheusMetricProviderImpl
- newMeter(MetricDescriptor, String, String) - Method in class org.opendaylight.infrautils.metrics.testimpl.TestMetricProviderImpl
- newMeter(MetricDescriptor, String, String, String) - Method in class org.opendaylight.infrautils.metrics.internal.MetricProviderImpl
- newMeter(MetricDescriptor, String, String, String) - Method in interface org.opendaylight.infrautils.metrics.MetricProvider
-
Create new Meter metric with 3 labels.
- newMeter(MetricDescriptor, String, String, String) - Method in class org.opendaylight.infrautils.metrics.prometheus.impl.PrometheusMetricProviderImpl
- newMeter(MetricDescriptor, String, String, String) - Method in class org.opendaylight.infrautils.metrics.testimpl.TestMetricProviderImpl
- newMeter(MetricDescriptor, String, String, String, String) - Method in class org.opendaylight.infrautils.metrics.internal.MetricProviderImpl
- newMeter(MetricDescriptor, String, String, String, String) - Method in interface org.opendaylight.infrautils.metrics.MetricProvider
-
Create new Meter metric with 4 labels.
- newMeter(MetricDescriptor, String, String, String, String) - Method in class org.opendaylight.infrautils.metrics.prometheus.impl.PrometheusMetricProviderImpl
- newMeter(MetricDescriptor, String, String, String, String) - Method in class org.opendaylight.infrautils.metrics.testimpl.TestMetricProviderImpl
- newMeter(MetricDescriptor, String, String, String, String, String) - Method in class org.opendaylight.infrautils.metrics.internal.MetricProviderImpl
- newMeter(MetricDescriptor, String, String, String, String, String) - Method in interface org.opendaylight.infrautils.metrics.MetricProvider
-
Create new Meter metric with 5 labels.
- newMeter(MetricDescriptor, String, String, String, String, String) - Method in class org.opendaylight.infrautils.metrics.prometheus.impl.PrometheusMetricProviderImpl
- newMeter(MetricDescriptor, String, String, String, String, String) - Method in class org.opendaylight.infrautils.metrics.testimpl.TestMetricProviderImpl
- newPartial(Class<T>) - Static method in class org.opendaylight.infrautils.testutils.Partials
- newScheduledThreadPool(int, String, Logger) - Static method in class org.opendaylight.infrautils.utils.concurrent.Executors
-
Deprecated.
- newSingleThreadExecutor(String, Logger) - Static method in class org.opendaylight.infrautils.utils.concurrent.Executors
-
Deprecated.
- newSingleThreadScheduledExecutor(String, Logger) - Static method in class org.opendaylight.infrautils.utils.concurrent.Executors
-
Deprecated.
- newTimer(Object, String) - Method in class org.opendaylight.infrautils.metrics.testimpl.TestMetricProviderImpl
- newTimer(Object, String) - Method in class org.opendaylight.infrautils.metrics.internal.MetricProviderImpl
- newTimer(Object, String) - Method in interface org.opendaylight.infrautils.metrics.MetricProvider
-
Deprecated.
- newTimer(Object, String) - Method in class org.opendaylight.infrautils.metrics.prometheus.impl.PrometheusMetricProviderImpl
- newTimer(MetricDescriptor) - Method in class org.opendaylight.infrautils.metrics.internal.MetricProviderImpl
- newTimer(MetricDescriptor) - Method in interface org.opendaylight.infrautils.metrics.MetricProvider
-
Create new Timer metric without labels.
- newTimer(MetricDescriptor) - Method in class org.opendaylight.infrautils.metrics.prometheus.impl.PrometheusMetricProviderImpl
- newTimer(MetricDescriptor) - Method in class org.opendaylight.infrautils.metrics.testimpl.TestMetricProviderImpl
- newTimer(MetricDescriptor, String) - Method in class org.opendaylight.infrautils.metrics.internal.MetricProviderImpl
- newTimer(MetricDescriptor, String) - Method in interface org.opendaylight.infrautils.metrics.MetricProvider
-
Create new Timer metric with 1 label.
- newTimer(MetricDescriptor, String) - Method in class org.opendaylight.infrautils.metrics.prometheus.impl.PrometheusMetricProviderImpl
- newTimer(MetricDescriptor, String) - Method in class org.opendaylight.infrautils.metrics.testimpl.TestMetricProviderImpl
- newTimer(MetricDescriptor, String, String) - Method in class org.opendaylight.infrautils.metrics.internal.MetricProviderImpl
- newTimer(MetricDescriptor, String, String) - Method in interface org.opendaylight.infrautils.metrics.MetricProvider
-
Create new Timer metric with 2 labels.
- newTimer(MetricDescriptor, String, String) - Method in class org.opendaylight.infrautils.metrics.prometheus.impl.PrometheusMetricProviderImpl
- newTimer(MetricDescriptor, String, String) - Method in class org.opendaylight.infrautils.metrics.testimpl.TestMetricProviderImpl
- newUnregisteredCache(CacheConfig<K, V>, CachePolicy) - Method in class org.opendaylight.infrautils.caches.baseimpl.AbstractProvider
- newUnregisteredCache(CacheConfig<K, V>, CachePolicy) - Method in class org.opendaylight.infrautils.caches.guava.internal.GuavaCacheProvider
- newUnregisteredCache(CacheConfig<K, V>, CachePolicy) - Method in class org.opendaylight.infrautils.caches.noop.internal.NoopCacheProvider
- newUnregisteredCheckedCache(CheckedCacheConfig<K, V, E>, CachePolicy) - Method in class org.opendaylight.infrautils.caches.baseimpl.AbstractProvider
- newUnregisteredCheckedCache(CheckedCacheConfig<K, V, E>, CachePolicy) - Method in class org.opendaylight.infrautils.caches.guava.internal.GuavaCacheProvider
- newUnregisteredCheckedCache(CheckedCacheConfig<K, V, E>, CachePolicy) - Method in class org.opendaylight.infrautils.caches.noop.internal.NoopCacheProvider
- next() - Static method in class org.opendaylight.infrautils.utils.mdc.ExecutionOrigin
-
Returns the next origin ID.
- NoClusterMemberInfo - Class in org.opendaylight.infrautils.diagstatus.spi
-
ClusterMemberInfo implementation when there is no cluster, suitable e.g.
- NoClusterMemberInfo() - Constructor for class org.opendaylight.infrautils.diagstatus.spi.NoClusterMemberInfo
- NoClusterMemberInfo(InetAddress) - Constructor for class org.opendaylight.infrautils.diagstatus.spi.NoClusterMemberInfo
- NoopCachePolicy - Class in org.opendaylight.infrautils.caches.noop.internal
-
No Operation ("NOOP") implementation of CachePolicy.
- NoopCachePolicy() - Constructor for class org.opendaylight.infrautils.caches.noop.internal.NoopCachePolicy
- NoopCacheProvider - Class in org.opendaylight.infrautils.caches.noop.internal
-
No Operation ("NOOP") implementation of cache factory.
- NoopCacheProvider(CacheManagersRegistry) - Constructor for class org.opendaylight.infrautils.caches.noop.internal.NoopCacheProvider
O
- of(String, Logger, Optional<Integer>) - Static method in class org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider
-
Construct a new immutable
ThreadFactoryProvider
instance. - onFullSystemInjected() - Method in interface org.opendaylight.infrautils.inject.PostFullSystemInjectionListener
- onFullSystemInjected() - Method in class org.opendaylight.infrautils.ready.guice.ReadyModule
- onJobFinished(long) - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobQueue
- onSystemBootReady() - Method in interface org.opendaylight.infrautils.ready.SystemReadyListener
-
Called back once when the system has become "fully ready" after the initial boot up.
- OpenDaylightImmutableStyle - Annotation Type in org.opendaylight.infrautils.caches.internal
-
Immutables.org style meta annotation.
- OPERATIONAL - org.opendaylight.infrautils.diagstatus.ServiceState
-
This state is used only by the monitored services for reactive and proactive reporting.
- Optionals - Class in org.opendaylight.infrautils.utils
-
Utilities for Optionals.
- OPTIONS - org.opendaylight.infrautils.testutils.web.TestWebClient.Method
- org.opendaylight.infrautils.caches - package org.opendaylight.infrautils.caches
- org.opendaylight.infrautils.caches.baseimpl - package org.opendaylight.infrautils.caches.baseimpl
- org.opendaylight.infrautils.caches.baseimpl.internal - package org.opendaylight.infrautils.caches.baseimpl.internal
- org.opendaylight.infrautils.caches.cli - package org.opendaylight.infrautils.caches.cli
- org.opendaylight.infrautils.caches.guava.internal - package org.opendaylight.infrautils.caches.guava.internal
- org.opendaylight.infrautils.caches.internal - package org.opendaylight.infrautils.caches.internal
- org.opendaylight.infrautils.caches.noop.internal - package org.opendaylight.infrautils.caches.noop.internal
- org.opendaylight.infrautils.caches.sample - package org.opendaylight.infrautils.caches.sample
- org.opendaylight.infrautils.caches.sample.cli - package org.opendaylight.infrautils.caches.sample.cli
- org.opendaylight.infrautils.caches.standard - package org.opendaylight.infrautils.caches.standard
- org.opendaylight.infrautils.caches.testutils - package org.opendaylight.infrautils.caches.testutils
- org.opendaylight.infrautils.diagstatus - package org.opendaylight.infrautils.diagstatus
- org.opendaylight.infrautils.diagstatus.internal - package org.opendaylight.infrautils.diagstatus.internal
- org.opendaylight.infrautils.diagstatus.shell - package org.opendaylight.infrautils.diagstatus.shell
- org.opendaylight.infrautils.diagstatus.spi - package org.opendaylight.infrautils.diagstatus.spi
- org.opendaylight.infrautils.diagstatus.web - package org.opendaylight.infrautils.diagstatus.web
- org.opendaylight.infrautils.inject - package org.opendaylight.infrautils.inject
-
The interfaces and classes in this package are "for convenience".
- org.opendaylight.infrautils.inject.guice - package org.opendaylight.infrautils.inject.guice
- org.opendaylight.infrautils.inject.guice.testutils - package org.opendaylight.infrautils.inject.guice.testutils
- org.opendaylight.infrautils.itestutils - package org.opendaylight.infrautils.itestutils
- org.opendaylight.infrautils.jobcoordinator - package org.opendaylight.infrautils.jobcoordinator
-
JobCoordinator
API. - org.opendaylight.infrautils.jobcoordinator.internal - package org.opendaylight.infrautils.jobcoordinator.internal
-
JobCoordinator
Implementation. - org.opendaylight.infrautils.metrics - package org.opendaylight.infrautils.metrics
- org.opendaylight.infrautils.metrics.internal - package org.opendaylight.infrautils.metrics.internal
- org.opendaylight.infrautils.metrics.prometheus.impl - package org.opendaylight.infrautils.metrics.prometheus.impl
- org.opendaylight.infrautils.metrics.sample - package org.opendaylight.infrautils.metrics.sample
- org.opendaylight.infrautils.metrics.testimpl - package org.opendaylight.infrautils.metrics.testimpl
- org.opendaylight.infrautils.ready - package org.opendaylight.infrautils.ready
- org.opendaylight.infrautils.ready.guice - package org.opendaylight.infrautils.ready.guice
- org.opendaylight.infrautils.ready.karaf.internal - package org.opendaylight.infrautils.ready.karaf.internal
- org.opendaylight.infrautils.ready.order - package org.opendaylight.infrautils.ready.order
- org.opendaylight.infrautils.ready.spi - package org.opendaylight.infrautils.ready.spi
- org.opendaylight.infrautils.ready.testutils - package org.opendaylight.infrautils.ready.testutils
- org.opendaylight.infrautils.shell - package org.opendaylight.infrautils.shell
- org.opendaylight.infrautils.testutils - package org.opendaylight.infrautils.testutils
- org.opendaylight.infrautils.testutils.concurrent - package org.opendaylight.infrautils.testutils.concurrent
-
This package contains classes designed to help test concurrent aspects of target code.
- org.opendaylight.infrautils.testutils.internal - package org.opendaylight.infrautils.testutils.internal
- org.opendaylight.infrautils.testutils.mockito - package org.opendaylight.infrautils.testutils.mockito
- org.opendaylight.infrautils.testutils.web - package org.opendaylight.infrautils.testutils.web
- org.opendaylight.infrautils.utils - package org.opendaylight.infrautils.utils
- org.opendaylight.infrautils.utils.concurrent - package org.opendaylight.infrautils.utils.concurrent
-
General purpose concurrency related utilities.
- org.opendaylight.infrautils.utils.function - package org.opendaylight.infrautils.utils.function
- org.opendaylight.infrautils.utils.management - package org.opendaylight.infrautils.utils.management
- org.opendaylight.infrautils.utils.mdc - package org.opendaylight.infrautils.utils.mdc
- org.opendaylight.infrautils.utils.types - package org.opendaylight.infrautils.utils.types
- org.slf4j.impl - package org.slf4j.impl
- OsgiWebInitializer - Class in org.opendaylight.infrautils.diagstatus.web
-
Initializes and registers the
DiagStatusServlet
. - OsgiWebInitializer - Class in org.opendaylight.infrautils.metrics.prometheus.impl
-
Registers the MetricsServlet.
- OsgiWebInitializer(HttpService, CollectorRegistry) - Constructor for class org.opendaylight.infrautils.metrics.prometheus.impl.OsgiWebInitializer
- OsgiWebInitializer(HttpService, DiagStatusService) - Constructor for class org.opendaylight.infrautils.diagstatus.web.OsgiWebInitializer
P
- Partials - Class in org.opendaylight.infrautils.testutils
-
Creates instances of "partial" (abstract) test doubles.
- poll() - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobQueue
- port(int) - Method in class org.opendaylight.infrautils.metrics.sample.MetricsAdvancedExample.PortLabeledMeter
- PortLabeledMeter(Labeled<Labeled<Meter>>) - Constructor for class org.opendaylight.infrautils.metrics.sample.MetricsAdvancedExample.PortLabeledMeter
- POST - org.opendaylight.infrautils.testutils.web.TestWebClient.Method
- PostFullSystemInjectionListener - Interface in org.opendaylight.infrautils.inject
-
Callback invoked when dependency injection is fully complete.
- priority() - Method in class org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider
-
Priority for new threads from this factory.
- priority() - Method in class org.opendaylight.infrautils.utils.concurrent.ThreadFactoryProvider
-
Priority for new threads from this factory.
- priority(int) - Method in class org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider.Builder
-
Initializes the optional value
priority
to priority. - priority(int) - Method in interface org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider.BuildFinal
-
Initializes the optional value
priority
to priority. - priority(Optional<Integer>) - Method in class org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider.Builder
-
Initializes the optional value
priority
to priority. - priority(Optional<Integer>) - Method in interface org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider.BuildFinal
-
Initializes the optional value
priority
to priority. - probeConfiguration(TestProbeBuilder) - Method in class org.opendaylight.infrautils.itestutils.AbstractIntegrationTest
- project() - Method in class org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor
-
Name of OpenDaylight project the Metric is for, unique at opendaylight.org.
- project() - Method in class org.opendaylight.infrautils.metrics.MetricDescriptor
-
Name of OpenDaylight project the Metric is for, unique at opendaylight.org.
- project(String) - Method in class org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor.Builder
-
Initializes the value for the
project
attribute. - project(String) - Method in interface org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor.ProjectBuildStage
-
Initializes the value for the
project
attribute. - PROMETHEUS_METRICS_URL - Static variable in class org.opendaylight.infrautils.metrics.prometheus.impl.OsgiWebInitializer
- PrometheusMetricProviderImpl - Class in org.opendaylight.infrautils.metrics.prometheus.impl
-
Implementation of
MetricProvider
based on Prometheus.IO. - PrometheusMetricProviderImpl(CollectorRegistry) - Constructor for class org.opendaylight.infrautils.metrics.prometheus.impl.PrometheusMetricProviderImpl
-
Constructor.
- put(K, V) - Method in interface org.opendaylight.infrautils.caches.BaseCache
-
Puts a new entry into the Cache, replacing any existing one.
- put(String, String) - Static method in class org.opendaylight.infrautils.utils.mdc.MDCs
-
Minor improvement over
MDC.put(String, String)
. - put(K, V) - Method in class org.opendaylight.infrautils.caches.baseimpl.DelegatingNullSafeBaseCache
- PUT - org.opendaylight.infrautils.testutils.web.TestWebClient.Method
- putRunRemove(Runnable, MDCEntry...) - Static method in class org.opendaylight.infrautils.utils.mdc.MDCs
- putRunRemove(String, String, Runnable) - Static method in class org.opendaylight.infrautils.utils.mdc.MDCs
-
MDCs.put(String, String)
a key/val into the MDC, runs the providedRunnable
, and (ensure that) the given key isMDC.remove(String)
'd (even if there was an exception). - putRunRemove(Map<String, String>, Runnable) - Static method in class org.opendaylight.infrautils.utils.mdc.MDCs
-
MDCs.put(String, String)
each key/val of the passed Map into the MDC, runs the providedRunnable
, and (ensure that) the all keys of the Map areMDC.remove(String)
'd (even if there was an exception). - putRunRemove(MDCEntry, Runnable) - Static method in class org.opendaylight.infrautils.utils.mdc.MDCs
R
- readMBeanAttribute(String) - Method in class org.opendaylight.infrautils.utils.management.AbstractMXBean
-
Read an mbean attribute from the platform MBean server.
- ready() - Method in class org.opendaylight.infrautils.ready.spi.SimpleSystemReadyMonitor
- ReadyModule - Class in org.opendaylight.infrautils.ready.guice
- ReadyModule() - Constructor for class org.opendaylight.infrautils.ready.guice.ReadyModule
- realOrException() - Static method in class org.opendaylight.infrautils.testutils.mockito.MoreAnswers
-
Returns Mockito Answer (default) which forwards method calls or throws an UnstubbedMethodException.
- RECOVERED - org.opendaylight.infrautils.diagstatus.ServiceState
-
This state is used only by the monitor implementation and not by monitored services.
- register() - Method in class org.opendaylight.infrautils.utils.management.AbstractMXBean
-
This method is a wrapper for registerMBean with void return type so it can be invoked by dependency injection frameworks such as Spring and Blueprint.
- register(Class<T>) - Method in class org.opendaylight.infrautils.ready.karaf.internal.FunctionalityReadyNotifierImpl
- register(Class<T>) - Method in interface org.opendaylight.infrautils.ready.order.FunctionalityReadyNotifier
-
Register a
FunctionalityReady
marker. - register(String) - Method in interface org.opendaylight.infrautils.diagstatus.DiagStatusService
-
Register a service for status monitoring.
- register(String) - Method in class org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceImpl
- registerCacheManager(CacheManager) - Method in interface org.opendaylight.infrautils.caches.baseimpl.CacheManagersRegistry
-
Implementations of
CacheProvider
invoke this for each newCacheManager
they're about to return to users. - registerCacheManager(CacheManager) - Method in class org.opendaylight.infrautils.caches.baseimpl.internal.CacheManagersRegistryImpl
- registerListener(SystemReadyListener) - Method in class org.opendaylight.infrautils.ready.spi.SimpleSystemReadyMonitor
- registerListener(SystemReadyListener) - Method in interface org.opendaylight.infrautils.ready.SystemReadyMonitor
-
Allows components to register a listener which will be notified when the system ready state is changing.
- registerListener(SystemReadyListener) - Method in class org.opendaylight.infrautils.ready.testutils.TestSystemReadyMonitor
- registerMBean() - Method in class org.opendaylight.infrautils.utils.management.AbstractMXBean
-
Registers this bean with the platform MBean server with the domain defined by
AbstractMXBean.BASE_JMX_PREFIX
. - registerServerMBean(Object, String) - Static method in class org.opendaylight.infrautils.diagstatus.MBeanUtils
- registerServlet(Servlet, String) - Method in class org.opendaylight.infrautils.testutils.web.TestWebServer
- RememberingLogger - Class in org.opendaylight.infrautils.testutils.internal
-
A slf4j logger implementation which remembers log events.
- report(PrintWriter) - Method in class org.opendaylight.infrautils.metrics.internal.MetricsFileReporter
- report(SortedMap<String, Gauge>, SortedMap<String, Counter>, SortedMap<String, Histogram>, SortedMap<String, Meter>, SortedMap<String, Timer>) - Method in class org.opendaylight.infrautils.metrics.internal.MetricsFileReporter
- report(ServiceDescriptor) - Method in interface org.opendaylight.infrautils.diagstatus.DiagStatusService
-
Report the status of a service specified by the identifier.
- report(ServiceDescriptor) - Method in class org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceImpl
- request(TestWebClient.Method, String) - Method in class org.opendaylight.infrautils.testutils.web.TestWebClient
- REQUESTED_API_VERSION - Static variable in class org.slf4j.impl.StaticLoggerBinder
- resetLastError() - Static method in class org.opendaylight.infrautils.testutils.internal.RememberingLogger
- RMI_REGISTRY_PORT - Static variable in interface org.opendaylight.infrautils.diagstatus.DiagStatusServiceMBean
- RollbackCallable - Interface in org.opendaylight.infrautils.jobcoordinator
-
A callable which runs in case a job task fails.
- run() - Method in class org.opendaylight.infrautils.metrics.sample.MetricsAdvancedExample
- run() - Method in class org.opendaylight.infrautils.metrics.sample.MetricsExample
- run() - Method in class org.opendaylight.infrautils.ready.karaf.internal.KarafSystemReady
- run() - Method in class org.opendaylight.infrautils.utils.concurrent.LoggingUncaughtThreadDeathContextRunnable
-
Final run() method; subclasses implement
LoggingUncaughtThreadDeathContextRunnable.runWithUncheckedExceptionLogging()
instead of this. - run() - Method in interface org.opendaylight.infrautils.utils.function.CheckedRunnable
- run(PrintStream) - Method in class org.opendaylight.infrautils.shell.LoggingAction
- run(Runnable, ClassLoader) - Static method in class org.opendaylight.infrautils.utils.ClassLoaders
- run(CheckedRunnable<E>, ClassLoader) - Static method in class org.opendaylight.infrautils.utils.ClassLoaders
- runAfterBoth(CompletionStage<?>, Runnable) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- runAfterBothAsync(CompletionStage<?>, Runnable) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- runAfterBothAsync(CompletionStage<?>, Runnable, Executor) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- runAfterEither(CompletionStage<?>, Runnable) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- runAfterEitherAsync(CompletionStage<?>, Runnable) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- runAfterEitherAsync(CompletionStage<?>, Runnable, Executor) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- RunUntilFailureClassRule - Class in org.opendaylight.infrautils.testutils
-
See
RunUntilFailureRule
. - RunUntilFailureClassRule() - Constructor for class org.opendaylight.infrautils.testutils.RunUntilFailureClassRule
- RunUntilFailureClassRule(long) - Constructor for class org.opendaylight.infrautils.testutils.RunUntilFailureClassRule
- RunUntilFailureRule - Class in org.opendaylight.infrautils.testutils
-
JUnit Rule which allows to keep running tests indefinitely.
- RunUntilFailureRule(RunUntilFailureClassRule) - Constructor for class org.opendaylight.infrautils.testutils.RunUntilFailureRule
- runWithUncheckedExceptionLogging() - Method in class org.opendaylight.infrautils.utils.concurrent.LoggingUncaughtThreadDeathContextRunnable
-
Run method which you implement instead of the original
LoggingUncaughtThreadDeathContextRunnable.run()
.
S
- SampleCacheCommand - Class in org.opendaylight.infrautils.caches.sample.cli
-
Example CLI action calling a cached service.
- SampleCacheCommand() - Constructor for class org.opendaylight.infrautils.caches.sample.cli.SampleCacheCommand
- SampleService - Interface in org.opendaylight.infrautils.caches.sample
-
Example service, with an expensive operation, which SampleCachingService will cache.
- SampleServiceWithCachingImpl - Class in org.opendaylight.infrautils.caches.sample
-
Example service implementation.
- SampleServiceWithCachingImpl(CacheProvider) - Constructor for class org.opendaylight.infrautils.caches.sample.SampleServiceWithCachingImpl
- sayHello(String) - Method in interface org.opendaylight.infrautils.caches.sample.SampleService
- sayHello(String) - Method in class org.opendaylight.infrautils.caches.sample.SampleServiceWithCachingImpl
- sendRequest(HttpRequest) - Method in class org.opendaylight.infrautils.diagstatus.shell.HttpClient
- sendRequest(HttpRequest) - Method in interface org.opendaylight.infrautils.diagstatus.shell.HttpClientService
- serialize(Instant, Type, JsonSerializationContext) - Method in class org.opendaylight.infrautils.diagstatus.InstantSerializer
- ServiceDescriptor - Class in org.opendaylight.infrautils.diagstatus
-
Details of a registered service.
- ServiceDescriptor(String, Throwable) - Constructor for class org.opendaylight.infrautils.diagstatus.ServiceDescriptor
- ServiceDescriptor(String, ServiceState) - Constructor for class org.opendaylight.infrautils.diagstatus.ServiceDescriptor
- ServiceDescriptor(String, ServiceState, String) - Constructor for class org.opendaylight.infrautils.diagstatus.ServiceDescriptor
- ServiceRegistration - Interface in org.opendaylight.infrautils.diagstatus
-
A registration of a diagstatus "Service".
- ServiceState - Enum in org.opendaylight.infrautils.diagstatus
-
ServiceState for
ServiceState
. - ServiceStatusProvider - Interface in org.opendaylight.infrautils.diagstatus
-
Apps can register an implementation of this interface in the OSGi service registry if they want to expose their live status.
- ServiceStatusSummary - Class in org.opendaylight.infrautils.diagstatus
-
Summary of overall system service status.
- ServiceStatusSummary(boolean, SystemState, String, Collection<ServiceDescriptor>) - Constructor for class org.opendaylight.infrautils.diagstatus.ServiceStatusSummary
- setColumnNames(String...) - Method in class org.opendaylight.infrautils.utils.TablePrinter
- setColumnNumber(int) - Method in class org.opendaylight.infrautils.utils.TablePrinter
- setContentType(String) - Method in class org.opendaylight.infrautils.diagstatus.shell.HttpRequest
- setDeadlockedThreadsMaxLogIntervalSecs(int) - Method in class org.opendaylight.infrautils.metrics.internal.Configuration
- setEntity(String) - Method in class org.opendaylight.infrautils.diagstatus.shell.HttpRequest
- setExecutingEntry(JobEntry) - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobQueue
- setFileReporterIntervalSecs(int) - Method in class org.opendaylight.infrautils.metrics.internal.Configuration
- setHeaders(Map<String, List<String>>) - Method in class org.opendaylight.infrautils.diagstatus.shell.HttpRequest
- setMaxThreads(int) - Method in class org.opendaylight.infrautils.metrics.internal.Configuration
- setMaxThreadsMaxLogIntervalSecs(int) - Method in class org.opendaylight.infrautils.metrics.internal.Configuration
- setMethod(String) - Method in class org.opendaylight.infrautils.diagstatus.shell.HttpRequest
- setPolicy(CachePolicy) - Method in interface org.opendaylight.infrautils.caches.CacheManager
-
Update this Cache's policy.
- setSystemFailureCause(Throwable) - Method in class org.opendaylight.infrautils.ready.spi.SimpleSystemReadyMonitor
- setSystemState(SystemState) - Method in class org.opendaylight.infrautils.ready.spi.SimpleSystemReadyMonitor
- setThreadsWatcherIntervalMS(int) - Method in class org.opendaylight.infrautils.metrics.internal.Configuration
- setTimeout(int) - Method in class org.opendaylight.infrautils.diagstatus.shell.HttpRequest
- setTitle(String) - Method in class org.opendaylight.infrautils.utils.TablePrinter
- setUpGuice(Object) - Method in class org.opendaylight.infrautils.inject.guice.testutils.GuiceRule
- setUri(String) - Method in class org.opendaylight.infrautils.diagstatus.shell.HttpRequest
- shutdownAndAwaitTermination(ExecutorService) - Static method in class org.opendaylight.infrautils.utils.concurrent.Executors
- SimpleSystemReadyMonitor - Class in org.opendaylight.infrautils.ready.spi
-
SystemReadyMonitor
implementation for a "simple" (standalone, Java SE) environment. - SimpleSystemReadyMonitor() - Constructor for class org.opendaylight.infrautils.ready.spi.SimpleSystemReadyMonitor
- SlowExecutor - Class in org.opendaylight.infrautils.testutils.concurrent
-
An
Executor
that is intentionally slow. - SlowExecutor(Executor) - Constructor for class org.opendaylight.infrautils.testutils.concurrent.SlowExecutor
- StackTraces - Class in org.opendaylight.infrautils.utils
-
Utilities for
StackTraceElement
& Co. - stage - Variable in class org.opendaylight.infrautils.inject.guice.testutils.GuiceRule
- StandardCacheProvider - Class in org.opendaylight.infrautils.caches.standard
-
Default standard usual ordinary habitual ;)
CacheProvider
. - StandardCacheProvider(CacheManagersRegistry) - Constructor for class org.opendaylight.infrautils.caches.standard.StandardCacheProvider
- start() - Method in class org.opendaylight.infrautils.inject.AbstractLifecycle
- STARTING - org.opendaylight.infrautils.diagstatus.ServiceState
-
Move to this state when registration call is received from monitored service.
- startReporter() - Method in class org.opendaylight.infrautils.metrics.internal.MetricsFileReporter
- StaticLoggerBinder - Class in org.slf4j.impl
-
slf4j glue.
- statsEnabled() - Method in interface org.opendaylight.infrautils.caches.CachePolicy
-
Whether this cache has it statics enabled.
- statsEnabled(boolean) - Method in class org.opendaylight.infrautils.caches.CachePolicyBuilder
-
Initializes the value for the
statsEnabled
attribute. - stop() - Method in class org.opendaylight.infrautils.inject.AbstractLifecycle
- stop() - Method in class org.opendaylight.infrautils.ready.karaf.internal.KarafSystemReady
- submit(Runnable) - Method in class org.opendaylight.infrautils.testutils.concurrent.AwaitableExecutorService
- submit(Runnable, T) - Method in class org.opendaylight.infrautils.testutils.concurrent.AwaitableExecutorService
- submit(Callable<T>) - Method in class org.opendaylight.infrautils.testutils.concurrent.AwaitableExecutorService
- SUSPECTED - org.opendaylight.infrautils.diagstatus.ServiceState
-
This state is used only by the monitor implementation and not by monitored services.
- SystemReadyListener - Interface in org.opendaylight.infrautils.ready
-
Listener which can get notified when the system ready state is changing.
- SystemReadyMonitor - Interface in org.opendaylight.infrautils.ready
-
Service which provides technical system ready-ness status.
- SystemReadyMonitorMXBean - Interface in org.opendaylight.infrautils.ready
-
Service which exposes system ready-ness state as MBean.
- SystemState - Enum in org.opendaylight.infrautils.ready
-
System State.
T
- TablePrinter - Class in org.opendaylight.infrautils.utils
- TablePrinter() - Constructor for class org.opendaylight.infrautils.utils.TablePrinter
- TablePrinter(int) - Constructor for class org.opendaylight.infrautils.utils.TablePrinter
- tearDownGuice() - Method in class org.opendaylight.infrautils.inject.guice.testutils.GuiceRule
- TestableQueues - Class in org.opendaylight.infrautils.testutils.concurrent
-
Utility for tests to be able await a
Queue
becoming empty. - TestMetricProviderImpl - Class in org.opendaylight.infrautils.metrics.testimpl
-
Implementation of
MetricProvider
useful for unit and component tests. - TestMetricProviderImpl() - Constructor for class org.opendaylight.infrautils.metrics.testimpl.TestMetricProviderImpl
- TestSystemReadyMonitor - Class in org.opendaylight.infrautils.ready.testutils
-
SystemReadyMonitor
implementation suitable for tests. - TestSystemReadyMonitor(TestSystemReadyMonitor.Behaviour) - Constructor for class org.opendaylight.infrautils.ready.testutils.TestSystemReadyMonitor
- TestSystemReadyMonitor.Behaviour - Enum in org.opendaylight.infrautils.ready.testutils
- TestWebClient - Class in org.opendaylight.infrautils.testutils.web
-
HTTP Client.
- TestWebClient(String) - Constructor for class org.opendaylight.infrautils.testutils.web.TestWebClient
- TestWebClient(TestWebServer) - Constructor for class org.opendaylight.infrautils.testutils.web.TestWebClient
- TestWebClient.Method - Enum in org.opendaylight.infrautils.testutils.web
- TestWebServer - Class in org.opendaylight.infrautils.testutils.web
-
Simple Web server for easily testing
Servlet
s. - TestWebServer() - Constructor for class org.opendaylight.infrautils.testutils.web.TestWebServer
- TestWebServer(String, int, String) - Constructor for class org.opendaylight.infrautils.testutils.web.TestWebServer
- thenAccept(Consumer<? super T>) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- thenAcceptAsync(Consumer<? super T>) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- thenAcceptAsync(Consumer<? super T>, Executor) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- thenAcceptBoth(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>, Executor) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- thenApply(Function<? super T, ? extends U>) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- thenApplyAsync(Function<? super T, ? extends U>) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- thenApplyAsync(Function<? super T, ? extends U>, Executor) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- thenCombine(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>, Executor) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- thenCompose(Function<? super T, ? extends CompletionStage<U>>) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>, Executor) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- thenRun(Runnable) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- thenRunAsync(Runnable) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- thenRunAsync(Runnable, Executor) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- ThreadFactoryProvider - Class in org.opendaylight.infrautils.utils.concurrent
-
Builder for
ThreadFactory
. - ThreadFactoryProvider() - Constructor for class org.opendaylight.infrautils.utils.concurrent.ThreadFactoryProvider
- time(CheckedCallable<T, E>) - Method in interface org.opendaylight.infrautils.metrics.Timer
-
Times and records the duration of event which returns a value.
- time(CheckedRunnable<E>) - Method in interface org.opendaylight.infrautils.metrics.Timer
-
Times and records the duration of event.
- Timer - Interface in org.opendaylight.infrautils.metrics
-
A timer metric which aggregates timing durations.
- toCompletableFuture() - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- toCompletionStage(ListenableFuture<V>) - Static method in class org.opendaylight.infrautils.utils.concurrent.ListenableFutures
-
Converts a Guava ListenableFuture to a Java 8 CompletionStage.
- toCompletionStage(Future<V>) - Static method in class org.opendaylight.infrautils.utils.concurrent.JdkFutures
-
Converts a Java 5
Future
to a Java 8CompletionStage
. - toJSON() - Method in class org.opendaylight.infrautils.diagstatus.ServiceStatusSummary
- toListenableFuture(CompletableFuture<V>) - Static method in class org.opendaylight.infrautils.utils.concurrent.CompletableFutures
-
Converts a Java 8 CompletionStage to a Guava ListenableFuture.
- toListenableFuture(CompletionStage<V>) - Static method in class org.opendaylight.infrautils.utils.concurrent.CompletionStages
-
Converts a Java 8 CompletionStage to a Guava ListenableFuture.
- toListenableFuture(Future<V>) - Static method in class org.opendaylight.infrautils.utils.concurrent.JdkFutures
-
Converts a Java 5
Future
to a GuavaListenableFuture
. - toListenableFuture(Future<V>, Executor) - Static method in class org.opendaylight.infrautils.utils.concurrent.JdkFutures
-
Converts a Java 5
Future
to a GuavaListenableFuture
, using your own Executor. - toLogger(Logger) - Static method in class org.opendaylight.infrautils.utils.concurrent.LoggingThreadUncaughtExceptionHandler
-
Factory method to obtain an instance of this bound to the passed slf4j Logger.
- toString() - Method in class org.opendaylight.infrautils.diagstatus.ServiceDescriptor
- toString() - Method in class org.opendaylight.infrautils.diagstatus.ServiceStatusSummary
- toString() - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JcState
- toString() - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobCoordinatorImpl
- toString() - Method in class org.opendaylight.infrautils.jobcoordinator.internal.JobQueue
- toString() - Method in interface org.opendaylight.infrautils.jobcoordinator.JobCoordinatorMonitor
- toString() - Method in class org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor
-
Prints the immutable value
MetricDescriptor
with attribute values. - toString() - Method in class org.opendaylight.infrautils.metrics.internal.Configuration
- toString() - Method in class org.opendaylight.infrautils.testutils.LogCapture
- toString() - Method in class org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider
-
Prints the immutable value
ThreadFactoryProvider
with attribute values. - toString() - Method in class org.opendaylight.infrautils.utils.concurrent.NamedSimpleReentrantLock
- toString() - Method in class org.opendaylight.infrautils.utils.mdc.MDCEntry
- toString() - Method in class org.opendaylight.infrautils.utils.TablePrinter
- toString(Map<String, List<String>>) - Method in class org.opendaylight.infrautils.testutils.ClasspathHellDuplicatesChecker
- TRACE - org.opendaylight.infrautils.testutils.web.TestWebClient.Method
- tryAcquire() - Method in class org.opendaylight.infrautils.utils.concurrent.NamedSimpleReentrantLock
-
Acquires the lock for the given key only if it is not held by another thread at the time of invocation.
- tryAcquire(long, TimeUnit) - Method in class org.opendaylight.infrautils.utils.concurrent.NamedSimpleReentrantLock
-
Tries to acquire the lock for the given key if it is not held by another thread within the given waiting time.
- tryAcquire(T) - Method in class org.opendaylight.infrautils.utils.concurrent.NamedLocks
-
Acquires the lock for the given key only if it is not held by another thread at the time of invocation.
- tryAcquire(T, long, TimeUnit) - Method in class org.opendaylight.infrautils.utils.concurrent.NamedLocks
-
Tries to acquire the lock for the given key if it is not held by another thread within the given waiting time.
U
- uncaughtException(Thread, Throwable) - Method in class org.opendaylight.infrautils.utils.concurrent.LoggingThreadUncaughtExceptionHandler
- UncheckedCloseable - Interface in org.opendaylight.infrautils.utils
-
Something which can be
UncheckedCloseable.close()
'd. - UNLIMITED_ENTRIES - Static variable in interface org.opendaylight.infrautils.caches.CachePolicy
- unregister() - Method in interface org.opendaylight.infrautils.diagstatus.ServiceRegistration
-
Unregisters a service.
- unregister() - Method in interface org.opendaylight.infrautils.ready.order.FunctionalityReadyRegistration
- unregister() - Method in class org.opendaylight.infrautils.utils.management.AbstractMXBean
-
This method is a wrapper for unregisterMBean with void return type so it can be invoked by dependency injection frameworks such as Spring and Blueprint.
- UNREGISTERED - org.opendaylight.infrautils.diagstatus.ServiceState
-
This state is used only by the monitor implementation and not by monitored services.
- unregisterMBean() - Method in class org.opendaylight.infrautils.utils.management.AbstractMXBean
-
Unregisters this bean with the platform MBean server.
- unregisterServerMBean(Object, String) - Static method in class org.opendaylight.infrautils.diagstatus.MBeanUtils
- UnstubbedMethodException - Exception in org.opendaylight.infrautils.testutils.mockito
-
Exception to be thrown on unstubbed method calls.
- updateConfiguration(Configuration) - Method in class org.opendaylight.infrautils.metrics.internal.MetricProviderImpl
- updateProperties(Map<String, String>) - Method in class org.opendaylight.infrautils.metrics.internal.Configuration
V
- valueOf(String) - Static method in enum org.opendaylight.infrautils.diagstatus.ServiceState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.opendaylight.infrautils.ready.SystemState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.opendaylight.infrautils.ready.testutils.TestSystemReadyMonitor.Behaviour
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.opendaylight.infrautils.testutils.LogCapture.Level
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.opendaylight.infrautils.testutils.web.TestWebClient.Method
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.opendaylight.infrautils.diagstatus.ServiceState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.opendaylight.infrautils.ready.SystemState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.opendaylight.infrautils.ready.testutils.TestSystemReadyMonitor.Behaviour
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.opendaylight.infrautils.testutils.LogCapture.Level
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.opendaylight.infrautils.testutils.web.TestWebClient.Method
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- wasAcquired() - Method in class org.opendaylight.infrautils.utils.concurrent.NamedSimpleReentrantLock.Acquired
- wasAcquired() - Method in class org.opendaylight.infrautils.utils.concurrent.NamedSimpleReentrantLock.AcquireResult
-
Indication whether the lock operation succeeded, in which case this method returns true.
- whenComplete(BiConsumer<? super T, ? super Throwable>) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- whenCompleteAsync(BiConsumer<? super T, ? super Throwable>) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- whenCompleteAsync(BiConsumer<? super T, ? super Throwable>, Executor) - Method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
- withAnchor(Object) - Method in class org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor
-
Copy the current immutable object by setting a value for the
anchor
attribute. - withDaemon(boolean) - Method in class org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider
-
Copy the current immutable object by setting a value for the
daemon
attribute. - withDescription(String) - Method in class org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor
-
Copy the current immutable object by setting a value for the
description
attribute. - withId(String) - Method in class org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor
-
Copy the current immutable object by setting a value for the
id
attribute. - withLogger(Logger) - Method in class org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider
-
Copy the current immutable object by setting a value for the
logger
attribute. - withModule(String) - Method in class org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor
-
Copy the current immutable object by setting a value for the
module
attribute. - withNamePrefix(String) - Method in class org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider
-
Copy the current immutable object by setting a value for the
namePrefix
attribute. - withPriority(int) - Method in class org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider
-
Copy the current immutable object by setting a present value for the optional
priority
attribute. - withPriority(Optional<Integer>) - Method in class org.opendaylight.infrautils.utils.concurrent.ImmutableThreadFactoryProvider
-
Copy the current immutable object by setting an optional value for the
priority
attribute. - withProject(String) - Method in class org.opendaylight.infrautils.metrics.ImmutableMetricDescriptor
-
Copy the current immutable object by setting a value for the
project
attribute. - wrap(Runnable, ClassLoader) - Static method in class org.opendaylight.infrautils.utils.ClassLoaders
- wrap(Runnable, Logger, Supplier<String>) - Static method in class org.opendaylight.infrautils.utils.concurrent.LoggingUncaughtThreadDeathContextRunnable
-
Wraps an existing Runnable.
- wrap(CompletionStage<T>) - Static method in class org.opendaylight.infrautils.utils.concurrent.CompletionStageWrapper
All Classes All Packages