Skip navigation links
A B C D E F G H I K L M N O P Q R S T U V W 

A

AbstractIdentifier<T> - Class in org.opendaylight.yangtools.util
An abstract Identifier backed by an immutable object.
AbstractIdentifier(T) - Constructor for class org.opendaylight.yangtools.util.AbstractIdentifier
 
AbstractStringIdentifier<T extends AbstractStringIdentifier<T>> - Class in org.opendaylight.yangtools.util
Utility Identifier backed by a UUID.
AbstractStringIdentifier(String) - Constructor for class org.opendaylight.yangtools.util.AbstractStringIdentifier
 
AbstractUUIDIdentifier<T extends AbstractUUIDIdentifier<T>> - Class in org.opendaylight.yangtools.util
Utility Identifier backed by a UUID.
AbstractUUIDIdentifier(UUID) - Constructor for class org.opendaylight.yangtools.util.AbstractUUIDIdentifier
 
add(E) - Method in class org.opendaylight.yangtools.util.concurrent.TrackingLinkedBlockingQueue
 
add(E) - Method in class org.opendaylight.yangtools.util.SingletonSet
 
add(E) - Method in class org.opendaylight.yangtools.util.UnmodifiableCollection
 
addAll(Collection<? extends E>) - Method in class org.opendaylight.yangtools.util.concurrent.TrackingLinkedBlockingQueue
 
addAll(Collection<? extends E>) - Method in class org.opendaylight.yangtools.util.SingletonSet
 
addAll(Collection<? extends E>) - Method in class org.opendaylight.yangtools.util.UnmodifiableCollection
 
addArgument(T) - Method in class org.opendaylight.yangtools.util.HashCodeBuilder
Update the internal hash code with the hash code of a component object.
addDuration(long) - Method in class org.opendaylight.yangtools.util.DurationStatisticsTracker
Add a duration to track.
addFirst(E) - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
addLast(E) - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
addListener(Runnable, Executor) - Method in class org.opendaylight.yangtools.util.concurrent.AsyncNotifyingListenableFutureTask
 
addToStringAttributes(MoreObjects.ToStringHelper) - Method in class org.opendaylight.yangtools.util.concurrent.AsyncNotifyingListeningExecutorService
 
addToStringAttributes(MoreObjects.ToStringHelper) - Method in class org.opendaylight.yangtools.util.concurrent.CachedThreadPoolExecutor
 
addToStringAttributes(MoreObjects.ToStringHelper) - Method in class org.opendaylight.yangtools.util.concurrent.FastThreadPoolExecutor
 
afterConstructor(Object) - Static method in class org.opendaylight.yangtools.util.RecursiveObjectLeaker
 
apply(Exception) - Method in class org.opendaylight.yangtools.util.concurrent.ExceptionMapper
 
AsyncNotifyingListenableFutureTask<V> - Class in org.opendaylight.yangtools.util.concurrent
A FutureTask that also implements the ListenableFuture interface similar to guava's ListenableFutureTask.
AsyncNotifyingListeningExecutorService - Class in org.opendaylight.yangtools.util.concurrent
An ListeningExecutorService implementation that also allows for an Executor to be specified on construction that is used to execute ListenableFuture callback Runnables, registered via Futures.addCallback(com.google.common.util.concurrent.ListenableFuture<V>, com.google.common.util.concurrent.FutureCallback<? super V>) or ListenableFuture.addListener(java.lang.Runnable, java.util.concurrent.Executor) directly, asynchronously when a task that is run on this executor completes.
AsyncNotifyingListeningExecutorService(ExecutorService, Executor) - Constructor for class org.opendaylight.yangtools.util.concurrent.AsyncNotifyingListeningExecutorService
Constructor.
awaitTermination(long, TimeUnit) - Method in class org.opendaylight.yangtools.util.concurrent.AsyncNotifyingListeningExecutorService
 

B

beforeConstructor(Object) - Static method in class org.opendaylight.yangtools.util.RecursiveObjectLeaker
 
build() - Method in class org.opendaylight.yangtools.util.HashCodeBuilder
 

C

CachedThreadPoolExecutor - Class in org.opendaylight.yangtools.util.concurrent
A ThreadPoolExecutor with a specified bounded queue capacity that favors reusing previously constructed threads, when they are available, over creating new threads.
CachedThreadPoolExecutor(int, int, String) - Constructor for class org.opendaylight.yangtools.util.concurrent.CachedThreadPoolExecutor
Constructs an instance.
ClassLoaderUtils - Class in org.opendaylight.yangtools.util
 
cleanStateForCurrentThread() - Static method in class org.opendaylight.yangtools.util.concurrent.AsyncNotifyingListenableFutureTask
Remove the state which may have attached to the calling thread.
cleanStateForCurrentThread() - Method in class org.opendaylight.yangtools.util.concurrent.DeadlockDetectingListeningExecutorService
Remove the state this instance may have attached to the calling thread.
cleanup() - Static method in class org.opendaylight.yangtools.util.RecursiveObjectLeaker
 
clear() - Method in class org.opendaylight.yangtools.util.ImmutableOffsetMap
 
