Module org.refcodes.controlflow
Package org.refcodes.controlflow
package org.refcodes.controlflow
-
ClassDescriptionUtility class addressing control flow related issues.Coupler.Operation<SUBJECT,
PARAM extends Coupler, RET> Definition of a method with single argument of typeCoupler.ExceptionWatchdog<E extends Exception>The Enum ExecutionStrategy.Provides an accessor for anExecutionStrategyproperty.Provides a mutator for anExecutionStrategyproperty.Provides anExecutionStrategyproperty.Provides an accessor for aExecutorServiceproperty.ExecutorServiceAccessor.ExecutorServiceBuilder<B extends ExecutorServiceAccessor.ExecutorServiceBuilder<B>>Provides a builder method for aExecutorServiceproperty returning the builder for applying multiple build operations.Provides a mutator for aExecutorServiceproperty.Provides aExecutorServiceproperty.The Enum InvocationStrategy.UsuallyExecutorServiceinstances originating from an application server are wrapped with thisManagedExecutorService.TheRetryableprovides methods for performing various retry iterations, be it based on retry counts or retry timeouts.TheRetryCountercan be used in loops to test whether a retry should take place and in case a retry is to take place, then a given period of time (delay) is waited and the internal retry counter is decremented.TheRetryTimeoutcan be used in loops to test whether a timeout has been reached, if the timeout has not been reached, then a given period of time (delay) is waited.Verbose readable threading model.Verbose readable thread mode.