-
public interface LogUtilsThe type Log utils. import static life.expert.utils.async.LogUtils.*;
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Loggerlogger_
-
Method Summary
Static Methods Modifier and Type Method Description static <E,F>
voiddefaultDelayBiConsumer(E left, F right)Delay second consumer consumer.static <E> voiddefaultDelayConsumer(E object)Delay second consumer consumer.static <E> voiddefaultDelayRunnable()Delay runnable action.static <E> EdefaultDelayUnaryOperator(E object)Delay function e.static <E,F>
java.util.function.BiConsumer<E,F>delayBiConsumer(long second)Delay consumer consumer.static <E,F>
java.util.function.BiConsumer<E,F>delayBiConsumer(java.lang.String message, long second)Delay second consumer consumer.static <T,U,R>
java.util.function.BiFunction<T,U,R>delayBiFunction(java.lang.String message, R returnObject, long second)Delay function function.static <T,U,R>
java.util.function.BiFunction<T,U,R>delayBiFunction(R returnObject, long second)Delay function function.static <E> java.util.function.Consumer<E>delayConsumer(long second)Delay consumer consumer.static <E> java.util.function.Consumer<E>delayConsumer(java.lang.String message, long second)Delay second consumer consumer.static <T,R>
java.util.function.Function<T,R>delayFunction(java.lang.String message, R returnObject, long second)Delay function function.static <T,R>
java.util.function.Function<T,R>delayFunction(R returnObject, long second)Delay function function.static <T,R>
java.util.function.Function<T,R>delayFunctionWithError(java.lang.String message, T errValueForCompare, R returnObject, long second)Delay function function.static <E> java.lang.RunnabledelayRunnable(long second)Delay runnable action.static <E> java.lang.RunnabledelayRunnable(java.lang.String message, long second)Delay runnable action.static <E> java.util.function.Supplier<E>delaySupplier(E passThought, long second)Delay supplier supplier.static <E> java.util.function.Supplier<E>delaySupplier(java.lang.String message, E passThought, long second)Delay second supplier consumer.static <E> java.util.function.Supplier<E>delaySupplierWithError(java.lang.String message, E passThought, E errValueForCompare, long second)Delay supplier with error supplier.static <E> java.util.function.UnaryOperator<E>delayUnaryOperator(long second)Delay unary operator function.static <E> java.util.function.UnaryOperator<E>delayUnaryOperator(java.lang.String message, long second)Delay function e.static <E> java.util.function.UnaryOperator<E>delayUnaryOperatorWithError(java.lang.String message, E errValueForCompare, long second)Delay function e.static voidlog(java.lang.String format, java.lang.Object... arguments)Log.static voidlogAtDebug()Log at debug.static voidlogAtDebug(java.lang.String message)Log at debug.static voidlogAtDebug(java.lang.String format, java.lang.Object... arguments)Log at debug.static <E,F>
java.util.function.BiConsumer<E,F>logAtDebugBiConsumer()Log at debug consumer consumer.static <E,F>
java.util.function.BiConsumer<E,F>logAtDebugBiConsumer(java.lang.String message)Log at debug consumer consumer.static <E,F>
java.util.function.BiConsumer<E,F>logAtDebugBiConsumerWrapper(java.util.function.BiConsumer<E,F> consumer)Log at debug consumer.static <T,U,R>
java.util.function.BiFunction<T,U,R>logAtDebugBiFunction(java.lang.String message, R returnObject)Log at debug function function.static <T,U,R>
java.util.function.BiFunction<T,U,R>logAtDebugBiFunction(R returnObject)Log at debug function function.static <T,U,R>
java.util.function.BiFunction<T,U,R>logAtDebugBiFunctionWrapper(java.util.function.BiFunction<T,U,R> function)Log at debug function proxy function.static <E> java.util.function.Consumer<E>logAtDebugConsumer()Log at debug consumer consumer.static <E> java.util.function.Consumer<E>logAtDebugConsumer(java.lang.String message)Log at debug consumer consumer.static <E> java.util.function.Consumer<E>logAtDebugConsumerWrapper(java.util.function.Consumer<E> consumer)Log at debug consumer.static <T,R>
java.util.function.Function<T,R>logAtDebugFunction(java.lang.String message, R returnObject)Log at debug function function.static <T,R>
java.util.function.Function<T,R>logAtDebugFunction(R returnObject)Log at debug function function.static <T,R>
java.util.function.Function<T,R>logAtDebugFunctionWrapper(java.util.function.Function<T,R> function)Log at debug function proxy function.static <E> java.lang.RunnablelogAtDebugRunnable()Log at debug runnable action.static <E> java.lang.RunnablelogAtDebugRunnable(java.lang.String message)Log at debug runnable action.static <E> java.lang.RunnablelogAtDebugRunnableWrapper(java.lang.Runnable runnable)Log at debug runnable proxy action.static <E> java.util.function.Supplier<E>logAtDebugSupplier(E returnObject)Log at debug supplier callable.static <E> java.util.function.Supplier<E>logAtDebugSupplier(java.lang.String message, E returnObject)Log at debug supplier callable.static <E> java.util.function.Supplier<E>logAtDebugSupplierWrapper(java.util.function.Supplier<E> supplier)Log at debug supplier proxy callable.static <E> java.util.function.UnaryOperator<E>logAtDebugUnaryOperator()Log at debug unary operator function.static <E> java.util.function.UnaryOperator<E>logAtDebugUnaryOperator(java.lang.String message)Log at debug unary operator function.static voidlogAtError()Log at error.static voidlogAtError(java.lang.String message)Log at error.static voidlogAtError(java.lang.String format, java.lang.Object... arguments)Log at error.static <E,F>
java.util.function.BiConsumer<E,F>logAtErrorBiConsumer()Log at error consumer consumer.static <E,F>
java.util.function.BiConsumer<E,F>logAtErrorBiConsumer(java.lang.String message)Log at error consumer consumer.static <E,F>
java.util.function.BiConsumer<E,F>logAtErrorBiConsumerWrapper(java.util.function.BiConsumer<E,F> consumer)Log at error consumer.static <T,U,R>
java.util.function.BiFunction<T,U,R>logAtErrorBiFunction(java.lang.String message, R returnObject)Log at error function function.static <T,U,R>
java.util.function.BiFunction<T,U,R>logAtErrorBiFunction(R returnObject)Log at error function function.static <T,U,R>
java.util.function.BiFunction<T,U,R>logAtErrorBiFunctionWrapper(java.util.function.BiFunction<T,U,R> function)Log at error function proxy function.static <E> java.util.function.Consumer<E>logAtErrorConsumer()Log at error consumer consumer.static <E> java.util.function.Consumer<E>logAtErrorConsumer(java.lang.String message)Log at error consumer consumer.static <E> java.util.function.Consumer<E>logAtErrorConsumerWrapper(java.util.function.Consumer<E> consumer)Log at error consumer.static <T,R>
java.util.function.Function<T,R>logAtErrorFunction(java.lang.String message, R returnObject)Log at error function function.static <T,R>
java.util.function.Function<T,R>logAtErrorFunction(R returnObject)Log at error function function.static <T,R>
java.util.function.Function<T,R>logAtErrorFunctionWrapper(java.util.function.Function<T,R> function)Log at error function proxy function.static <E> java.lang.RunnablelogAtErrorRunnable()Log at error runnable action.static <E> java.lang.RunnablelogAtErrorRunnable(java.lang.String message)Log at error runnable action.static <E> java.lang.RunnablelogAtErrorRunnableWrapper(java.lang.Runnable runnable)Log at error runnable proxy action.static <E> java.util.function.Supplier<E>logAtErrorSupplier(E returnObject)Log at error supplier callable.static <E> java.util.function.Supplier<E>logAtErrorSupplier(java.lang.String message, E returnObject)Log at error supplier callable.static <E> java.util.function.Supplier<E>logAtErrorSupplierWrapper(java.util.function.Supplier<E> supplier)Log at error supplier proxy callable.static <E> java.util.function.UnaryOperator<E>logAtErrorUnaryOperator()Log at error unary operator function.static <E> java.util.function.UnaryOperator<E>logAtErrorUnaryOperator(java.lang.String message)Log at error unary operator function.static voidlogAtInfo()Log at info.static voidlogAtInfo(java.lang.String message)Log at info.static <E,F>
java.util.function.BiConsumer<E,F>logAtInfoBiConsumer()Log at info consumer consumer.static <E,F>
java.util.function.BiConsumer<E,F>logAtInfoBiConsumer(java.lang.String message)Log at info consumer consumer.static <E,F>
java.util.function.BiConsumer<E,F>logAtInfoBiConsumerWrapper(java.util.function.BiConsumer<E,F> consumer)Log at info consumer.static <T,U,R>
java.util.function.BiFunction<T,U,R>logAtInfoBiFunction(java.lang.String message, R returnObject)Log at info function function.static <T,U,R>
java.util.function.BiFunction<T,U,R>logAtInfoBiFunction(R returnObject)Log at info function function.static <T,U,R>
java.util.function.BiFunction<T,U,R>logAtInfoBiFunctionWrapper(java.util.function.BiFunction<T,U,R> function)Log at info function proxy function.static <E> java.util.function.Consumer<E>logAtInfoConsumer()Log at info consumer consumer.static <E> java.util.function.Consumer<E>logAtInfoConsumer(java.lang.String message)Log at info consumer consumer.static <E> java.util.function.Consumer<E>logAtInfoConsumerWrapper(java.util.function.Consumer<E> consumer)Log at info consumer.static <T,R>
java.util.function.Function<T,R>logAtInfoFunction(java.lang.String message, R returnObject)Log at info function function.static <T,R>
java.util.function.Function<T,R>logAtInfoFunction(R returnObject)Log at info function function.static <T,R>
java.util.function.Function<T,R>logAtInfoFunctionWrapper(java.util.function.Function<T,R> function)Log at info function proxy function.static <E> java.lang.RunnablelogAtInfoRunnable()Log at info runnable action.static <E> java.lang.RunnablelogAtInfoRunnable(java.lang.String message)Log at info runnable action.static <E> java.lang.RunnablelogAtInfoRunnableWrapper(java.lang.Runnable runnable)Log at info runnable proxy action.static <E> java.util.function.Supplier<E>logAtInfoSupplier(E returnObject)Log at info supplier callable.static <E> java.util.function.Supplier<E>logAtInfoSupplier(java.lang.String message, E returnObject)Log at info supplier callable.static <E> java.util.function.Supplier<E>logAtInfoSupplierWrapper(java.util.function.Supplier<E> supplier)Log at info supplier proxy callable.static <E> java.util.function.UnaryOperator<E>logAtInfoUnaryOperator()Log at info unary operator function.static <E> java.util.function.UnaryOperator<E>logAtInfoUnaryOperator(java.lang.String message)Log at info unary operator function.static voidlogAtWarning()Log at warning.static voidlogAtWarning(java.lang.String message)Log at warning.static voidlogAtWarning(java.lang.String format, java.lang.Object... arguments)Log at warning.static <E,F>
java.util.function.BiConsumer<E,F>logAtWarningBiConsumer()Log at warning consumer consumer.static <E,F>
java.util.function.BiConsumer<E,F>logAtWarningBiConsumer(java.lang.String message)Log at warning consumer consumer.static <E,F>
java.util.function.BiConsumer<E,F>logAtWarningBiConsumerWrapper(java.util.function.BiConsumer<E,F> consumer)Log at warning consumer.static <T,U,R>
java.util.function.BiFunction<T,U,R>logAtWarningBiFunction(java.lang.String message, R returnObject)Log at warning function function.static <T,U,R>
java.util.function.BiFunction<T,U,R>logAtWarningBiFunction(R returnObject)Log at warning function function.static <T,U,R>
java.util.function.BiFunction<T,U,R>logAtWarningBiFunctionWrapper(java.util.function.BiFunction<T,U,R> function)Log at warning function proxy function.static <E> java.util.function.Consumer<E>logAtWarningConsumer()Log at warning consumer consumer.static <E> java.util.function.Consumer<E>logAtWarningConsumer(java.lang.String message)Log at warning consumer consumer.static <E> java.util.function.Consumer<E>logAtWarningConsumerWrapper(java.util.function.Consumer<E> consumer)Log at warning consumer.static <T,R>
java.util.function.Function<T,R>logAtWarningFunction(java.lang.String message, R returnObject)Log at warning function function.static <T,R>
java.util.function.Function<T,R>logAtWarningFunction(R returnObject)Log at warning function function.static <T,R>
java.util.function.Function<T,R>logAtWarningFunctionWrapper(java.util.function.Function<T,R> function)Log at warning function proxy function.static <E> java.lang.RunnablelogAtWarningRunnable()Log at warning runnable action.static <E> java.lang.RunnablelogAtWarningRunnable(java.lang.String message)Log at warning runnable action.static <E> java.lang.RunnablelogAtWarningRunnableWrapper(java.lang.Runnable runnable)Log at warning runnable proxy action.static <E> java.util.function.Supplier<E>logAtWarningSupplier(E returnObject)Log at warning supplier callable.static <E> java.util.function.Supplier<E>logAtWarningSupplier(java.lang.String message, E returnObject)Log at warning supplier callable.static <E> java.util.function.Supplier<E>logAtWarningSupplierWrapper(java.util.function.Supplier<E> supplier)Log at warning supplier proxy callable.static <E> java.util.function.UnaryOperator<E>logAtWarningUnaryOperator()Log at warning unary operator function.static <E> java.util.function.UnaryOperator<E>logAtWarningUnaryOperator(java.lang.String message)Log at warning unary operator function.
-
-
-
Method Detail
-
log
static void log(java.lang.String format, java.lang.Object... arguments)Log.log ("Hi {}.", "there") log ("Set {1,2,3} is not equal to {}.", "1,2");- Parameters:
format- the formatarguments- the arguments
-
logAtWarning
static void logAtWarning(java.lang.String format, java.lang.Object... arguments)Log at warning.- Parameters:
format- the formatarguments- the arguments
-
logAtError
static void logAtError(java.lang.String format, java.lang.Object... arguments)Log at error.- Parameters:
format- the formatarguments- the arguments
-
logAtDebug
static void logAtDebug(java.lang.String format, java.lang.Object... arguments)Log at debug.- Parameters:
format- the formatarguments- the arguments
-
logAtInfoConsumer
static <E> java.util.function.Consumer<E> logAtInfoConsumer(java.lang.String message)
Log at info consumer consumer.- Type Parameters:
E- the type parameter- Parameters:
message- the message- Returns:
- the consumer
-
logAtInfoConsumer
static <E> java.util.function.Consumer<E> logAtInfoConsumer()
Log at info consumer consumer.- Type Parameters:
E- the type parameter- Returns:
- the consumer
-
logAtInfoBiConsumer
static <E,F> java.util.function.BiConsumer<E,F> logAtInfoBiConsumer(java.lang.String message)
Log at info consumer consumer.- Type Parameters:
E- the type parameterF- the type parameter- Parameters:
message- the message- Returns:
- the consumer
-
logAtInfoBiConsumer
static <E,F> java.util.function.BiConsumer<E,F> logAtInfoBiConsumer()
Log at info consumer consumer.- Type Parameters:
E- the type parameterF- the type parameter- Returns:
- the consumer
-
logAtInfoFunction
static <T,R> java.util.function.Function<T,R> logAtInfoFunction(java.lang.String message, R returnObject)Log at info function function.- Type Parameters:
T- the type parameterR- the type parameter- Parameters:
message- the messagereturnObject- the return object- Returns:
- the function
-
logAtInfoFunction
static <T,R> java.util.function.Function<T,R> logAtInfoFunction(R returnObject)
Log at info function function.- Type Parameters:
T- the type parameterR- the type parameter- Parameters:
returnObject- the return object- Returns:
- the function
-
logAtInfoBiFunction
static <T,U,R> java.util.function.BiFunction<T,U,R> logAtInfoBiFunction(java.lang.String message, R returnObject)Log at info function function.- Type Parameters:
T- the type parameterU- the type parameterR- the type parameter- Parameters:
message- the messagereturnObject- the return object- Returns:
- the function
-
logAtInfoBiFunction
static <T,U,R> java.util.function.BiFunction<T,U,R> logAtInfoBiFunction(R returnObject)
Log at info function function.- Type Parameters:
T- the type parameterU- the type parameterR- the type parameter- Parameters:
returnObject- the return object- Returns:
- the function
-
logAtInfoUnaryOperator
static <E> java.util.function.UnaryOperator<E> logAtInfoUnaryOperator(java.lang.String message)
Log at info unary operator function.- Type Parameters:
E- the type parameter- Parameters:
message- the message- Returns:
- the function
-
logAtInfoUnaryOperator
static <E> java.util.function.UnaryOperator<E> logAtInfoUnaryOperator()
Log at info unary operator function.- Type Parameters:
E- the type parameter- Returns:
- the function
-
logAtInfoSupplier
static <E> java.util.function.Supplier<E> logAtInfoSupplier(java.lang.String message, E returnObject)Log at info supplier callable.- Type Parameters:
E- the type parameter- Parameters:
message- the messagereturnObject- the return object- Returns:
- the callable
-
logAtInfoSupplier
static <E> java.util.function.Supplier<E> logAtInfoSupplier(E returnObject)
Log at info supplier callable.- Type Parameters:
E- the type parameter- Parameters:
returnObject- the return object- Returns:
- the callable
-
logAtInfoRunnable
static <E> java.lang.Runnable logAtInfoRunnable(java.lang.String message)
Log at info runnable action.- Type Parameters:
E- the type parameter- Parameters:
message- the message- Returns:
- the action
-
logAtInfoRunnable
static <E> java.lang.Runnable logAtInfoRunnable()
Log at info runnable action.- Type Parameters:
E- the type parameter- Returns:
- the action
-
logAtInfo
static void logAtInfo(java.lang.String message)
Log at info.- Parameters:
message- the message
-
logAtInfo
static void logAtInfo()
Log at info.
-
logAtInfoConsumerWrapper
static <E> java.util.function.Consumer<E> logAtInfoConsumerWrapper(java.util.function.Consumer<E> consumer)
Log at info consumer.- Type Parameters:
E- the type parameter- Parameters:
consumer- the consumer- Returns:
- the consumer
-
logAtInfoBiConsumerWrapper
static <E,F> java.util.function.BiConsumer<E,F> logAtInfoBiConsumerWrapper(java.util.function.BiConsumer<E,F> consumer)
Log at info consumer.- Type Parameters:
E- the type parameterF- the type parameter- Parameters:
consumer- the consumer- Returns:
- the consumer
-
logAtInfoFunctionWrapper
static <T,R> java.util.function.Function<T,R> logAtInfoFunctionWrapper(java.util.function.Function<T,R> function)
Log at info function proxy function.- Type Parameters:
T- the type parameterR- the type parameter- Parameters:
function- the function- Returns:
- the function
-
logAtInfoBiFunctionWrapper
static <T,U,R> java.util.function.BiFunction<T,U,R> logAtInfoBiFunctionWrapper(java.util.function.BiFunction<T,U,R> function)
Log at info function proxy function.- Type Parameters:
T- the type parameterU- the type parameterR- the type parameter- Parameters:
function- the function- Returns:
- the function
-
logAtInfoSupplierWrapper
static <E> java.util.function.Supplier<E> logAtInfoSupplierWrapper(java.util.function.Supplier<E> supplier)
Log at info supplier proxy callable.- Type Parameters:
E- the type parameter- Parameters:
supplier- the supplier- Returns:
- the callable
-
logAtInfoRunnableWrapper
static <E> java.lang.Runnable logAtInfoRunnableWrapper(java.lang.Runnable runnable)
Log at info runnable proxy action.- Type Parameters:
E- the type parameter- Parameters:
runnable- the runnable- Returns:
- the action
-
logAtErrorConsumer
static <E> java.util.function.Consumer<E> logAtErrorConsumer(java.lang.String message)
Log at error consumer consumer.- Type Parameters:
E- the type parameter- Parameters:
message- the message- Returns:
- the consumer
-
logAtErrorConsumer
static <E> java.util.function.Consumer<E> logAtErrorConsumer()
Log at error consumer consumer.- Type Parameters:
E- the type parameter- Returns:
- the consumer
-
logAtErrorBiConsumer
static <E,F> java.util.function.BiConsumer<E,F> logAtErrorBiConsumer(java.lang.String message)
Log at error consumer consumer.- Type Parameters:
E- the type parameterF- the type parameter- Parameters:
message- the message- Returns:
- the consumer
-
logAtErrorBiConsumer
static <E,F> java.util.function.BiConsumer<E,F> logAtErrorBiConsumer()
Log at error consumer consumer.- Type Parameters:
E- the type parameterF- the type parameter- Returns:
- the consumer
-
logAtErrorFunction
static <T,R> java.util.function.Function<T,R> logAtErrorFunction(java.lang.String message, R returnObject)Log at error function function.- Type Parameters:
T- the type parameterR- the type parameter- Parameters:
message- the messagereturnObject- the return object- Returns:
- the function
-
logAtErrorFunction
static <T,R> java.util.function.Function<T,R> logAtErrorFunction(R returnObject)
Log at error function function.- Type Parameters:
T- the type parameterR- the type parameter- Parameters:
returnObject- the return object- Returns:
- the function
-
logAtErrorBiFunction
static <T,U,R> java.util.function.BiFunction<T,U,R> logAtErrorBiFunction(java.lang.String message, R returnObject)Log at error function function.- Type Parameters:
T- the type parameterU- the type parameterR- the type parameter- Parameters:
message- the messagereturnObject- the return object- Returns:
- the function
-
logAtErrorBiFunction
static <T,U,R> java.util.function.BiFunction<T,U,R> logAtErrorBiFunction(R returnObject)
Log at error function function.- Type Parameters:
T- the type parameterU- the type parameterR- the type parameter- Parameters:
returnObject- the return object- Returns:
- the function
-
logAtErrorUnaryOperator
static <E> java.util.function.UnaryOperator<E> logAtErrorUnaryOperator(java.lang.String message)
Log at error unary operator function.- Type Parameters:
E- the type parameter- Parameters:
message- the message- Returns:
- the function
-
logAtErrorUnaryOperator
static <E> java.util.function.UnaryOperator<E> logAtErrorUnaryOperator()
Log at error unary operator function.- Type Parameters:
E- the type parameter- Returns:
- the function
-
logAtErrorSupplier
static <E> java.util.function.Supplier<E> logAtErrorSupplier(java.lang.String message, E returnObject)Log at error supplier callable.- Type Parameters:
E- the type parameter- Parameters:
message- the messagereturnObject- the return object- Returns:
- the callable
-
logAtErrorSupplier
static <E> java.util.function.Supplier<E> logAtErrorSupplier(E returnObject)
Log at error supplier callable.- Type Parameters:
E- the type parameter- Parameters:
returnObject- the return object- Returns:
- the callable
-
logAtErrorRunnable
static <E> java.lang.Runnable logAtErrorRunnable(java.lang.String message)
Log at error runnable action.- Type Parameters:
E- the type parameter- Parameters:
message- the message- Returns:
- the action
-
logAtErrorRunnable
static <E> java.lang.Runnable logAtErrorRunnable()
Log at error runnable action.- Type Parameters:
E- the type parameter- Returns:
- the action
-
logAtError
static void logAtError(java.lang.String message)
Log at error.- Parameters:
message- the message
-
logAtError
static void logAtError()
Log at error.
-
logAtErrorConsumerWrapper
static <E> java.util.function.Consumer<E> logAtErrorConsumerWrapper(java.util.function.Consumer<E> consumer)
Log at error consumer.- Type Parameters:
E- the type parameter- Parameters:
consumer- the consumer- Returns:
- the consumer
-
logAtErrorBiConsumerWrapper
static <E,F> java.util.function.BiConsumer<E,F> logAtErrorBiConsumerWrapper(java.util.function.BiConsumer<E,F> consumer)
Log at error consumer.- Type Parameters:
E- the type parameterF- the type parameter- Parameters:
consumer- the consumer- Returns:
- the consumer
-
logAtErrorFunctionWrapper
static <T,R> java.util.function.Function<T,R> logAtErrorFunctionWrapper(java.util.function.Function<T,R> function)
Log at error function proxy function.- Type Parameters:
T- the type parameterR- the type parameter- Parameters:
function- the function- Returns:
- the function
-
logAtErrorBiFunctionWrapper
static <T,U,R> java.util.function.BiFunction<T,U,R> logAtErrorBiFunctionWrapper(java.util.function.BiFunction<T,U,R> function)
Log at error function proxy function.- Type Parameters:
T- the type parameterU- the type parameterR- the type parameter- Parameters:
function- the function- Returns:
- the function
-
logAtErrorSupplierWrapper
static <E> java.util.function.Supplier<E> logAtErrorSupplierWrapper(java.util.function.Supplier<E> supplier)
Log at error supplier proxy callable.- Type Parameters:
E- the type parameter- Parameters:
supplier- the supplier- Returns:
- the callable
-
logAtErrorRunnableWrapper
static <E> java.lang.Runnable logAtErrorRunnableWrapper(java.lang.Runnable runnable)
Log at error runnable proxy action.- Type Parameters:
E- the type parameter- Parameters:
runnable- the runnable- Returns:
- the action
-
logAtWarningConsumer
static <E> java.util.function.Consumer<E> logAtWarningConsumer(java.lang.String message)
Log at warning consumer consumer.- Type Parameters:
E- the type parameter- Parameters:
message- the message- Returns:
- the consumer
-
logAtWarningConsumer
static <E> java.util.function.Consumer<E> logAtWarningConsumer()
Log at warning consumer consumer.- Type Parameters:
E- the type parameter- Returns:
- the consumer
-
logAtWarningBiConsumer
static <E,F> java.util.function.BiConsumer<E,F> logAtWarningBiConsumer(java.lang.String message)
Log at warning consumer consumer.- Type Parameters:
E- the type parameterF- the type parameter- Parameters:
message- the message- Returns:
- the consumer
-
logAtWarningBiConsumer
static <E,F> java.util.function.BiConsumer<E,F> logAtWarningBiConsumer()
Log at warning consumer consumer.- Type Parameters:
E- the type parameterF- the type parameter- Returns:
- the consumer
-
logAtWarningFunction
static <T,R> java.util.function.Function<T,R> logAtWarningFunction(java.lang.String message, R returnObject)Log at warning function function.- Type Parameters:
T- the type parameterR- the type parameter- Parameters:
message- the messagereturnObject- the return object- Returns:
- the function
-
logAtWarningFunction
static <T,R> java.util.function.Function<T,R> logAtWarningFunction(R returnObject)
Log at warning function function.- Type Parameters:
T- the type parameterR- the type parameter- Parameters:
returnObject- the return object- Returns:
- the function
-
logAtWarningBiFunction
static <T,U,R> java.util.function.BiFunction<T,U,R> logAtWarningBiFunction(java.lang.String message, R returnObject)Log at warning function function.- Type Parameters:
T- the type parameterU- the type parameterR- the type parameter- Parameters:
message- the messagereturnObject- the return object- Returns:
- the function
-
logAtWarningBiFunction
static <T,U,R> java.util.function.BiFunction<T,U,R> logAtWarningBiFunction(R returnObject)
Log at warning function function.- Type Parameters:
T- the type parameterU- the type parameterR- the type parameter- Parameters:
returnObject- the return object- Returns:
- the function
-
logAtWarningUnaryOperator
static <E> java.util.function.UnaryOperator<E> logAtWarningUnaryOperator(java.lang.String message)
Log at warning unary operator function.- Type Parameters:
E- the type parameter- Parameters:
message- the message- Returns:
- the function
-
logAtWarningUnaryOperator
static <E> java.util.function.UnaryOperator<E> logAtWarningUnaryOperator()
Log at warning unary operator function.- Type Parameters:
E- the type parameter- Returns:
- the function
-
logAtWarningSupplier
static <E> java.util.function.Supplier<E> logAtWarningSupplier(java.lang.String message, E returnObject)Log at warning supplier callable.- Type Parameters:
E- the type parameter- Parameters:
message- the messagereturnObject- the return object- Returns:
- the callable
-
logAtWarningSupplier
static <E> java.util.function.Supplier<E> logAtWarningSupplier(E returnObject)
Log at warning supplier callable.- Type Parameters:
E- the type parameter- Parameters:
returnObject- the return object- Returns:
- the callable
-
logAtWarningRunnable
static <E> java.lang.Runnable logAtWarningRunnable(java.lang.String message)
Log at warning runnable action.- Type Parameters:
E- the type parameter- Parameters:
message- the message- Returns:
- the action
-
logAtWarningRunnable
static <E> java.lang.Runnable logAtWarningRunnable()
Log at warning runnable action.- Type Parameters:
E- the type parameter- Returns:
- the action
-
logAtWarning
static void logAtWarning(java.lang.String message)
Log at warning.- Parameters:
message- the message
-
logAtWarning
static void logAtWarning()
Log at warning.
-
logAtWarningConsumerWrapper
static <E> java.util.function.Consumer<E> logAtWarningConsumerWrapper(java.util.function.Consumer<E> consumer)
Log at warning consumer.- Type Parameters:
E- the type parameter- Parameters:
consumer- the consumer- Returns:
- the consumer
-
logAtWarningBiConsumerWrapper
static <E,F> java.util.function.BiConsumer<E,F> logAtWarningBiConsumerWrapper(java.util.function.BiConsumer<E,F> consumer)
Log at warning consumer.- Type Parameters:
E- the type parameterF- the type parameter- Parameters:
consumer- the consumer- Returns:
- the consumer
-
logAtWarningFunctionWrapper
static <T,R> java.util.function.Function<T,R> logAtWarningFunctionWrapper(java.util.function.Function<T,R> function)
Log at warning function proxy function.- Type Parameters:
T- the type parameterR- the type parameter- Parameters:
function- the function- Returns:
- the function
-
logAtWarningBiFunctionWrapper
static <T,U,R> java.util.function.BiFunction<T,U,R> logAtWarningBiFunctionWrapper(java.util.function.BiFunction<T,U,R> function)
Log at warning function proxy function.- Type Parameters:
T- the type parameterU- the type parameterR- the type parameter- Parameters:
function- the function- Returns:
- the function
-
logAtWarningSupplierWrapper
static <E> java.util.function.Supplier<E> logAtWarningSupplierWrapper(java.util.function.Supplier<E> supplier)
Log at warning supplier proxy callable.- Type Parameters:
E- the type parameter- Parameters:
supplier- the supplier- Returns:
- the callable
-
logAtWarningRunnableWrapper
static <E> java.lang.Runnable logAtWarningRunnableWrapper(java.lang.Runnable runnable)
Log at warning runnable proxy action.- Type Parameters:
E- the type parameter- Parameters:
runnable- the runnable- Returns:
- the action
-
logAtDebugConsumer
static <E> java.util.function.Consumer<E> logAtDebugConsumer(java.lang.String message)
Log at debug consumer consumer.- Type Parameters:
E- the type parameter- Parameters:
message- the message- Returns:
- the consumer
-
logAtDebugConsumer
static <E> java.util.function.Consumer<E> logAtDebugConsumer()
Log at debug consumer consumer.- Type Parameters:
E- the type parameter- Returns:
- the consumer
-
logAtDebugBiConsumer
static <E,F> java.util.function.BiConsumer<E,F> logAtDebugBiConsumer(java.lang.String message)
Log at debug consumer consumer.- Type Parameters:
E- the type parameterF- the type parameter- Parameters:
message- the message- Returns:
- the consumer
-
logAtDebugBiConsumer
static <E,F> java.util.function.BiConsumer<E,F> logAtDebugBiConsumer()
Log at debug consumer consumer.- Type Parameters:
E- the type parameterF- the type parameter- Returns:
- the consumer
-
logAtDebugFunction
static <T,R> java.util.function.Function<T,R> logAtDebugFunction(java.lang.String message, R returnObject)Log at debug function function.- Type Parameters:
T- the type parameterR- the type parameter- Parameters:
message- the messagereturnObject- the return object- Returns:
- the function
-
logAtDebugFunction
static <T,R> java.util.function.Function<T,R> logAtDebugFunction(R returnObject)
Log at debug function function.- Type Parameters:
T- the type parameterR- the type parameter- Parameters:
returnObject- the return object- Returns:
- the function
-
logAtDebugBiFunction
static <T,U,R> java.util.function.BiFunction<T,U,R> logAtDebugBiFunction(java.lang.String message, R returnObject)Log at debug function function.- Type Parameters:
T- the type parameterU- the type parameterR- the type parameter- Parameters:
message- the messagereturnObject- the return object- Returns:
- the function
-
logAtDebugBiFunction
static <T,U,R> java.util.function.BiFunction<T,U,R> logAtDebugBiFunction(R returnObject)
Log at debug function function.- Type Parameters:
T- the type parameterU- the type parameterR- the type parameter- Parameters:
returnObject- the return object- Returns:
- the function
-
logAtDebugUnaryOperator
static <E> java.util.function.UnaryOperator<E> logAtDebugUnaryOperator(java.lang.String message)
Log at debug unary operator function.- Type Parameters:
E- the type parameter- Parameters:
message- the message- Returns:
- the function
-
logAtDebugUnaryOperator
static <E> java.util.function.UnaryOperator<E> logAtDebugUnaryOperator()
Log at debug unary operator function.- Type Parameters:
E- the type parameter- Returns:
- the function
-
logAtDebugSupplier
static <E> java.util.function.Supplier<E> logAtDebugSupplier(java.lang.String message, E returnObject)Log at debug supplier callable.- Type Parameters:
E- the type parameter- Parameters:
message- the messagereturnObject- the return object- Returns:
- the callable
-
logAtDebugSupplier
static <E> java.util.function.Supplier<E> logAtDebugSupplier(E returnObject)
Log at debug supplier callable.- Type Parameters:
E- the type parameter- Parameters:
returnObject- the return object- Returns:
- the callable
-
logAtDebugRunnable
static <E> java.lang.Runnable logAtDebugRunnable(java.lang.String message)
Log at debug runnable action.- Type Parameters:
E- the type parameter- Parameters:
message- the message- Returns:
- the action
-
logAtDebugRunnable
static <E> java.lang.Runnable logAtDebugRunnable()
Log at debug runnable action.- Type Parameters:
E- the type parameter- Returns:
- the action
-
logAtDebug
static void logAtDebug(java.lang.String message)
Log at debug.- Parameters:
message- the message
-
logAtDebug
static void logAtDebug()
Log at debug.
-
logAtDebugConsumerWrapper
static <E> java.util.function.Consumer<E> logAtDebugConsumerWrapper(java.util.function.Consumer<E> consumer)
Log at debug consumer.- Type Parameters:
E- the type parameter- Parameters:
consumer- the consumer- Returns:
- the consumer
-
logAtDebugBiConsumerWrapper
static <E,F> java.util.function.BiConsumer<E,F> logAtDebugBiConsumerWrapper(java.util.function.BiConsumer<E,F> consumer)
Log at debug consumer.- Type Parameters:
E- the type parameterF- the type parameter- Parameters:
consumer- the consumer- Returns:
- the consumer
-
logAtDebugFunctionWrapper
static <T,R> java.util.function.Function<T,R> logAtDebugFunctionWrapper(java.util.function.Function<T,R> function)
Log at debug function proxy function.- Type Parameters:
T- the type parameterR- the type parameter- Parameters:
function- the function- Returns:
- the function
-
logAtDebugBiFunctionWrapper
static <T,U,R> java.util.function.BiFunction<T,U,R> logAtDebugBiFunctionWrapper(java.util.function.BiFunction<T,U,R> function)
Log at debug function proxy function.- Type Parameters:
T- the type parameterU- the type parameterR- the type parameter- Parameters:
function- the function- Returns:
- the function
-
logAtDebugSupplierWrapper
static <E> java.util.function.Supplier<E> logAtDebugSupplierWrapper(java.util.function.Supplier<E> supplier)
Log at debug supplier proxy callable.- Type Parameters:
E- the type parameter- Parameters:
supplier- the supplier- Returns:
- the callable
-
logAtDebugRunnableWrapper
static <E> java.lang.Runnable logAtDebugRunnableWrapper(java.lang.Runnable runnable)
Log at debug runnable proxy action.- Type Parameters:
E- the type parameter- Parameters:
runnable- the runnable- Returns:
- the action
-
delayUnaryOperator
static <E> java.util.function.UnaryOperator<E> delayUnaryOperator(java.lang.String message, long second)Delay function e.- Type Parameters:
E- the type parameter- Parameters:
message- the messagesecond- the second- Returns:
- the e
-
delayUnaryOperator
static <E> java.util.function.UnaryOperator<E> delayUnaryOperator(long second)
Delay unary operator function.- Type Parameters:
E- the type parameter- Parameters:
second- the second- Returns:
- the function
-
delayFunction
static <T,R> java.util.function.Function<T,R> delayFunction(java.lang.String message, R returnObject, long second)Delay function function.- Type Parameters:
T- the type parameterR- the type parameter- Parameters:
message- the messagereturnObject- the return objectsecond- the second- Returns:
- the function
-
delayFunction
static <T,R> java.util.function.Function<T,R> delayFunction(R returnObject, long second)Delay function function.- Type Parameters:
T- the type parameterR- the type parameter- Parameters:
returnObject- the return objectsecond- the second- Returns:
- the function
-
delayBiFunction
static <T,U,R> java.util.function.BiFunction<T,U,R> delayBiFunction(java.lang.String message, R returnObject, long second)Delay function function.- Type Parameters:
T- the type parameterU- the type parameterR- the type parameter- Parameters:
message- the messagereturnObject- the return objectsecond- the second- Returns:
- the function
-
delayBiFunction
static <T,U,R> java.util.function.BiFunction<T,U,R> delayBiFunction(R returnObject, long second)Delay function function.- Type Parameters:
T- the type parameterU- the type parameterR- the type parameter- Parameters:
returnObject- the return objectsecond- the second- Returns:
- the function
-
delayConsumer
static <E> java.util.function.Consumer<E> delayConsumer(java.lang.String message, long second)Delay second consumer consumer.- Type Parameters:
E- the type parameter- Parameters:
message- the messagesecond- the second- Returns:
- the consumer
-
delayConsumer
static <E> java.util.function.Consumer<E> delayConsumer(long second)
Delay consumer consumer.- Type Parameters:
E- the type parameter- Parameters:
second- the second- Returns:
- the consumer
-
delayBiConsumer
static <E,F> java.util.function.BiConsumer<E,F> delayBiConsumer(java.lang.String message, long second)Delay second consumer consumer.- Type Parameters:
E- the type parameterF- the type parameter- Parameters:
message- the messagesecond- the second- Returns:
- the consumer
-
delayBiConsumer
static <E,F> java.util.function.BiConsumer<E,F> delayBiConsumer(long second)
Delay consumer consumer.- Type Parameters:
E- the type parameterF- the type parameter- Parameters:
second- the second- Returns:
- the consumer
-
delaySupplier
static <E> java.util.function.Supplier<E> delaySupplier(java.lang.String message, E passThought, long second)Delay second supplier consumer.- Type Parameters:
E- the type parameter- Parameters:
message- the messagepassThought- the pass thoughtsecond- the second- Returns:
- the consumer
-
delaySupplier
static <E> java.util.function.Supplier<E> delaySupplier(E passThought, long second)Delay supplier supplier.- Type Parameters:
E- the type parameter- Parameters:
passThought- the pass thoughtsecond- the second- Returns:
- the supplier
-
delayRunnable
static <E> java.lang.Runnable delayRunnable(java.lang.String message, long second)Delay runnable action.- Type Parameters:
E- the type parameter- Parameters:
message- the messagesecond- the second- Returns:
- the action
-
delayRunnable
static <E> java.lang.Runnable delayRunnable(long second)
Delay runnable action.- Type Parameters:
E- the type parameter- Parameters:
second- the second- Returns:
- the action
-
delaySupplierWithError
static <E> java.util.function.Supplier<E> delaySupplierWithError(java.lang.String message, E passThought, E errValueForCompare, long second)Delay supplier with error supplier.- Type Parameters:
E- the type parameter- Parameters:
message- the messagepassThought- the pass thoughterrValueForCompare- the err value for comparesecond- the second- Returns:
- the supplier
-
delayUnaryOperatorWithError
static <E> java.util.function.UnaryOperator<E> delayUnaryOperatorWithError(java.lang.String message, E errValueForCompare, long second)Delay function e.- Type Parameters:
E- the type parameter- Parameters:
message- the messageerrValueForCompare- the err value for comparesecond- the second- Returns:
- the e
-
delayFunctionWithError
static <T,R> java.util.function.Function<T,R> delayFunctionWithError(java.lang.String message, T errValueForCompare, R returnObject, long second)Delay function function.- Type Parameters:
T- the type parameterR- the type parameter- Parameters:
message- the messageerrValueForCompare- the err value for comparereturnObject- the return objectsecond- the second- Returns:
- the function
-
defaultDelayUnaryOperator
static <E> E defaultDelayUnaryOperator(E object)
Delay function e.- Type Parameters:
E- the type parameter- Parameters:
object- the object- Returns:
- the e
-
defaultDelayConsumer
static <E> void defaultDelayConsumer(E object)
Delay second consumer consumer.- Type Parameters:
E- the type parameter- Parameters:
object- the object
-
defaultDelayBiConsumer
static <E,F> void defaultDelayBiConsumer(E left, F right)Delay second consumer consumer.- Type Parameters:
E- the type parameterF- the type parameter- Parameters:
left- the leftright- the right
-
defaultDelayRunnable
static <E> void defaultDelayRunnable()
Delay runnable action.- Type Parameters:
E- the type parameter
-
-