clear() - Method in class org.opendaylight.yangtools.util.MutableOffsetMap
 
clear() - Method in class org.opendaylight.yangtools.util.SharedSingletonMap
 
clear() - Method in class org.opendaylight.yangtools.util.SingletonSet
 
clear() - Method in class org.opendaylight.yangtools.util.UnmodifiableCollection
 
clone() - Method in class org.opendaylight.yangtools.util.MutableOffsetMap
 
compareTo(T) - Method in class org.opendaylight.yangtools.util.AbstractStringIdentifier
 
compareTo(T) - Method in class org.opendaylight.yangtools.util.AbstractUUIDIdentifier
 
construct(Constructor<?>, List<Object>) - Static method in class org.opendaylight.yangtools.util.ClassLoaderUtils
 
contains(Object) - Method in class org.opendaylight.yangtools.util.UnmodifiableCollection
 
containsAll(Collection<?>) - Method in class org.opendaylight.yangtools.util.SingletonSet
 
containsAll(Collection<?>) - Method in class org.opendaylight.yangtools.util.UnmodifiableCollection
 
containsKey(Object) - Method in class org.opendaylight.yangtools.util.ImmutableOffsetMap
 
containsKey(Object) - Method in class org.opendaylight.yangtools.util.MutableOffsetMap
 
containsKey(Object) - Method in class org.opendaylight.yangtools.util.SharedSingletonMap
 
containsValue(Object) - Method in class org.opendaylight.yangtools.util.ImmutableOffsetMap
 
containsValue(Object) - Method in class org.opendaylight.yangtools.util.SharedSingletonMap
 
COPY_MAX_ITEMS_MAX_PROP - Static variable in class org.opendaylight.yangtools.util.MapAdaptor
 
CountingRejectedExecutionHandler - Class in org.opendaylight.yangtools.util.concurrent
A RejectedExecutionHandler that delegates to a backing RejectedExecutionHandler and counts the number of rejected tasks.
CountingRejectedExecutionHandler(RejectedExecutionHandler) - Constructor for class org.opendaylight.yangtools.util.concurrent.CountingRejectedExecutionHandler
Constructor.
create(Callable<V>, Executor) - Static method in class org.opendaylight.yangtools.util.concurrent.AsyncNotifyingListenableFutureTask
Creates an AsyncListenableFutureTask that will upon running, execute the given Callable.
create(Runnable, V, Executor) - Static method in class org.opendaylight.yangtools.util.concurrent.AsyncNotifyingListenableFutureTask
Creates a AsyncListenableFutureTask that will upon running, execute the given Runnable, and arrange that get will return the given result on successful completion.
create(ListenableFuture<V>, Function<Exception, X>) - Static method in class org.opendaylight.yangtools.util.concurrent.MappingCheckedFuture
Creates a new MappingCheckedFuture that wraps the given ListenableFuture delegate.
create(Executor, QueuedNotificationManager.BatchedInvoker<L, N>, int, String) - Static method in class org.opendaylight.yangtools.util.concurrent.QueuedNotificationManager
Create a new notification manager.
create(String, Class<X>) - Static method in class org.opendaylight.yangtools.util.concurrent.ReflectiveExceptionMapper
Create a new instance of the reflective exception mapper.
create() - Static method in class org.opendaylight.yangtools.util.ListenerRegistry
 
create(Collection<T>) - Static method in class org.opendaylight.yangtools.util.UnmodifiableCollection
Create an unmodifiable view of the target collection.
createConcurrent() - Static method in class org.opendaylight.yangtools.util.DurationStatisticsTracker
Create a concurrent DurationStatisticsTracker, which performs well in very contended environments.
createSynchronized() - Static method in class org.opendaylight.yangtools.util.DurationStatisticsTracker
Create a synchronized DurationStatisticsTracker, which performs well in non-contended environments.

D

DeadlockDetectingListeningExecutorService - Class in org.opendaylight.yangtools.util.concurrent
An implementation of ListeningExecutorService that attempts to detect deadlock scenarios that could occur if clients invoke the returned Future's get methods synchronously.
DeadlockDetectingListeningExecutorService(ExecutorService, Supplier<Exception>) - Constructor for class org.opendaylight.yangtools.util.concurrent.DeadlockDetectingListeningExecutorService
Constructor.
DeadlockDetectingListeningExecutorService(ExecutorService, Supplier<Exception>, Executor) - Constructor for class org.opendaylight.yangtools.util.concurrent.DeadlockDetectingListeningExecutorService
Constructor.
DEFAULT_COPY_MAX_ITEMS - Static variable in class org.opendaylight.yangtools.util.MapAdaptor
 
DEFAULT_PERSIST_MIN_ITEMS - Static variable in class org.opendaylight.yangtools.util.MapAdaptor
 
descendingIterator() - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
done() - Method in class org.opendaylight.yangtools.util.concurrent.AsyncNotifyingListenableFutureTask
Called by the base class when the future result is set.
DurationStatisticsTracker - Class in org.opendaylight.yangtools.util
Abstract class that calculates and tracks time duration statistics.
DurationStatisticsTracker() - Constructor for class org.opendaylight.yangtools.util.DurationStatisticsTracker
 

