- checkResult(Result<E>) - Static method in class org.swblocks.jbl.eh.EhSupport
-
Checks if Result object is successful and returns the actual result value.
- CollectionUtils - Class in org.swblocks.jbl.collections
-
Collection Utilities.
- ComponentLifecycle - Interface in org.swblocks.jbl.lifecycle
-
A common interface defining methods for start/stop lifecycle control for components to implement and can be
integrated into the JBL lifecycle process.
- ComponentLifecycleManager - Class in org.swblocks.jbl.lifecycle
-
- ComponentLifecycleManager(List<ComponentLifecycle>) - Constructor for class org.swblocks.jbl.lifecycle.ComponentLifecycleManager
-
Constructs the
ComponentLifecycleManager with the
List of
ComponentLifecycle objects to
manage.
- ComponentLoaderUtils - Class in org.swblocks.jbl.lifecycle
-
Class to load additional
ComponentLifecycle components at runtime as defined by an external file mapping of
resources to load.
- createCappedIncrementingTimeGenerator(long, long, long, int) - Static method in class org.swblocks.jbl.util.retry.Retrier
-
Method to create a capped time incrementing time generator (iterator) from the specified arguments.
- createConstantTimeGenerator(long) - Static method in class org.swblocks.jbl.util.retry.Retrier
-
Create a constant time generator.
- createContinuousSleepRetrier(Supplier<Iterator<Long>>) - Static method in class org.swblocks.jbl.util.retry.Retrier
-
Method to create an ActionRetrier that has no limit on the the number of retry attempts.
- createDefaultCappedIncrementingRetrier() - Static method in class org.swblocks.jbl.util.retry.Retrier
-
Create a retrier that that will increment the time between retry attempts if a failure occurs.
- createDefaultContinuousCappedIncrementingRetrier() - Static method in class org.swblocks.jbl.util.retry.Retrier
-
Create a retrier that will keep retrying the action until success and incrementing the time between attempts.
- createDefaultContinuousConstantSleepRetrier() - Static method in class org.swblocks.jbl.util.retry.Retrier
-
Create a retrier that will continually retry with a constant time between retry attempts.
- createDefaultExceptionPredicate() - Static method in class org.swblocks.jbl.util.retry.Retrier
-
A predicate that returns true for any exceptions derived from Exception.
- createDefaultSingleSleepRetrier() - Static method in class org.swblocks.jbl.util.retry.Retrier
-
Create a retrier that will retry an action once if the action fails.
- createNonRetrier() - Static method in class org.swblocks.jbl.util.retry.Retrier
-
Create a retrier that executes the action once only and will never retry.
- createSleepRetrier(Supplier<Iterator<Long>>, int) - Static method in class org.swblocks.jbl.util.retry.Retrier
-
Method to return a ActionRetrier to execute an action.
- createStarted() - Static method in class org.swblocks.jbl.monitoring.Timer
-
Creates and returns a Timer which is already started and running.
- get() - Method in interface org.swblocks.jbl.functional.ThrowsSupplier
-
Gets a result.
- getBuiltInProperties() - Static method in class org.swblocks.jbl.eh.EhCoreProperties
-
Obtains read-only view of the built in properties and their expected types.
- getCache(int, int, float) - Static method in class org.swblocks.jbl.cache.LruCache
-
Static method to create and return an new instance of a simple LRU cache.
- getCallerFrame() - Method in exception org.swblocks.jbl.eh.BaseException
-
Gets the caller frame.
- getData() - Method in class org.swblocks.jbl.eh.Result
-
Returns underlying data stored when the result is a success.
- getDuration() - Method in class org.swblocks.jbl.monitoring.Timer
-
Gets the Duration between the start and stop times
- getException() - Method in class org.swblocks.jbl.eh.Result
-
Get the failure exception.
- getExceptionDetails(Function<StringBuffer, R>) - Method in exception org.swblocks.jbl.eh.BaseException
-
* Obtains the exception details dump, including all properties, for an exception.
- getExceptionDetails(Throwable, Function<StringBuffer, R>) - Static method in class org.swblocks.jbl.eh.EhSupport
-
Obtains the exception details dump, including all properties, for an exception.
- getExceptionDetailsAsString() - Method in exception org.swblocks.jbl.eh.BaseException
-
Obtains the exception details dump, including all properties, for an exception as string.
- getExceptionDetailsAsString(Throwable) - Static method in class org.swblocks.jbl.eh.EhSupport
-
Obtains the exception details dump, including all properties, for an exception as string.
- getFinish() - Method in class org.swblocks.jbl.util.Range
-
- getInstance(ThreadPool.ThreadPoolId) - Static method in class org.swblocks.jbl.tasks.DefaultThreadPool
-
- getInstance(ThreadPool.ThreadPoolId) - Static method in interface org.swblocks.jbl.tasks.ThreadPool
-
Obtains the respective global / JVM wide thread pool instance.
- getLapDuration() - Method in class org.swblocks.jbl.monitoring.Timer
-
Returns the Duration between the start time and the latest lap time.
- getPhase() - Method in interface org.swblocks.jbl.lifecycle.ComponentLifecycle
-
Return the phase value of this object.
- getPropertiesException(Throwable) - Static method in class org.swblocks.jbl.eh.EhSupport
-
Obtains a properties exception associated with this exception.
- getStart() - Method in class org.swblocks.jbl.util.Range
-
- getTimeThrown() - Method in exception org.swblocks.jbl.eh.BaseException
-
Gets the time at which the exception was thrown.
- getTimeThrown(Throwable) - Static method in class org.swblocks.jbl.eh.EhSupport
-
Obtains the time thrown / enhanced property of an exception.
- getValue() - Method in class org.swblocks.jbl.util.MutableObject
-