Package org.springframework.integration.util
@NullMarked
package org.springframework.integration.util
Provides core utility classes.
-
ClassDescriptionAn implementation of
CollectionFilterthat remembers the elements passed in the previous invocation in order to avoid returning those elements more than once.A MethodFilter implementation that enables the following: matching on method name, if available exclusion of void-returning methods if 'requiresReply' is true limiting to annotated methods if at least one is present .ARejectedExecutionHandlerthat blocks the caller until the executor has room in its queue, or a timeout occurs (in which case aRejectedExecutionExceptionis thrown.A Callable-like interface which allows throwing any Throwable.A Function-like interface which allows throwing Error.CheckedRunnable<E extends Throwable>A Runnable-like interface which allows throwing any Throwable.ACloseableIteratoris intended to be used when it may hold resources (such as file or socket handles).Base strategy for filtering out a subset of a Collection of elements.AnExecutorthat encapsulates two underlying executors.ATriggerthat delegates theCompoundTrigger.nextExecution(TriggerContext)to one of two Triggers.Additional utilities for working with Kotlin Coroutines.This is a dynamically changeableTrigger.ATaskExecutorimplementation that wraps an existing Executor instance in order to catch any exceptions.AMethodFilterimplementation that will always return the same Method instance within a single-element list if it is present in the candidate list.FunctionIterator<T,V> AnIteratorimplementation to convert each item from the targetFunctionIterator.iteratorto a new object applying theFunctionIterator.functiononFunctionIterator.next().Utilities for adapting integration components to/from reactive types.Utility methods to support annotation processing.Pool<T>Represents a pool of items.Thrown when a pooled item could not be obtained for some reason.SimplePool<T>Implementation ofPoolsupporting dynamic resizing and a variable timeout when attempting to obtain an item from the pool.User of the pool provide an implementation of this interface; called during various pool operations.Utility methods for analyzing stack traces.Thin wrapper around a Semaphore that allows to create a potentially unlimited upper bound to by used in buffers of messages (e.g.Utility to help generate UUID instances from generic objects.