E

EmptyDeque<E> - Class in org.opendaylight.yangtools.util
A specialized always-empty implementation of Deque.
entrySet() - Method in class org.opendaylight.yangtools.util.ImmutableOffsetMap
 
entrySet() - Method in class org.opendaylight.yangtools.util.MutableOffsetMap
 
entrySet() - Method in class org.opendaylight.yangtools.util.SharedSingletonMap
 
equals(Object) - Method in class org.opendaylight.yangtools.util.AbstractIdentifier
 
equals(Object) - Method in class org.opendaylight.yangtools.util.ImmutableOffsetMap
 
equals(Object) - Method in class org.opendaylight.yangtools.util.MutableOffsetMap
 
equals(Object) - Method in class org.opendaylight.yangtools.util.SharedSingletonMap
 
equals(Object) - Method in class org.opendaylight.yangtools.util.SingletonSet
 
equalsHelper(T, Object, EvenMoreObjects.BooleanEqualsFunction<T>) - Static method in class org.opendaylight.yangtools.util.EvenMoreObjects
 
EvenMoreObjects - Class in org.opendaylight.yangtools.util
Utility helping to implement readable equals() methods.
EvenMoreObjects.BooleanEqualsFunction<T> - Interface in org.opendaylight.yangtools.util
 
ExceptionMapper<X extends Exception> - Class in org.opendaylight.yangtools.util.concurrent
Utility exception mapper which translates an Exception to a specified type of Exception.
ExceptionMapper(String, Class<X>) - Constructor for class org.opendaylight.yangtools.util.concurrent.ExceptionMapper
Constructor.
execute(Runnable) - Method in class org.opendaylight.yangtools.util.concurrent.AsyncNotifyingListeningExecutorService
 
execute(Runnable) - Method in class org.opendaylight.yangtools.util.concurrent.DeadlockDetectingListeningExecutorService
 
ExecutorServiceUtil - Class in org.opendaylight.yangtools.util
Utility methods for dealing with ExecutorServices.

F

FastThreadPoolExecutor - Class in org.opendaylight.yangtools.util.concurrent
A ThreadPoolExecutor with a specified bounded queue capacity that favors creating new threads over queuing, as the former is faster.
FastThreadPoolExecutor(int, int, String) - Constructor for class org.opendaylight.yangtools.util.concurrent.FastThreadPoolExecutor
Constructs a FastThreadPoolExecutor instance.
FastThreadPoolExecutor(int, int, long, TimeUnit, String) - Constructor for class org.opendaylight.yangtools.util.concurrent.FastThreadPoolExecutor
Constructs a FastThreadPoolExecutor instance.
findFirstGenericArgument(Class<S>, Class<G>) - Static method in class org.opendaylight.yangtools.util.ClassLoaderUtils
 
findParameterizedType(Class<?>, Class<?>) - Static method in class org.opendaylight.yangtools.util.ClassLoaderUtils
 

G

get() - Method in class org.opendaylight.yangtools.util.concurrent.MappingCheckedFuture
 
get(long, TimeUnit) - Method in class org.opendaylight.yangtools.util.concurrent.MappingCheckedFuture
 
get(Object) - Method in class org.opendaylight.yangtools.util.ImmutableOffsetMap
 
get(Object) - Method in class org.opendaylight.yangtools.util.MutableOffsetMap
 
get(byte) - Static method in class org.opendaylight.yangtools.util.OptionalBoolean
Decode boolean from a field value, just like Optional.get().
get(Object) - Method in class org.opendaylight.yangtools.util.SharedSingletonMap
 
getAverageDuration() - Method in class org.opendaylight.yangtools.util.DurationStatisticsTracker
Returns the average duration in nanoseconds.
getCurrentQueueSize() - Method in class org.opendaylight.yangtools.util.concurrent.ListenerNotificationQueueStats
Returns the current notification queue size.
getDefaultInstance() - Static method in class org.opendaylight.yangtools.util.MapAdaptor
Return the default-configured instance.
getDelegate() - Method in class org.opendaylight.yangtools.util.concurrent.AsyncNotifyingListeningExecutorService
Returns the delegate ExecutorService.
getDisplayableAverageDuration() - Method in class org.opendaylight.yangtools.util.DurationStatisticsTracker
Returns the average duration as a displayable String with units, e.g.
getDisplayableLongestDuration() - Method in class org.opendaylight.yangtools.util.DurationStatisticsTracker
Returns the longest duration as a displayable String with units and the date/time at which it occurred, e.g.
getDisplayableShortestDuration() - Method in class org.opendaylight.yangtools.util.DurationStatisticsTracker
Returns the shortest duration as a displayable String with units and the date/time at which it occurred, e.g.
getElement() - Method in class org.opendaylight.yangtools.util.SingletonSet
 
getExceptionType() - Method in class org.opendaylight.yangtools.util.concurrent.ExceptionMapper
Return the exception class produced by this instance.
getExecutor() - Method in class org.opendaylight.yangtools.util.concurrent.QueuedNotificationManager
Returns the Executor to used for notification tasks.
getFirst() - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
getFirstGenericParameter(Type) - Static method in class org.opendaylight.yangtools.util.ClassLoaderUtils
 
getInstance(boolean, int, int) - Static method in class org.opendaylight.yangtools.util.MapAdaptor
 
getIntSystemProperty(String, int) - Static method in class org.opendaylight.yangtools.util.PropertyUtils
Obtains the given property from the System properties and returns as an int.
getLargestQueueSize() - Method in class org.opendaylight.yangtools.util.concurrent.CachedThreadPoolExecutor
 
getLargestQueueSize() - Method in class org.opendaylight.yangtools.util.concurrent.FastThreadPoolExecutor
 
getLargestQueueSize() - Method in class org.opendaylight.yangtools.util.concurrent.TrackingLinkedBlockingQueue
Returns the largest queue size.
getLast() - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
getListenerClassName() - Method in class org.opendaylight.yangtools.util.concurrent.ListenerNotificationQueueStats
Returns the name of the listener class.
getListenerNotificationQueueStats() - Method in class org.opendaylight.yangtools.util.concurrent.QueuedNotificationManager
Returns ListenerNotificationQueueStats instances for each current listener notification task in progress.
getListeners() - Method in class org.opendaylight.yangtools.util.ListenerRegistry
 
getLongest() - Method in class org.opendaylight.yangtools.util.DurationStatisticsTracker
Get the longest recorded duration and the time when it was recorded.
getLongestDuration() - Method in class org.opendaylight.yangtools.util.DurationStatisticsTracker
Returns the longest duration in nanoseconds.
getMaxQueueCapacity() - Method in class org.opendaylight.yangtools.util.concurrent.QueuedNotificationManager
Returns the maximum listener queue capacity.
getQueue() - Method in class org.opendaylight.yangtools.util.concurrent.CachedThreadPoolExecutor
 
getRejectedExecutionHandler() - Method in class org.opendaylight.yangtools.util.concurrent.CachedThreadPoolExecutor
 
getRejectedTaskCount() - Method in class org.opendaylight.yangtools.util.concurrent.CountingRejectedExecutionHandler
Returns the rejected task count.
getShortest() - Method in class org.opendaylight.yangtools.util.DurationStatisticsTracker
Get the shortest recorded duration and the time when it was recorded.
getShortestDuration() - Method in class org.opendaylight.yangtools.util.DurationStatisticsTracker
Returns the shortest duration in nanoseconds.
getTimeOfLongestDuration() - Method in class org.opendaylight.yangtools.util.DurationStatisticsTracker
Returns the time stamp of the longest duration.
getTimeOfShortestDuration() - Method in class org.opendaylight.yangtools.util.DurationStatisticsTracker
Returns the time stamp of the shortest duration.
getTotalDurations() - Method in class org.opendaylight.yangtools.util.DurationStatisticsTracker
Returns the total number of tracked durations.
getValue() - Method in class org.opendaylight.yangtools.util.AbstractIdentifier
 

H

hashCode() - Method in class org.opendaylight.yangtools.util.AbstractIdentifier
 
hashCode() - Method in class org.opendaylight.yangtools.util.ImmutableOffsetMap
 
hashCode() - Method in class org.opendaylight.yangtools.util.MutableOffsetMap
 
hashCode() - Method in class org.opendaylight.yangtools.util.SharedSingletonMap
 
hashCode() - Method in class org.opendaylight.yangtools.util.SingletonSet
 
HashCodeBuilder<T> - Class in org.opendaylight.yangtools.util
Utility class for incrementally building object hashCode by hashing together component objects, one by one.
HashCodeBuilder() - Constructor for class org.opendaylight.yangtools.util.HashCodeBuilder
Create a new instance, with internal hash initialized to 1, equivalent of HashCodeBuilder(1).
HashCodeBuilder(int) - Constructor for class org.opendaylight.yangtools.util.HashCodeBuilder
Create a new instance, with internal hash set to specified seed.

I

Identifiables - Class in org.opendaylight.yangtools.util
Deprecated.
identifierExtractor() - Static method in class org.opendaylight.yangtools.util.Identifiables
Deprecated.
Use Identifiable::getIdentifier instead
ImmutableOffsetMap<K,V> - Class in org.opendaylight.yangtools.util
Implementation of the Map interface which stores a set of immutable mappings using a key-to-offset map and a backing array.
Immutables - Class in org.opendaylight.yangtools.util
 
inConstructor(Object) - Static method in class org.opendaylight.yangtools.util.RecursiveObjectLeaker
 
initialSnapshot(int) - Method in class org.opendaylight.yangtools.util.MapAdaptor
Creates an initial snapshot.
instance() - Static method in class org.opendaylight.yangtools.util.EmptyDeque
 
invokeListener(L, Collection<? extends N>) - Method in interface org.opendaylight.yangtools.util.concurrent.QueuedNotificationManager.BatchedInvoker
Called to invoke a listener with a notification.
invokeListener(L, N) - Method in interface org.opendaylight.yangtools.util.concurrent.QueuedNotificationManager.Invoker
Deprecated.
Called to invoke a listener with a notification.
isEmpty() - Method in class org.opendaylight.yangtools.util.ImmutableOffsetMap
 
isEmpty() - Method in class org.opendaylight.yangtools.util.MutableOffsetMap
 
isEmpty() - Method in class org.opendaylight.yangtools.util.SharedSingletonMap
 
isEmpty() - Method in class org.opendaylight.yangtools.util.SingletonSet
 
isEmpty() - Method in class org.opendaylight.yangtools.util.UnmodifiableCollection
 
isImmutable(Object) - Static method in class org.opendaylight.yangtools.util.Immutables
Determines if object is known to be immutable
isPresent(byte) - Static method in class org.opendaylight.yangtools.util.OptionalBoolean
Check if a field value has been set, just like Optional.isPresent().
isShutdown() - Method in class org.opendaylight.yangtools.util.concurrent.AsyncNotifyingListeningExecutorService
 
isTerminated() - Method in class org.opendaylight.yangtools.util.concurrent.AsyncNotifyingListeningExecutorService
 
iterator() - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
iterator() - Method in class org.opendaylight.yangtools.util.ListenerRegistry
 
iterator() - Method in class org.opendaylight.yangtools.util.SingletonSet
 
iterator() - Method in class org.opendaylight.yangtools.util.UnmodifiableCollection
 

K

keySet() - Method in class org.opendaylight.yangtools.util.ImmutableOffsetMap
 
keySet() - Method in class org.opendaylight.yangtools.util.MutableOffsetMap
 
keySet() - Method in class org.opendaylight.yangtools.util.SharedSingletonMap
 
KNOWN_IMMUTABLES - Static variable in class org.opendaylight.yangtools.util.Immutables
 

L

lazyAdd(List<T>, T) - Static method in class org.opendaylight.yangtools.util.LazyCollections
Add an element to a list, potentially transforming the list.
LazyCollections - Class in org.opendaylight.yangtools.util
Utility methods for lazily instantiated collections.
ListenerNotificationQueueStats - Class in org.opendaylight.yangtools.util.concurrent
Class used by the QueuedNotificationManager that contains a snapshot of notification queue statistics for a listener.
ListenerNotificationQueueStats(String, int) - Constructor for class org.opendaylight.yangtools.util.concurrent.ListenerNotificationQueueStats
 
ListenerRegistry<T extends EventListener> - Class in org.opendaylight.yangtools.util
 
ListenerRegistry() - Constructor for class org.opendaylight.yangtools.util.ListenerRegistry
 
loadClass(ClassLoader, String) - Static method in class org.opendaylight.yangtools.util.ClassLoaderUtils
Loads class using this supplied classloader.
loadClassWithTCCL(String) - Static method in class org.opendaylight.yangtools.util.ClassLoaderUtils
 
lookup(Object, Class<T>) - Static method in class org.opendaylight.yangtools.util.RecursiveObjectLeaker
 

M

MapAdaptor - Class in org.opendaylight.yangtools.util
A simple layer on top of maps, which performs snapshot mediation and optimization of what the underlying implementation is.
mapException(Exception) - Method in class org.opendaylight.yangtools.util.concurrent.MappingCheckedFuture
 
MappingCheckedFuture<V,X extends Exception> - Class in org.opendaylight.yangtools.util.concurrent
An implementation of CheckedFuture that provides similar behavior for the get methods that the checkedGet methods provide.
ModifiableMapPhase<K,V> - Interface in org.opendaylight.yangtools.util
A Map which can be modified and supports efficient conversion to an unmodifiable map.
MutableOffsetMap<K,V> - Class in org.opendaylight.yangtools.util
A mutable version of ImmutableOffsetMap.

N

newAbortPolicy() - Static method in class org.opendaylight.yangtools.util.concurrent.CountingRejectedExecutionHandler
Returns a counting handler for rejected tasks that throws a RejectedExecutionException.
newBlockingBoundedCachedThreadPool(int, int, String) - Static method in class org.opendaylight.yangtools.util.concurrent.SpecialExecutors
Creates an ExecutorService similar to SpecialExecutors.newBoundedCachedThreadPool(int, int, java.lang.String) except that it handles rejected tasks by running them in the same thread as the caller.
newBlockingBoundedFastThreadPool(int, int, String) - Static method in class org.opendaylight.yangtools.util.concurrent.SpecialExecutors
Creates an ExecutorService similar to SpecialExecutors.newBoundedFastThreadPool(int, int, java.lang.String) except that it handles rejected tasks by running them in the same thread as the caller.
newBoundedCachedThreadPool(int, int, String) - Static method in class org.opendaylight.yangtools.util.concurrent.SpecialExecutors
Creates an ExecutorService with a specified bounded queue capacity that favors reusing previously constructed threads, when they are available, over creating new threads.
newBoundedFastThreadPool(int, int, String) - Static method in class org.opendaylight.yangtools.util.concurrent.SpecialExecutors
Creates an ExecutorService with a specified bounded queue capacity that favors creating new threads over queuing, as the former is faster, so threads will only be reused when the thread limit is exceeded and tasks are queued.
newBoundedSingleThreadExecutor(int, String) - Static method in class org.opendaylight.yangtools.util.concurrent.SpecialExecutors
Creates an ExecutorService that uses a single worker thread operating off a bounded queue with the specified capacity.
newCallerRunsPolicy() - Static method in class org.opendaylight.yangtools.util.concurrent.CountingRejectedExecutionHandler
Returns s counting handler for rejected tasks that runs the rejected task directly in the calling thread of the execute method, unless the executor has been shut down, in which case the task is discarded.
newCallerWaitsPolicy() - Static method in class org.opendaylight.yangtools.util.concurrent.CountingRejectedExecutionHandler
Returns a counting handler for rejected tasks that that blocks on the ThreadPoolExecutor's backing queue until it can add the task to the queue.
newDocumentBuilder() - Static method in class org.opendaylight.yangtools.util.xml.UntrustedXML
Create a new DocumentBuilder for dealing with untrusted XML data.
newSAXParser() - Static method in class org.opendaylight.yangtools.util.xml.UntrustedXML
Create a new SAXParser for dealing with untrusted XML data.
newWithCause(String, Throwable) - Method in class org.opendaylight.yangtools.util.concurrent.ExceptionMapper
Invoked to create a new exception instance of the specified type.
newWithCause(String, Throwable) - Method in class org.opendaylight.yangtools.util.concurrent.ReflectiveExceptionMapper
 
nextHashCode(int, Object) - Static method in class org.opendaylight.yangtools.util.HashCodeBuilder
Determine the next hash code combining a base hash code and the hash code of an object.
NotificationManager<L,N> - Interface in org.opendaylight.yangtools.util.concurrent
Interface for a class that manages queuing and dispatching notifications for multiple listeners.

O

of(boolean) - Static method in class org.opendaylight.yangtools.util.OptionalBoolean
Encode a boolean to a field value, just like Optional.of(Object).
of(E) - Static method in class org.opendaylight.yangtools.util.SingletonSet
 
offer(E, long, TimeUnit) - Method in class org.opendaylight.yangtools.util.concurrent.TrackingLinkedBlockingQueue
 
offer(E) - Method in class org.opendaylight.yangtools.util.concurrent.TrackingLinkedBlockingQueue
 
offer(E) - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
offerFailingBlockingQueue(BlockingQueue<E>) - Static method in class org.opendaylight.yangtools.util.ExecutorServiceUtil
Creates a BlockingQueue which does not allow for non-blocking addition to the queue.
offerFirst(E) - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
offerLast(E) - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
ofNullable(Boolean) - Static method in class org.opendaylight.yangtools.util.OptionalBoolean
Convert a nullable Boolean into a field value, just like Optional.ofNullable(Object).
optimize(Map<K, V>) - Method in class org.opendaylight.yangtools.util.MapAdaptor
Input will be thrown away, result will be retained for read-only access or MapAdaptor.takeSnapshot(Map) purposes.
OptionalBoolean - Class in org.opendaylight.yangtools.util
Utility class for storing an optional boolean in a single byte value.
ordered() - Static method in class org.opendaylight.yangtools.util.MutableOffsetMap
 
orderedCopyOf(Map<K, V>) - Static method in class org.opendaylight.yangtools.util.ImmutableOffsetMap
Create an ImmutableOffsetMap as a copy of an existing map.
orderedCopyOf(Map<K, V>) - Static method in class org.opendaylight.yangtools.util.MutableOffsetMap
 
orderedCopyOf(Map<K, V>) - Static method in class org.opendaylight.yangtools.util.SharedSingletonMap
 
orderedOf(K, V) - Static method in class org.opendaylight.yangtools.util.SharedSingletonMap
 
org.opendaylight.yangtools.util - package org.opendaylight.yangtools.util
 
org.opendaylight.yangtools.util.concurrent - package org.opendaylight.yangtools.util.concurrent
 
org.opendaylight.yangtools.util.xml - package org.opendaylight.yangtools.util.xml
 

P

peek() - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
peekFirst() - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
peekLast() - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
PERSIST_MIN_ITEMS_PROP - Static variable in class org.opendaylight.yangtools.util.MapAdaptor
 
poll() - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
pollFirst() - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
pollLast() - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
pop() - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
PropertyUtils - Class in org.opendaylight.yangtools.util
Provides utilities for system properties.
push(E) - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
put(E) - Method in class org.opendaylight.yangtools.util.concurrent.TrackingLinkedBlockingQueue
 
put(K, V) - Method in class org.opendaylight.yangtools.util.ImmutableOffsetMap
 
put(K, V) - Method in class org.opendaylight.yangtools.util.MutableOffsetMap
 
put(K, V) - Method in class org.opendaylight.yangtools.util.SharedSingletonMap
 
putAll(Map<? extends K, ? extends V>) - Method in class org.opendaylight.yangtools.util.ImmutableOffsetMap
 
putAll(Map<? extends K, ? extends V>) - Method in class org.opendaylight.yangtools.util.SharedSingletonMap
 

Q

QueuedNotificationManager<L,N> - Class in org.opendaylight.yangtools.util.concurrent
This class manages queuing and dispatching notifications for multiple listeners concurrently.
QueuedNotificationManager(Executor, QueuedNotificationManager.Invoker<L, N>, int, String) - Constructor for class org.opendaylight.yangtools.util.concurrent.QueuedNotificationManager
QueuedNotificationManager.BatchedInvoker<L,N> - Interface in org.opendaylight.yangtools.util.concurrent
 
QueuedNotificationManager.Invoker<L,N> - Interface in org.opendaylight.yangtools.util.concurrent

R

RecursiveObjectLeaker - Class in org.opendaylight.yangtools.util
Thread-local hack to make recursive extensions work without too much hassle.
ReflectiveExceptionMapper<X extends Exception> - Class in org.opendaylight.yangtools.util.concurrent
Convenience ExceptionMapper which instantiates specified Exception using reflection.
register(T) - Method in class org.opendaylight.yangtools.util.ListenerRegistry
 
registerWithType(L) - Method in class org.opendaylight.yangtools.util.ListenerRegistry
 
rejectedExecution(Runnable, ThreadPoolExecutor) - Method in class org.opendaylight.yangtools.util.concurrent.CountingRejectedExecutionHandler
 
remove(Object) - Method in class org.opendaylight.yangtools.util.ImmutableOffsetMap
 
remove(Object) - Method in class org.opendaylight.yangtools.util.MutableOffsetMap
 
remove(Object) - Method in class org.opendaylight.yangtools.util.SharedSingletonMap
 
remove(Object) - Method in class org.opendaylight.yangtools.util.SingletonSet
 
remove(Object) - Method in class org.opendaylight.yangtools.util.UnmodifiableCollection
 
removeAll(Collection<?>) - Method in class org.opendaylight.yangtools.util.SingletonSet
 
removeAll(Collection<?>) - Method in class org.opendaylight.yangtools.util.UnmodifiableCollection
 
removeFirst() - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
removeFirstOccurrence(Object) - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
removeLast() - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
removeLastOccurrence(Object) - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
reset() - Method in class org.opendaylight.yangtools.util.DurationStatisticsTracker
Resets all statistics back to their defaults.
retainAll(Collection<?>) - Method in class org.opendaylight.yangtools.util.SingletonSet
 
retainAll(Collection<?>) - Method in class org.opendaylight.yangtools.util.UnmodifiableCollection
 

S

setRejectedExecutionHandler(RejectedExecutionHandler) - Method in class org.opendaylight.yangtools.util.concurrent.CachedThreadPoolExecutor
 
SharedSingletonMap<K,V> - Class in org.opendaylight.yangtools.util
Implementation of the Map interface which stores a single mapping.
shutdown() - Method in class org.opendaylight.yangtools.util.concurrent.AsyncNotifyingListeningExecutorService
 
shutdownNow() - Method in class org.opendaylight.yangtools.util.concurrent.AsyncNotifyingListeningExecutorService
 
SingletonSet<E> - Class in org.opendaylight.yangtools.util
A Set containing a single value.
SingletonSet() - Constructor for class org.opendaylight.yangtools.util.SingletonSet
 
size() - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
size() - Method in class org.opendaylight.yangtools.util.ImmutableOffsetMap
 
size() - Method in class org.opendaylight.yangtools.util.MutableOffsetMap
 
size() - Method in class org.opendaylight.yangtools.util.SharedSingletonMap
 
size() - Method in class org.opendaylight.yangtools.util.SingletonSet
 
size() - Method in class org.opendaylight.yangtools.util.UnmodifiableCollection
 
SpecialExecutors - Class in org.opendaylight.yangtools.util.concurrent
Factory methods for creating ExecutorService instances with specific configurations.
spliterator() - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
submit(Callable<T>) - Method in class org.opendaylight.yangtools.util.concurrent.AsyncNotifyingListeningExecutorService
 
submit(Runnable) - Method in class org.opendaylight.yangtools.util.concurrent.AsyncNotifyingListeningExecutorService
 
submit(Runnable, T) - Method in class org.opendaylight.yangtools.util.concurrent.AsyncNotifyingListeningExecutorService
 
submit(Callable<T>) - Method in class org.opendaylight.yangtools.util.concurrent.DeadlockDetectingListeningExecutorService
 
submit(Runnable) - Method in class org.opendaylight.yangtools.util.concurrent.DeadlockDetectingListeningExecutorService
 
submit(Runnable, T) - Method in class org.opendaylight.yangtools.util.concurrent.DeadlockDetectingListeningExecutorService
 
submitNotification(L, N) - Method in interface org.opendaylight.yangtools.util.concurrent.NotificationManager
Submits a notification to be queued and dispatched to the given listener.
submitNotification(L, N) - Method in class org.opendaylight.yangtools.util.concurrent.QueuedNotificationManager
 
submitNotifications(L, Iterable<N>) - Method in interface org.opendaylight.yangtools.util.concurrent.NotificationManager
Submits notifications to be queued and dispatched to the given listener.
submitNotifications(L, Iterable<N>) - Method in class org.opendaylight.yangtools.util.concurrent.QueuedNotificationManager
 

T

takeSnapshot(Map<K, V>) - Method in class org.opendaylight.yangtools.util.MapAdaptor
Input is treated is supposed to be left unmodified, result must be mutable.
toArray() - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
toArray(T[]) - Method in class org.opendaylight.yangtools.util.EmptyDeque
 
toArray() - Method in class org.opendaylight.yangtools.util.SingletonSet
 
toArray(T[]) - Method in class org.opendaylight.yangtools.util.SingletonSet
 
toArray() - Method in class org.opendaylight.yangtools.util.UnmodifiableCollection
 
toArray(T[]) - Method in class org.opendaylight.yangtools.util.UnmodifiableCollection
 
toModifiableMap() - Method in class org.opendaylight.yangtools.util.ImmutableOffsetMap
 
toModifiableMap() - Method in interface org.opendaylight.yangtools.util.UnmodifiableMapPhase
Return an isolated modifiable version of this map.
toNullable(byte) - Static method in class org.opendaylight.yangtools.util.OptionalBoolean
Convert a field value to a nullable Boolean.
toOptional(byte) - Static method in class org.opendaylight.yangtools.util.OptionalBoolean
Convert a field value into an Optional Boolean.
toString() - Method in class org.opendaylight.yangtools.util.AbstractIdentifier
 
toString() - Method in class org.opendaylight.yangtools.util.concurrent.AsyncNotifyingListeningExecutorService
 
toString() - Method in class org.opendaylight.yangtools.util.concurrent.CachedThreadPoolExecutor
 
toString() - Method in class org.opendaylight.yangtools.util.concurrent.FastThreadPoolExecutor
 
toString() - Method in class org.opendaylight.yangtools.util.ImmutableOffsetMap
 
toString(byte) - Static method in class org.opendaylight.yangtools.util.OptionalBoolean
Convert a field value into a String representation.
toString() - Method in class org.opendaylight.yangtools.util.SharedSingletonMap
 
toString() - Method in class org.opendaylight.yangtools.util.UnmodifiableCollection
 
toUnmodifiableMap() - Method in interface org.opendaylight.yangtools.util.ModifiableMapPhase
Return an isolated unmodifiable version of this map.
toUnmodifiableMap() - Method in class org.opendaylight.yangtools.util.MutableOffsetMap
 
TrackingLinkedBlockingQueue<E> - Class in org.opendaylight.yangtools.util.concurrent
A LinkedBlockingQueue that tracks the largest queue size for debugging.
TrackingLinkedBlockingQueue() - Constructor for class org.opendaylight.yangtools.util.concurrent.TrackingLinkedBlockingQueue
 
TrackingLinkedBlockingQueue(Collection<? extends E>) - Constructor for class org.opendaylight.yangtools.util.concurrent.TrackingLinkedBlockingQueue
 
TrackingLinkedBlockingQueue(int) - Constructor for class org.opendaylight.yangtools.util.concurrent.TrackingLinkedBlockingQueue
 
tryGracefulShutdown(ExecutorService, long, TimeUnit) - Static method in class org.opendaylight.yangtools.util.ExecutorServiceUtil
Tries to shutdown the given executor gracefully by awaiting termination for the given timeout period.
tryToLoadClassWithTCCL(String) - Static method in class org.opendaylight.yangtools.util.ClassLoaderUtils
 

U

UnmodifiableCollection<E> - Class in org.opendaylight.yangtools.util
An unmodifiable view over a Collection.
UnmodifiableMapPhase<K,V> - Interface in org.opendaylight.yangtools.util
A Map which cannot be modified and supports efficient conversion to a ModifiableMapPhase.
unordered() - Static method in class org.opendaylight.yangtools.util.MutableOffsetMap
 
unorderedCopyOf(Map<K, V>) - Static method in class org.opendaylight.yangtools.util.ImmutableOffsetMap
Create an ImmutableOffsetMap as a copy of an existing map.
unorderedCopyOf(Map<K, V>) - Static method in class org.opendaylight.yangtools.util.MutableOffsetMap
 
unorderedCopyOf(Map<K, V>) - Static method in class org.opendaylight.yangtools.util.SharedSingletonMap
 
unorderedOf(K, V) - Static method in class org.opendaylight.yangtools.util.SharedSingletonMap
 
UntrustedXML - Class in org.opendaylight.yangtools.util.xml
Set of utility methods for instantiating parser that deal with untrusted XML sources.
UntrustedXML() - Constructor for class org.opendaylight.yangtools.util.xml.UntrustedXML
 

V

values() - Method in class org.opendaylight.yangtools.util.ImmutableOffsetMap
 
values() - Method in class org.opendaylight.yangtools.util.SharedSingletonMap
 

W

waitInQueueExecutionHandler() - Static method in class org.opendaylight.yangtools.util.ExecutorServiceUtil
Returns a RejectedExecutionHandler which blocks on the ThreadPoolExecutor's backing queue if a new thread cannot be spawned.
withClassLoader(ClassLoader, Supplier<V>) - Static method in class org.opendaylight.yangtools.util.ClassLoaderUtils
Runs Supplier with provided ClassLoader.
withClassLoader(ClassLoader, Callable<V>) - Static method in class org.opendaylight.yangtools.util.ClassLoaderUtils
Runs Callable with provided ClassLoader.
A B C D E F G H I K L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2018 OpenDaylight. All rights reserved.