A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes All Packages

A

AbstractPool<A> - Class in com.infilos.utils.pool
 
AbstractPool.PoolItem - Class in com.infilos.utils.pool
 
accept(double) - Method in interface com.infilos.api.CheckedDoubleConsumer
 
accept(int) - Method in interface com.infilos.api.CheckedIntConsumer
 
accept(long) - Method in interface com.infilos.api.CheckedLongConsumer
 
accept(A, B) - Method in interface com.infilos.api.CheckedBiConsumer
 
accept(T) - Method in interface com.infilos.api.CheckedConsumer
 
acquire() - Method in class com.infilos.utils.Pool
Acquire a lease for an object blocking if none is available.
activeSize() - Method in class com.infilos.utils.future.CurrentReducer
 
add(byte[], int, int) - Method in class com.infilos.utils.Hash.IncrementalHash32
 
add(Callable<? extends CompletionStage<T>>) - Method in class com.infilos.utils.future.CurrentReducer
 
afterDelay(E) - Method in class com.infilos.utils.retry.RetryDelay
Called after the delay, immediately before the retry.
ALL - com.infilos.utils.Loggable.Level
 
allMatch(DoublePredicate) - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
allMatch(IntPredicate) - Method in class com.infilos.utils.stream.ParallelIntStream
 
allMatch(LongPredicate) - Method in class com.infilos.utils.stream.ParallelLongStream
 
allMatch(Predicate<? super T>) - Method in class com.infilos.utils.stream.ParallelStream
 
andThen(CheckedBiConsumer<? super A, ? super B, ? extends E>) - Method in interface com.infilos.api.CheckedBiConsumer
Returns a new CheckedBiConsumer that also passes the inputs to that.
andThen(CheckedConsumer<? super T, E>) - Method in interface com.infilos.api.CheckedConsumer
Returns a new CheckedConsumer that also passes the input to that.
andThen(CheckedDoubleConsumer<E>) - Method in interface com.infilos.api.CheckedDoubleConsumer
Returns a new CheckedDoubleConsumer that also passes the input to that.
andThen(CheckedFunction<? super T, ? extends R, ? extends E>) - Method in interface com.infilos.api.CheckedBiFunction
Returns a new CheckedBiFunction that maps the return value using mapper.
andThen(CheckedFunction<? super T, ? extends R, ? extends E>) - Method in interface com.infilos.api.CheckedFunction
Returns a new CheckedFunction that maps the return value using mapper.
andThen(CheckedFunction<? super T, ? extends R, ? extends E>) - Method in interface com.infilos.api.CheckedSupplier
Returns a new CheckedSupplier that maps the return value using mapper.
andThen(CheckedIntConsumer<E>) - Method in interface com.infilos.api.CheckedIntConsumer
Returns a new CheckedIntConsumer that also passes the input to that.
andThen(CheckedLongConsumer<E>) - Method in interface com.infilos.api.CheckedLongConsumer
Returns a new CheckedLongConsumer that also passes the input to that.
andThen(Function<? super R, ? extends V>) - Method in interface com.infilos.api.Function3
Returns a composed function that first applies this function to its input, and then applies the after function to the result.
andThen(Function<? super R, ? extends V>) - Method in interface com.infilos.api.Function4
Returns a composed function that first applies this function to its input, and then applies the after function to the result.
andThen(Function<? super R, ? extends V>) - Method in interface com.infilos.api.Function5
Returns a composed function that first applies this function to its input, and then applies the after function to the result.
andThen(Function<? super R, ? extends V>) - Method in interface com.infilos.api.Function6
Returns a composed function that first applies this function to its input, and then applies the after function to the result.
Annotate - Class in com.infilos.reflect
 
anyMatch(DoublePredicate) - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
anyMatch(IntPredicate) - Method in class com.infilos.utils.stream.ParallelIntStream
 
anyMatch(LongPredicate) - Method in class com.infilos.utils.stream.ParallelLongStream
 
anyMatch(Predicate<? super T>) - Method in class com.infilos.utils.stream.ParallelStream
 
anyMatches(Throwable) - Method in class com.infilos.utils.retry.RetryPlan
Check if plan covers the exception.
apply(A, B) - Method in interface com.infilos.api.CheckedBiFunction
 
apply(A, B, C) - Method in interface com.infilos.api.Function3
Applies this function to the given arguments.
apply(A, B, C, D) - Method in interface com.infilos.api.Function4
Applies this function to the given arguments.
apply(A, B, C, D, E) - Method in interface com.infilos.api.Function5
Applies this function to the given arguments.
apply(A, B, C, D, E, F) - Method in interface com.infilos.api.Function6
Applies this function to the given arguments.
apply(F) - Method in interface com.infilos.api.CheckedFunction
 
asBase64(byte[]) - Static method in class com.infilos.utils.Encoder
 
asBase64(String) - Static method in class com.infilos.utils.Encoder
 
asDoubleStream() - Method in class com.infilos.utils.stream.ParallelIntStream
 
asDoubleStream() - Method in class com.infilos.utils.stream.ParallelLongStream
 
asLongStream() - Method in class com.infilos.utils.stream.ParallelIntStream
 
asMillis(LocalDateTime) - Static method in class com.infilos.utils.Datetimes
 
asSeconds(LocalDateTime) - Static method in class com.infilos.utils.Datetimes
 
asyncThreadPool(ExecutorService) - Method in class com.infilos.retry.RetryConfigBuilder
 
AtDays - Static variable in class com.infilos.utils.Datetimes.Formats
 
AtDays - Static variable in class com.infilos.utils.Datetimes.Patterns
 
AtHours - Static variable in class com.infilos.utils.Datetimes.Formats
 
AtHours - Static variable in class com.infilos.utils.Datetimes.Patterns
 
AtMinutes - Static variable in class com.infilos.utils.Datetimes.Formats
 
AtMinutes - Static variable in class com.infilos.utils.Datetimes.Patterns
 
AtMonths - Static variable in class com.infilos.utils.Datetimes.Formats
 
AtMonths - Static variable in class com.infilos.utils.Datetimes.Patterns
 
AtSeconds - Static variable in class com.infilos.utils.Datetimes.Formats
 
AtSeconds - Static variable in class com.infilos.utils.Datetimes.Patterns
 
AttemptStatus<T> - Class in com.infilos.retry
Status of each attempt.
AttemptStatus() - Constructor for class com.infilos.retry.AttemptStatus
 
AtYears - Static variable in class com.infilos.utils.Datetimes.Formats
 
AtYears - Static variable in class com.infilos.utils.Datetimes.Patterns
 
average() - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
average() - Method in class com.infilos.utils.stream.ParallelIntStream
 
average() - Method in class com.infilos.utils.stream.ParallelLongStream
 

B

BackoffStrategy - Interface in com.infilos.retry
 
BaseDiffer - Class in com.infilos.utils.differ
 
BaseDiffer() - Constructor for class com.infilos.utils.differ.BaseDiffer
 
BaseDiffer(boolean) - Constructor for class com.infilos.utils.differ.BaseDiffer
 
BaseDiffer(boolean, List<String>, List<String>) - Constructor for class com.infilos.utils.differ.BaseDiffer
 
BaseDiffer(List<String>, List<String>) - Constructor for class com.infilos.utils.differ.BaseDiffer
 
baseField() - Static method in interface com.infilos.utils.Differ
 
baseField() - Method in class com.infilos.utils.differ.DifferBuilder
 
baseGetter() - Static method in interface com.infilos.utils.Differ
 
baseGetter() - Method in class com.infilos.utils.differ.DifferBuilder
 
beforeDelay(E) - Method in class com.infilos.utils.retry.RetryDelay
Called if event will be retried after the delay.
boxed() - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
boxed() - Method in class com.infilos.utils.stream.ParallelIntStream
 
boxed() - Method in class com.infilos.utils.stream.ParallelLongStream
 
build() - Method in class com.infilos.retry.RetryConfigBuilder
 
build() - Method in class com.infilos.utils.Pool.PoolBuilder
 
builder() - Method in class com.infilos.retry.RetryConfig
Rebuid nice for test.
builder() - Static method in interface com.infilos.utils.Differ
 
builder() - Static method in class com.infilos.utils.Pool
 
BYTE - com.infilos.utils.DataSize.DataUnit
 

C

calculateObjectSize(Object) - Method in class com.infilos.utils.sizes.ObjectSizeCalculator
Given an object, returns the total allocated size, in bytes, of the object and all other objects reachable from it.
capacity() - Method in class com.infilos.utils.pool.AbstractPool
 
capacity() - Method in class com.infilos.utils.Pool
Returns the capacity of the pool.
capacity(int) - Method in class com.infilos.utils.Pool.PoolBuilder
 
CapacityReachedException(String) - Constructor for exception com.infilos.utils.future.CurrentReducer.CapacityReachedException
 
cast(Object, Class<T>) - Static method in class com.infilos.reflect.Classes
Casts object to type if it's a non-null instance of T, or else returns Optional.empty().
catchException(Class<E>, CompletionStage<? extends T>) - Static method in class com.infilos.api.Maybe
Returns a wrapper of stage that if stage failed with exception of exceptionType, that exception is caught and wrapped inside a Maybe to complete the wrapper stage normally.
check(boolean) - Static method in class com.infilos.utils.Require
 
check(boolean, String) - Static method in class com.infilos.utils.Require
 
check(boolean, String, Object...) - Static method in class com.infilos.utils.Require
 
check(A) - Method in class com.infilos.utils.Pool
Method to check objects health, invoked when object leased from pool.
check(A) - Method in class com.infilos.utils.pool.ExpiringPool
 
check(A) - Method in class com.infilos.utils.pool.SimplePool
 
checkCompleted(CompletionStage<?>) - Static method in class com.infilos.utils.Futures
Checks that a stage is completed.
checkConfig(RetryConfig<?>) - Method in class com.infilos.retry.backoff.ExponentialBackoffStrategy
 
checkConfig(RetryConfig<?>) - Method in class com.infilos.retry.backoff.FibonacciBackoffStrategy
 
checkConfig(RetryConfig<?>) - Method in class com.infilos.retry.backoff.FixedBackoffStrategy
 
checkConfig(RetryConfig<?>) - Method in class com.infilos.retry.backoff.RandomBackoffStrategy
 
checkConfig(RetryConfig<?>) - Method in class com.infilos.retry.backoff.RandomExponentialBackoffStrategy
 
checkConfig(RetryConfig<?>) - Method in interface com.infilos.retry.BackoffStrategy
 
CheckedBiConsumer<A,​B,​E extends Throwable> - Interface in com.infilos.api
A binary consumer that can throw checked exceptions.
CheckedBiFunction<A,​B,​T,​E extends Throwable> - Interface in com.infilos.api
A binary function that can throw checked exceptions.
CheckedBiPredicate<A,​B,​E extends Throwable> - Interface in com.infilos.api
A binary predicate that can throw checked exceptions.
CheckedConsumer<T,​E extends Throwable> - Interface in com.infilos.api
A consumer that can throw checked exceptions.
CheckedDoubleConsumer<E extends Throwable> - Interface in com.infilos.api
 
CheckedFunction<F,​T,​E extends Throwable> - Interface in com.infilos.api
A function that can throw checked exceptions.
CheckedIntConsumer<E extends Throwable> - Interface in com.infilos.api
 
CheckedLongConsumer<E extends Throwable> - Interface in com.infilos.api
 
CheckedRunnable<E extends Throwable> - Interface in com.infilos.api
 
CheckedSupplier<T,​E extends Throwable> - Interface in com.infilos.api
A supplier that can throw checked exceptions.
checker(Function<A, Boolean>) - Method in class com.infilos.utils.Pool.PoolBuilder
 
checkNotBlank(String) - Static method in class com.infilos.utils.Require
 
checkNotBlank(String, String) - Static method in class com.infilos.utils.Require
 
checkNotBlank(String, String, Object...) - Static method in class com.infilos.utils.Require
 
checkNotEmpty(Collection<T>) - Static method in class com.infilos.utils.Require
 
checkNotEmpty(Collection<T>, String) - Static method in class com.infilos.utils.Require
 
checkNotEmpty(Collection<T>, String, Object...) - Static method in class com.infilos.utils.Require
 
checkNotEmpty(T[]) - Static method in class com.infilos.utils.Require
 
checkNotEmpty(T[], String) - Static method in class com.infilos.utils.Require
 
checkNotEmpty(T[], String, Object...) - Static method in class com.infilos.utils.Require
 
checkNotNull(T) - Static method in class com.infilos.utils.Require
 
checkNotNull(T, String) - Static method in class com.infilos.utils.Require
 
checkNotNull(T, String, Object...) - Static method in class com.infilos.utils.Require
 
Classes - Class in com.infilos.reflect
 
ClassField - Class in com.infilos.reflect
Java 8 version: https://github.com/mobiuscode-de/nameof
clear() - Method in class com.infilos.utils.Pool
Clear the object pool, i.e.
close() - Method in class com.infilos.utils.Pool
Closes this pool, and properly disposes of each pooled object.
closed - Variable in class com.infilos.utils.Pool
 
collect(Supplier<R>, BiConsumer<R, ? super T>, BiConsumer<R, R>) - Method in class com.infilos.utils.stream.ParallelStream
 
collect(Supplier<R>, ObjDoubleConsumer<R>, BiConsumer<R, R>) - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
collect(Supplier<R>, ObjIntConsumer<R>, BiConsumer<R, R>) - Method in class com.infilos.utils.stream.ParallelIntStream
 
collect(Supplier<R>, ObjLongConsumer<R>, BiConsumer<R, R>) - Method in class com.infilos.utils.stream.ParallelLongStream
 
collect(Collector<? super T, A, R>) - Method in class com.infilos.utils.stream.ParallelStream
 
com.infilos.api - package com.infilos.api
 
com.infilos.reflect - package com.infilos.reflect
 
com.infilos.retry - package com.infilos.retry
 
com.infilos.retry.backoff - package com.infilos.retry.backoff
 
com.infilos.retry.exception - package com.infilos.retry.exception
 
com.infilos.retry.execute - package com.infilos.retry.execute
 
com.infilos.utils - package com.infilos.utils
 
com.infilos.utils.differ - package com.infilos.utils.differ
 
com.infilos.utils.future - package com.infilos.utils.future
 
com.infilos.utils.pool - package com.infilos.utils.pool
 
com.infilos.utils.retry - package com.infilos.utils.retry
 
com.infilos.utils.sizes - package com.infilos.utils.sizes
 
com.infilos.utils.stream - package com.infilos.utils.stream
 
combine(CompletionStage<A>, CompletionStage<B>, CompletionStage<C>, Function3<A, B, C, R>) - Static method in class com.infilos.utils.Futures
Combines multiple stages by applying a function.
combine(CompletionStage<A>, CompletionStage<B>, CompletionStage<C>, CompletionStage<D>, Function4<A, B, C, D, R>) - Static method in class com.infilos.utils.Futures
Combines multiple stages by applying a function.
combine(CompletionStage<A>, CompletionStage<B>, CompletionStage<C>, CompletionStage<D>, CompletionStage<E>, Function5<A, B, C, D, E, R>) - Static method in class com.infilos.utils.Futures
Combines multiple stages by applying a function.
combine(CompletionStage<A>, CompletionStage<B>, CompletionStage<C>, CompletionStage<D>, CompletionStage<E>, CompletionStage<F>, Function6<A, B, C, D, E, F, R>) - Static method in class com.infilos.utils.Futures
Combines multiple stages by applying a function.
combine(CompletionStage<A>, CompletionStage<B>, BiFunction<A, B, R>) - Static method in class com.infilos.utils.Futures
Combines multiple stages by applying a function.
combine(Function<CombinedFutures, T>, CompletionStage<?>...) - Static method in class com.infilos.utils.Futures
Combines multiple stages by applying a function.
combine(Function<CombinedFutures, T>, List<? extends CompletionStage<?>>) - Static method in class com.infilos.utils.Futures
Combines multiple stages by applying a function.
CombinedFutures - Class in com.infilos.utils.future
 
CombinedFutures(List<? extends CompletionStage<?>>) - Constructor for class com.infilos.utils.future.CombinedFutures
 
combineFutures(CompletionStage<A>, CompletionStage<B>, CompletionStage<C>, Function3<A, B, C, CompletionStage<R>>) - Static method in class com.infilos.utils.Futures
Composes multiple stages into another stage using a function.
combineFutures(CompletionStage<A>, CompletionStage<B>, CompletionStage<C>, CompletionStage<D>, Function4<A, B, C, D, CompletionStage<R>>) - Static method in class com.infilos.utils.Futures
Composes multiple stages into another stage using a function.
combineFutures(CompletionStage<A>, CompletionStage<B>, CompletionStage<C>, CompletionStage<D>, CompletionStage<E>, Function5<A, B, C, D, E, CompletionStage<R>>) - Static method in class com.infilos.utils.Futures
Composes multiple stages into another stage using a function.
combineFutures(CompletionStage<A>, CompletionStage<B>, CompletionStage<C>, CompletionStage<D>, CompletionStage<E>, CompletionStage<F>, Function6<A, B, C, D, E, F, CompletionStage<R>>) - Static method in class com.infilos.utils.Futures
Composes multiple stages into another stage using a function.
combineFutures(CompletionStage<A>, CompletionStage<B>, BiFunction<A, B, CompletionStage<R>>) - Static method in class com.infilos.utils.Futures
Composes multiple stages into another stage using a function.
CommonStream - Class in com.infilos.utils.stream
 
compareTo(DataSize) - Method in class com.infilos.utils.DataSize
 
compareTo(RetryDelay<E>) - Method in class com.infilos.utils.retry.RetryDelay
 
concat(DoubleStream, DoubleStream, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelDoubleStream
Creates a lazily concatenated parallel double stream whose elements are all the elements of the first stream followed by all the elements of the second stream.
concat(IntStream, IntStream, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelIntStream
Creates a lazily concatenated parallel int stream whose elements are all the elements of the first stream followed by all the elements of the second stream.
concat(LongStream, LongStream, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelLongStream
Creates a lazily concatenated parallel long stream whose elements are all the elements of the first stream followed by all the elements of the second stream.
concat(Stream<? extends T>, Stream<? extends T>, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelStream
Creates a lazily concatenated parallel stream whose elements are all the elements of the first stream followed by all the elements of the second stream.
config() - Static method in class com.infilos.retry.Retry
Retry.<T>config();
config(Class<T>) - Static method in class com.infilos.retry.Retry
Retry.config(T.class);
consume() - Method in class com.infilos.utils.pool.AbstractPool.PoolItem
 
consume() - Method in class com.infilos.utils.pool.ExpiringPool.ExpiringItem
 
consume() - Method in class com.infilos.utils.pool.SimplePool.SimpleItem
 
contains(Runnable) - Static method in class com.infilos.utils.Shutdown
 
convertTo(DataSize.DataUnit) - Method in class com.infilos.utils.DataSize
 
costDuration() - Method in class com.infilos.utils.Timer
 
costDuration() - Method in class com.infilos.utils.TimeSpan
 
costMillis() - Method in class com.infilos.utils.Timer
 
costMillis() - Method in class com.infilos.utils.TimeSpan
 
costNanos() - Method in class com.infilos.utils.TimeSpan
 
costString() - Method in class com.infilos.utils.Timer
 
costString() - Method in class com.infilos.utils.TimeSpan
 
costSummary() - Method in class com.infilos.utils.Timer
 
count() - Method in class com.infilos.utils.pool.PoolAdder
 
count() - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
count() - Method in class com.infilos.utils.stream.ParallelIntStream
 
count() - Method in class com.infilos.utils.stream.ParallelLongStream
 
count() - Method in class com.infilos.utils.stream.ParallelStream
 
create() - Method in class com.infilos.utils.Pool
Factory to create new objects.
create() - Method in class com.infilos.utils.pool.ExpiringPool
 
create() - Static method in class com.infilos.utils.pool.PoolAdder
 
create() - Static method in exception com.infilos.utils.pool.PoolClosedException
 
create() - Method in class com.infilos.utils.pool.SimplePool
 
create() - Static method in class com.infilos.utils.Scheduler
 
create(int) - Static method in class com.infilos.utils.Scheduler
 
create(int, int) - Static method in class com.infilos.utils.future.CurrentReducer
 
create(int, String) - Static method in class com.infilos.utils.Scheduler
 
create(int, String, boolean) - Static method in class com.infilos.utils.Scheduler
 
create(A, PoolRefType) - Static method in class com.infilos.utils.pool.PoolRef
 
createItem(A) - Method in class com.infilos.utils.pool.AbstractPool
 
createItem(A) - Method in class com.infilos.utils.pool.ExpiringPool
 
createItem(A) - Method in class com.infilos.utils.pool.SimplePool
 
creator(Supplier<A>) - Method in class com.infilos.utils.Pool.PoolBuilder
 
CurrentReducer<T> - Class in com.infilos.utils.future
CurrentReducer is used to queue tasks which will be executed in a manner reducing the number of concurrent tasks.
CurrentReducer.CapacityReachedException - Exception in com.infilos.utils.future
 

D

DataSize - Class in com.infilos.utils
 
DataSize(Double, DataSize.DataUnit) - Constructor for class com.infilos.utils.DataSize
 
DataSize.DataUnit - Enum in com.infilos.utils
 
Datetimes - Class in com.infilos.utils
 
Datetimes.Formats - Class in com.infilos.utils
 
Datetimes.Patterns - Class in com.infilos.utils
 
DEBUG - com.infilos.utils.Loggable.Level
 
decimalToNumeric(long, int) - Static method in class com.infilos.utils.Encoder
2 <= seed <= 62
DEFAULT_SEED - Static variable in class com.infilos.utils.Hash
 
dereference(CompletionStage<? extends CompletionStage<T>>) - Static method in class com.infilos.utils.Futures
This takes a stage of a stage of a value and returns a plain stage of a value.
destory(A) - Method in class com.infilos.utils.pool.AbstractPool
 
destroy() - Method in class com.infilos.utils.pool.AbstractPool.PoolItem
 
devise(Class<? extends Throwable>, List<? extends T>) - Method in class com.infilos.utils.retry.RetryPlan
Devise the plan with new cause type and corresponding strategies.
devise(Class<E>, Predicate<? super E>, List<? extends T>) - Method in class com.infilos.utils.retry.RetryPlan
Devise the plan with new cause type, condition and corresponding strategies.
devise(Predicate<? super Throwable>, List<? extends T>) - Method in class com.infilos.utils.retry.RetryPlan
Devise the plan with new condition and corresponding strategies.
diff(Object, Object) - Method in interface com.infilos.utils.Differ
 
diff(Object, Object) - Method in class com.infilos.utils.differ.FieldDiffer
 
diff(Object, Object) - Method in class com.infilos.utils.differ.GetterDiffer
 
Differ - Interface in com.infilos.utils
 
DifferBuilder - Class in com.infilos.utils.differ
 
DifferBuilder() - Constructor for class com.infilos.utils.differ.DifferBuilder
 
disableValidation() - Method in class com.infilos.retry.RetryConfigBuilder
 
dispose(A) - Method in class com.infilos.utils.Pool
Destructor to destroy objects, invoked when object evicted from the pool.
dispose(A) - Method in class com.infilos.utils.pool.ExpiringPool
 
dispose(A) - Method in class com.infilos.utils.pool.SimplePool
 
disposer(Consumer<A>) - Method in class com.infilos.utils.Pool.PoolBuilder
 
distinct() - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
distinct() - Method in class com.infilos.utils.stream.ParallelIntStream
 
distinct() - Method in class com.infilos.utils.stream.ParallelLongStream
 
distinct() - Method in class com.infilos.utils.stream.ParallelStream
 
duration() - Method in class com.infilos.utils.retry.RetryDelay
The delay interval.
Durations - Class in com.infilos.utils
 

E

enableValidation() - Method in class com.infilos.retry.RetryConfigBuilder
 
Encoder - Class in com.infilos.utils
 
end() - Method in class com.infilos.utils.Hash.IncrementalHash32
 
equals(Object) - Method in class com.infilos.api.Failed
 
equals(Object) - Method in class com.infilos.api.Succed
 
equals(Object) - Method in class com.infilos.api.Triplet
 
equals(Object) - Method in class com.infilos.api.Tuple
 
equals(Object) - Method in class com.infilos.utils.differ.FieldInfo
 
equals(Object) - Method in class com.infilos.utils.pool.ExpiringPool.ExpiringItem
 
equals(Object) - Method in class com.infilos.utils.retry.RetryDelay
 
ERROR - com.infilos.utils.Loggable.Level
 
except(E) - Static method in class com.infilos.api.Maybe
Creates an exceptional Maybe for exception.
exceptionallyCompose(CompletionStage<T>, Function<Throwable, ? extends CompletionStage<T>>) - Static method in class com.infilos.utils.Futures
Returns a new stage that, when this stage completes exceptionally, is executed with this stage's exception as the argument to the supplied function.
exclude(String...) - Method in class com.infilos.utils.differ.DifferBuilder
 
execute(E) - Method in class com.infilos.utils.retry.RetryPlan
Executes the plan and either returns an RetryExecution or throws E if the exception isn't covered by the plan or the plan decides to propagate.
execute(Callable<T>) - Method in class com.infilos.retry.execute.RetryAsyncExecutor
 
execute(Callable<T>) - Method in class com.infilos.retry.execute.RetrySyncExecutor
 
execute(Callable<T>) - Method in interface com.infilos.retry.RetryExecutor
 
execute(Callable<T>, String) - Method in class com.infilos.retry.execute.RetryAsyncExecutor
 
execute(Callable<T>, String) - Method in class com.infilos.retry.execute.RetrySyncExecutor
 
execute(Callable<T>, String) - Method in interface com.infilos.retry.RetryExecutor
 
ExpiringPool<A> - Class in com.infilos.utils.pool
 
ExpiringPool(int, PoolRefType, Duration, Supplier<A>, Consumer<A>, Consumer<A>, Function<A, Boolean>) - Constructor for class com.infilos.utils.pool.ExpiringPool
 
ExpiringPool.ExpiringItem - Class in com.infilos.utils.pool
 
exponentialBackoff5Tries5Sec() - Method in class com.infilos.retry.RetryConfigBuilder
 
ExponentialBackoffStrategy - Class in com.infilos.retry.backoff
AKA binary exponential backoff
ExponentialBackoffStrategy() - Constructor for class com.infilos.retry.backoff.ExponentialBackoffStrategy
 

F

factor() - Method in enum com.infilos.utils.DataSize.DataUnit
 
failed(E) - Static method in interface com.infilos.api.Result
 
Failed<T> - Class in com.infilos.api
 
failOnAnyError() - Method in class com.infilos.retry.RetryConfigBuilder
 
fiboBackoff7Tries5Sec() - Method in class com.infilos.retry.RetryConfigBuilder
 
fibonacci(int) - Method in class com.infilos.utils.retry.RetryDelay
Returns a fibonacci list of delays of size, as in 1, 1, 2, 3, 5, 8, ... with this delay being the multiplier.
FibonacciBackoffStrategy - Class in com.infilos.retry.backoff
 
FibonacciBackoffStrategy() - Constructor for class com.infilos.retry.backoff.FibonacciBackoffStrategy
 
FieldDiffer - Class in com.infilos.utils.differ
 
FieldDiffer() - Constructor for class com.infilos.utils.differ.FieldDiffer
 
FieldDiffer(boolean) - Constructor for class com.infilos.utils.differ.FieldDiffer
 
FieldDiffer(boolean, List<String>, List<String>) - Constructor for class com.infilos.utils.differ.FieldDiffer
 
FieldDiffer(List<String>, List<String>) - Constructor for class com.infilos.utils.differ.FieldDiffer
 
FieldInfo - Class in com.infilos.utils.differ
 
fill() - Method in class com.infilos.utils.Pool
Fills the object pool by creating (and pooling) new objects until the number of live objects reaches the pool capacity.
filter(DoublePredicate) - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
filter(IntPredicate) - Method in class com.infilos.utils.stream.ParallelIntStream
 
filter(LongPredicate) - Method in class com.infilos.utils.stream.ParallelLongStream
 
filter(Predicate<? super T>) - Method in class com.infilos.utils.stream.ParallelStream
 
findAny() - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
findAny() - Method in class com.infilos.utils.stream.ParallelIntStream
 
findAny() - Method in class com.infilos.utils.stream.ParallelLongStream
 
findAny() - Method in class com.infilos.utils.stream.ParallelStream
 
findFirst() - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
findFirst() - Method in class com.infilos.utils.stream.ParallelIntStream
 
findFirst() - Method in class com.infilos.utils.stream.ParallelLongStream
 
findFirst() - Method in class com.infilos.utils.stream.ParallelStream
 
first - Variable in class com.infilos.api.Triplet
 
first - Variable in class com.infilos.api.Tuple
 
fixedBackoff2Tries3Sec() - Method in class com.infilos.retry.RetryConfigBuilder
 
fixedBackoff5Tries10Sec() - Method in class com.infilos.retry.RetryConfigBuilder
 
FixedBackoffStrategy - Class in com.infilos.retry.backoff
 
FixedBackoffStrategy() - Constructor for class com.infilos.retry.backoff.FixedBackoffStrategy
 
fixedConsts(List<A>) - Static method in class com.infilos.utils.Pool
 
flatMap(DoubleFunction<? extends DoubleStream>) - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
flatMap(Function<? super T, ? extends Stream<? extends R>>) - Method in class com.infilos.utils.stream.ParallelStream
 
flatMap(Function<? super T, Maybe<T2, E>>) - Method in class com.infilos.api.Maybe
Flatmap the success value with function.
flatMap(Function<? super T, Result<U>>) - Method in class com.infilos.api.Failed
 
flatMap(Function<? super T, Result<U>>) - Method in interface com.infilos.api.Result
 
flatMap(Function<? super T, Result<U>>) - Method in class com.infilos.api.Succed
 
flatMap(IntFunction<? extends IntStream>) - Method in class com.infilos.utils.stream.ParallelIntStream
 
flatMap(LongFunction<? extends LongStream>) - Method in class com.infilos.utils.stream.ParallelLongStream
 
flatMapToDouble(Function<? super T, ? extends DoubleStream>) - Method in class com.infilos.utils.stream.ParallelStream
 
flatMapToInt(Function<? super T, ? extends IntStream>) - Method in class com.infilos.utils.stream.ParallelStream
 
flatMapToLong(Function<? super T, ? extends LongStream>) - Method in class com.infilos.utils.stream.ParallelStream
 
forEach(Consumer<? super T>) - Method in class com.infilos.utils.stream.ParallelStream
 
forEach(DoubleConsumer) - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
forEach(IntConsumer) - Method in class com.infilos.utils.stream.ParallelIntStream
 
forEach(LongConsumer) - Method in class com.infilos.utils.stream.ParallelLongStream
 
forEachOrdered(Consumer<? super T>) - Method in class com.infilos.utils.stream.ParallelStream
 
forEachOrdered(DoubleConsumer) - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
forEachOrdered(IntConsumer) - Method in class com.infilos.utils.stream.ParallelIntStream
 
forEachOrdered(LongConsumer) - Method in class com.infilos.utils.stream.ParallelLongStream
 
Formats() - Constructor for class com.infilos.utils.Datetimes.Formats
 
from(long) - Static method in class com.infilos.utils.Datetimes
 
from(String, DateTimeFormatter) - Static method in class com.infilos.utils.Datetimes
 
Function3<A,​B,​C,​R> - Interface in com.infilos.api
 
Function4<A,​B,​C,​D,​R> - Interface in com.infilos.api
Represents a function that accepts four arguments and produces a result.
Function5<A,​B,​C,​D,​E,​R> - Interface in com.infilos.api
Represents a function that accepts five arguments and produces a result.
Function6<A,​B,​C,​D,​E,​F,​R> - Interface in com.infilos.api
Represents a function that accepts six arguments and produces a result.
Futures - Class in com.infilos.utils
CompletableFuture utils.

G

generate(DoubleSupplier, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelDoubleStream
Creates a parallel infinite sequential unordered double stream where each element is generated by the provided DoubleSupplier.
generate(IntSupplier, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelIntStream
Creates a parallel infinite sequential unordered int stream where each element is generated by the provided IntSupplier.
generate(LongSupplier, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelLongStream
Creates a parallel infinite sequential unordered long stream where each element is generated by the provided LongSupplier.
generate(Supplier<T>, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelStream
Creates a parallel infinite sequential unordered stream where each element is generated by the provided Supplier.
get() - Method in interface com.infilos.api.CheckedSupplier
 
get() - Method in class com.infilos.api.Failed
 
get() - Method in interface com.infilos.api.Result
 
get() - Method in class com.infilos.api.Succed
 
get() - Method in class com.infilos.utils.PoolLease
Returns the object leased by the pool.
get(CompletionStage<T>) - Method in class com.infilos.utils.future.CombinedFutures
 
getAfterFailTryListener() - Method in class com.infilos.retry.RetryConfig
 
getArrayHeaderSize() - Method in interface com.infilos.utils.sizes.MemoryLayoutSpec
Returns the fixed overhead of an array of any type or length in this JVM.
getBackoffStrategy() - Method in class com.infilos.retry.RetryConfig
 
getBeforeNextTryListener() - Method in class com.infilos.retry.RetryConfig
 
getCompleted(CompletionStage<T>) - Static method in class com.infilos.utils.Futures
Gets the value of a completed stage.
getConfig() - Method in class com.infilos.retry.execute.RetryAsyncExecutor
 
getConfig() - Method in class com.infilos.retry.execute.RetrySyncExecutor
 
getDelayDuration() - Method in class com.infilos.retry.RetryConfig
 
getException(CompletionStage<T>) - Static method in class com.infilos.utils.Futures
Gets the exception from an exceptionally completed future
getExecutorService() - Method in class com.infilos.retry.RetryConfig
 
getFailure() - Method in class com.infilos.api.Failed
 
getFailure() - Method in interface com.infilos.api.Result
 
getFailure() - Method in class com.infilos.api.Succed
 
getFibonacciNumbers() - Method in class com.infilos.retry.backoff.FibonacciBackoffStrategy
 
getFieldName() - Method in class com.infilos.utils.differ.FieldInfo
 
getFinishTime() - Method in class com.infilos.retry.RetryStatus
 
getFirstType() - Method in class com.infilos.utils.differ.FieldInfo
 
getFirstValue() - Method in class com.infilos.utils.differ.FieldInfo
 
getId() - Method in class com.infilos.retry.RetryStatus
 
getLastException() - Method in class com.infilos.retry.RetryStatus
 
getMaxAttempts() - Method in class com.infilos.retry.RetryConfig
 
getObjectHeaderSize() - Method in interface com.infilos.utils.sizes.MemoryLayoutSpec
Returns the fixed overhead of for any Object subclass in this JVM.
getObjectPadding() - Method in interface com.infilos.utils.sizes.MemoryLayoutSpec
Returns the quantum field size for a field owned by an object in this JVM.
getOnCompletionListener() - Method in class com.infilos.retry.RetryConfig
 
getOnFailureListener() - Method in class com.infilos.retry.RetryConfig
 
getOnSuccessListener() - Method in class com.infilos.retry.RetryConfig
 
getOperation() - Method in class com.infilos.retry.RetryStatus
 
getOrElse(Supplier<T>) - Method in class com.infilos.api.Failed
 
getOrElse(Supplier<T>) - Method in interface com.infilos.api.Result
 
getOrElse(Supplier<T>) - Method in class com.infilos.api.Succed
 
getOrMap(CheckedFunction<? super E, ? extends T, X>) - Method in class com.infilos.api.Maybe
Transform failure exception to value, or return a new exception of type X.
getOrThrow() - Method in class com.infilos.api.Maybe
Get the success value or throw the original exception.
getOrThrow(Function<? super E, ? extends E>) - Method in class com.infilos.api.Maybe
Get the success value or throw the wrappered exception, recommended way to retain the stack trace.
getReferenceSize() - Method in interface com.infilos.utils.sizes.MemoryLayoutSpec
Returns the fixed size of an object reference in this JVM.
getResult() - Method in class com.infilos.retry.AttemptStatus
 
getRetryOnErrorExcluding() - Method in class com.infilos.retry.RetryConfig
 
getRetryOnErrorIncluding() - Method in class com.infilos.retry.RetryConfig
 
getRetryOnErrorMatcher() - Method in class com.infilos.retry.RetryConfig
 
getRetryOnValueExcluding() - Method in class com.infilos.retry.RetryConfig
 
getRetryOnValueIncluding() - Method in class com.infilos.retry.RetryConfig
 
getRetryOnValueMatcher() - Method in class com.infilos.retry.RetryConfig
 
getSecondType() - Method in class com.infilos.utils.differ.FieldInfo
 
getSecondValue() - Method in class com.infilos.utils.differ.FieldInfo
 
getStartTime() - Method in class com.infilos.retry.RetryStatus
 
getStatus() - Method in exception com.infilos.retry.exception.RetryTiredException
 
getSuperclassFieldPadding() - Method in interface com.infilos.utils.sizes.MemoryLayoutSpec
Returns the quantum field size for a field owned by one of an object's ancestor superclasses in this JVM.
GETTER_PREFIX_GET - Static variable in class com.infilos.reflect.ClassField
 
GETTER_PREFIX_IS - Static variable in class com.infilos.reflect.ClassField
 
GetterDiffer - Class in com.infilos.utils.differ
 
GetterDiffer() - Constructor for class com.infilos.utils.differ.GetterDiffer
 
GetterDiffer(boolean) - Constructor for class com.infilos.utils.differ.GetterDiffer
 
GetterDiffer(boolean, List<String>, List<String>) - Constructor for class com.infilos.utils.differ.GetterDiffer
 
GetterDiffer(List<String>, List<String>) - Constructor for class com.infilos.utils.differ.GetterDiffer
 
getTotalDuration() - Method in class com.infilos.retry.RetryStatus
 
getTotalTries() - Method in class com.infilos.retry.RetryStatus
 
GIGABYTE - com.infilos.utils.DataSize.DataUnit
 

H

handleAcquire() - Method in class com.infilos.utils.pool.AbstractPool
 
handleAcquire() - Method in class com.infilos.utils.Pool
 
handleClear() - Method in class com.infilos.utils.pool.AbstractPool
 
handleClear() - Method in class com.infilos.utils.Pool
 
handleClose() - Method in class com.infilos.utils.pool.ExpiringPool
 
handleClose() - Method in class com.infilos.utils.Pool
 
handleClose() - Method in class com.infilos.utils.pool.SimplePool
 
handleCompose(CompletionStage<T>, BiFunction<? super T, Throwable, ? extends CompletionStage<U>>) - Static method in class com.infilos.utils.Futures
Returns a new stage that, when this stage completes either normally or exceptionally, is executed with this stage's result and exception as arguments to the supplied function.
handleFill() - Method in class com.infilos.utils.pool.AbstractPool
 
handleFill() - Method in class com.infilos.utils.Pool
 
handleInvalidate() - Method in class com.infilos.utils.PoolLease
 
handleRelease() - Method in class com.infilos.utils.PoolLease
 
handleTryAcquire() - Method in class com.infilos.utils.pool.AbstractPool
 
handleTryAcquire() - Method in class com.infilos.utils.Pool
 
handleTryAcquire(Duration) - Method in class com.infilos.utils.pool.AbstractPool
 
handleTryAcquire(Duration) - Method in class com.infilos.utils.Pool
 
Hash - Class in com.infilos.utils
 
Hash.IncrementalHash32 - Class in com.infilos.utils
 
hash128(byte[]) - Static method in class com.infilos.utils.Hash
Murmur3 128-bit variant.
hash128(byte[], int, int, int) - Static method in class com.infilos.utils.Hash
Murmur3 128-bit variant.
hash32(byte[]) - Static method in class com.infilos.utils.Hash
Murmur3 32-bit variant.
hash32(byte[], int) - Static method in class com.infilos.utils.Hash
Murmur3 32-bit variant.
hash32(byte[], int, int) - Static method in class com.infilos.utils.Hash
Murmur3 32-bit variant.
hash32(byte[], int, int, int) - Static method in class com.infilos.utils.Hash
Murmur3 32-bit variant.
hash32(long) - Static method in class com.infilos.utils.Hash
 
hash32(long, int) - Static method in class com.infilos.utils.Hash
Murmur3 32-bit variant.
hash32(long, long) - Static method in class com.infilos.utils.Hash
 
hash32(long, long, int) - Static method in class com.infilos.utils.Hash
Murmur3 32-bit variant.
hash64(byte[]) - Static method in class com.infilos.utils.Hash
Murmur3 64-bit variant.
hash64(byte[], int, int) - Static method in class com.infilos.utils.Hash
 
hash64(byte[], int, int, int) - Static method in class com.infilos.utils.Hash
Murmur3 64-bit variant.
hash64(int) - Static method in class com.infilos.utils.Hash
 
hash64(long) - Static method in class com.infilos.utils.Hash
 
hash64(short) - Static method in class com.infilos.utils.Hash
 
hashCode() - Method in class com.infilos.api.Failed
 
hashCode() - Method in class com.infilos.api.Succed
 
hashCode() - Method in class com.infilos.api.Triplet
 
hashCode() - Method in class com.infilos.api.Tuple
 
hashCode() - Method in class com.infilos.utils.differ.FieldInfo
 
hashCode() - Method in class com.infilos.utils.pool.ExpiringPool.ExpiringItem
 
hashCode() - Method in class com.infilos.utils.retry.RetryDelay
 
hasSucced() - Method in class com.infilos.retry.AttemptStatus
 

I

ifCancelled(CompletionStage<?>, Consumer<? super CancellationException>) - Static method in class com.infilos.utils.Threads
 
ifFailed(Consumer<Throwable>) - Method in class com.infilos.api.Failed
 
ifFailed(Consumer<Throwable>) - Method in interface com.infilos.api.Result
 
ifFailed(Consumer<Throwable>) - Method in class com.infilos.api.Succed
 
ifPresent(Consumer<? super T>) - Method in class com.infilos.api.Maybe
Consume success value.
ifReturns(Predicate<T>, List<? extends RetryDelay<? super T>>) - Method in class com.infilos.utils.retry.RetryRunner
Returns a new object that retries if the return value satisfies condition.
ifReturns(Predicate<T>, Stream<? extends RetryDelay<? super T>>) - Method in class com.infilos.utils.retry.RetryRunner
Returns a new object that retries if the return value satisfies condition.
ifSucced(Consumer<T>) - Method in class com.infilos.api.Failed
 
ifSucced(Consumer<T>) - Method in interface com.infilos.api.Result
 
ifSucced(Consumer<T>) - Method in class com.infilos.api.Succed
 
include(String...) - Method in class com.infilos.utils.differ.DifferBuilder
 
IncrementalHash32() - Constructor for class com.infilos.utils.Hash.IncrementalHash32
 
INFO - com.infilos.utils.Loggable.Level
 
init() - Static method in class com.infilos.utils.Timer
 
init(String) - Static method in class com.infilos.utils.Timer
 
invalidate() - Method in class com.infilos.utils.PoolLease
Invalidates the current lease, will destroy the object and not return to pool.
isBase64(String) - Static method in class com.infilos.utils.Encoder
 
isEqual(Object, Object) - Method in class com.infilos.utils.differ.BaseDiffer
 
isEqual(Object, Object) - Method in interface com.infilos.utils.Differ
 
isExclude(FieldInfo) - Method in class com.infilos.utils.differ.BaseDiffer
 
isFailed() - Method in class com.infilos.api.Failed
 
isFailed() - Method in interface com.infilos.api.Result
 
isFailed() - Method in class com.infilos.api.Succed
 
isFieldEquals(FieldInfo) - Method in class com.infilos.utils.differ.BaseDiffer
 
isInclude(FieldInfo) - Method in class com.infilos.utils.differ.BaseDiffer
 
isOverrides(Method, Method) - Static method in class com.infilos.reflect.Annotate
 
isPresent() - Method in class com.infilos.api.Maybe
Check if is success.
isShutingdown() - Static method in class com.infilos.utils.Shutdown
 
isStarted() - Method in class com.infilos.utils.Scheduler
 
isSucced() - Method in class com.infilos.api.Failed
 
isSucced() - Method in interface com.infilos.api.Result
 
isSucced() - Method in class com.infilos.api.Succed
 
item1() - Method in class com.infilos.api.Triplet
 
item1() - Method in class com.infilos.api.Tuple
 
item2() - Method in class com.infilos.api.Triplet
 
item2() - Method in class com.infilos.api.Tuple
 
item3() - Method in class com.infilos.api.Triplet
 
items - Variable in class com.infilos.utils.pool.AbstractPool
 
iterate(double, DoubleUnaryOperator, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelDoubleStream
Creates a parallel infinite ordered double stream produced by iterative application of a function f to an initial element seed.
iterate(int, IntUnaryOperator, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelIntStream
Creates a parallel infinite ordered int stream produced by iterative application of a function f to an initial element seed.
iterate(long, LongUnaryOperator, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelLongStream
Creates a parallel infinite ordered long stream produced by iterative application of a function f to an initial element seed.
iterate(T, UnaryOperator<T>, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelStream
Creates a parallel infinite ordered stream produced by iterative application of a function f to an initial element seed.
iterateOnce(Stream<T>) - Static method in class com.infilos.utils.stream.Streams
Iterates through stream only once.
iterateThrough(Stream<? extends T>, CheckedConsumer<? super T, E>) - Static method in class com.infilos.utils.stream.Streams
Iterates through stream sequentially and passes each element to consumer with exceptions propagated.
iterator() - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
iterator() - Method in class com.infilos.utils.stream.ParallelIntStream
 
iterator() - Method in class com.infilos.utils.stream.ParallelLongStream
 

J

joinList() - Static method in class com.infilos.utils.Futures
Collect a stream of CompletionStages into a single future holding a list of the joined entities.
joinMap(Function<? super T, ? extends K>, Function<? super T, ? extends CompletionStage<? extends V>>) - Static method in class com.infilos.utils.Futures
Collect a stream of Objects into a single future holding a Map whose keys are the result of applying the provided mapping function to the input elements, and whose values are the corresponding joined entities.

K

keep() - Static method in class com.infilos.utils.Threads
 
KILOBYTE - com.infilos.utils.DataSize.DataUnit
 

L

leased() - Method in class com.infilos.utils.Pool
Returns the number of leased objects.
limit(long) - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
limit(long) - Method in class com.infilos.utils.stream.ParallelIntStream
 
limit(long) - Method in class com.infilos.utils.stream.ParallelLongStream
 
limit(long) - Method in class com.infilos.utils.stream.ParallelStream
 
listenAfterFailTry(RetryListener<T>) - Method in class com.infilos.retry.RetryConfigBuilder
 
listenBeforeNextTry(RetryListener<T>) - Method in class com.infilos.retry.RetryConfigBuilder
 
listenCompleteTry(RetryListener<T>) - Method in class com.infilos.retry.RetryConfigBuilder
 
listenFailedTry(RetryListener<T>) - Method in class com.infilos.retry.RetryConfigBuilder
 
listenSuccedTry(RetryListener<T>) - Method in class com.infilos.retry.RetryConfigBuilder
 
live() - Method in class com.infilos.utils.pool.AbstractPool
 
live() - Method in class com.infilos.utils.Pool
Returns the number of live objects, in pool and leased.
Localhost - Static variable in class com.infilos.utils.Network
 
log() - Method in interface com.infilos.utils.Loggable
Return a 'cached' logger instance for concrete type.
Loggable - Interface in com.infilos.utils
 
Loggable.Level - Enum in com.infilos.utils
 
logger(Class<?>) - Static method in interface com.infilos.utils.Loggable
 
logger(Class<?>, String) - Static method in interface com.infilos.utils.Loggable
 
loggers() - Static method in interface com.infilos.utils.Loggable
Only support logger binding of Logger

M

map(DoubleUnaryOperator) - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
map(Function<? super T, ? extends R>) - Method in class com.infilos.utils.stream.ParallelStream
 
map(Function<? super T, ? extends T2>) - Method in class com.infilos.api.Maybe
Map the success value with function.
map(Function<? super T, ? extends U>) - Method in class com.infilos.api.Failed
 
map(Function<? super T, ? extends U>) - Method in interface com.infilos.api.Result
 
map(Function<? super T, ? extends U>) - Method in class com.infilos.api.Succed
 
map(Function<A, B>) - Method in class com.infilos.utils.PoolLease
Gets the value from the lease, passing it onto the provided function and releasing it back to the pool after the function complete.
map(IntUnaryOperator) - Method in class com.infilos.utils.stream.ParallelIntStream
 
map(LongUnaryOperator) - Method in class com.infilos.utils.stream.ParallelLongStream
 
mapFalied(Function<Throwable, ? extends Throwable>) - Method in class com.infilos.api.Failed
 
mapFalied(Function<Throwable, ? extends Throwable>) - Method in interface com.infilos.api.Result
 
mapFalied(Function<Throwable, ? extends Throwable>) - Method in class com.infilos.api.Succed
 
mapToDouble(IntToDoubleFunction) - Method in class com.infilos.utils.stream.ParallelIntStream
 
mapToDouble(LongToDoubleFunction) - Method in class com.infilos.utils.stream.ParallelLongStream
 
mapToDouble(ToDoubleFunction<? super T>) - Method in class com.infilos.utils.stream.ParallelStream
 
mapToInt(DoubleToIntFunction) - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
mapToInt(LongToIntFunction) - Method in class com.infilos.utils.stream.ParallelLongStream
 
mapToInt(ToIntFunction<? super T>) - Method in class com.infilos.utils.stream.ParallelStream
 
mapToLong(DoubleToLongFunction) - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
mapToLong(IntToLongFunction) - Method in class com.infilos.utils.stream.ParallelIntStream
 
mapToLong(ToLongFunction<? super T>) - Method in class com.infilos.utils.stream.ParallelStream
 
mapToObj(DoubleFunction<? extends U>) - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
mapToObj(IntFunction<? extends U>) - Method in class com.infilos.utils.stream.ParallelIntStream
 
mapToObj(LongFunction<? extends U>) - Method in class com.infilos.utils.stream.ParallelLongStream
 
match(Predicate<? super T>) - Static method in class com.infilos.api.Maybe
Turns condition to a Predicate over Maybe.
max() - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
max() - Method in class com.infilos.utils.stream.ParallelIntStream
 
max() - Method in class com.infilos.utils.stream.ParallelLongStream
 
max(Comparator<? super T>) - Method in class com.infilos.utils.stream.ParallelStream
 
MAX_NUM_OF_FIB_NUMBERS - Static variable in class com.infilos.retry.backoff.FibonacciBackoffStrategy
 
maxIdleTime(Duration) - Method in class com.infilos.utils.Pool.PoolBuilder
 
Maybe<T,​E extends Throwable> - Class in com.infilos.api
Like Try type in Scala, declare the checked exception as a type parameter.
md5(String) - Static method in class com.infilos.utils.Encoder
 
MEGABYTE - com.infilos.utils.DataSize.DataUnit
 
MemoryLayoutSpec - Interface in com.infilos.utils.sizes
Describes constant memory overheads for various constructs in a JVM implementation.
min() - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
min() - Method in class com.infilos.utils.stream.ParallelIntStream
 
min() - Method in class com.infilos.utils.stream.ParallelLongStream
 
min(Comparator<? super T>) - Method in class com.infilos.utils.stream.ParallelStream
 
multipliedBy(double) - Method in class com.infilos.utils.retry.RetryDelay
Returns a new Delay with duration multiplied by multiplier.

N

name() - Method in class com.infilos.utils.Timer
 
nameOf(Class<T>, Function<T, ?>) - Static method in class com.infilos.reflect.ClassField
programmatically returns the name of the type's field specified by the given getter method
Network - Class in com.infilos.utils
 
nextDelayToWait(int, Duration) - Method in class com.infilos.retry.backoff.ExponentialBackoffStrategy
 
nextDelayToWait(int, Duration) - Method in class com.infilos.retry.backoff.FibonacciBackoffStrategy
 
nextDelayToWait(int, Duration) - Method in class com.infilos.retry.backoff.FixedBackoffStrategy
 
nextDelayToWait(int, Duration) - Method in class com.infilos.retry.backoff.NoWaitBackoffStrategy
 
nextDelayToWait(int, Duration) - Method in class com.infilos.retry.backoff.RandomBackoffStrategy
 
nextDelayToWait(int, Duration) - Method in class com.infilos.retry.backoff.RandomExponentialBackoffStrategy
 
nextDelayToWait(int, Duration) - Method in interface com.infilos.retry.BackoffStrategy
 
nextDelayToWait(int, Duration, Object, Exception) - Method in interface com.infilos.retry.BackoffStrategy
Evaluate next delay depens on last value or error which caused the retry.
noneMatch(DoublePredicate) - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
noneMatch(IntPredicate) - Method in class com.infilos.utils.stream.ParallelIntStream
 
noneMatch(LongPredicate) - Method in class com.infilos.utils.stream.ParallelLongStream
 
noneMatch(Predicate<? super T>) - Method in class com.infilos.utils.stream.ParallelStream
 
now() - Static method in class com.infilos.utils.Datetimes
 
NoWaitBackoffStrategy - Class in com.infilos.retry.backoff
 
NoWaitBackoffStrategy() - Constructor for class com.infilos.retry.backoff.NoWaitBackoffStrategy
 
nowInMills() - Static method in class com.infilos.utils.Datetimes
 
nowInMillsOfNano() - Static method in class com.infilos.utils.Datetimes
 
nowInNanos() - Static method in class com.infilos.utils.Datetimes
 
NULL - Static variable in class com.infilos.utils.Hash
 
numericToDecimal(String, int) - Static method in class com.infilos.utils.Encoder
2 <= seed <= 62

O

ObjectSize - Class in com.infilos.utils
https://stackoverflow.com/questions/52353/in-java-what-is-the-best-way-to-determine-the-size-of-an-object
ObjectSizeCalculator - Class in com.infilos.utils.sizes
 
ObjectSizeCalculator(MemoryLayoutSpec) - Constructor for class com.infilos.utils.sizes.ObjectSizeCalculator
Creates an object size calculator that can calculate object sizes for a given memoryLayoutSpecification.
of(long) - Static method in class com.infilos.utils.DataSize
 
of(A, B) - Static method in class com.infilos.api.Tuple
 
of(A, B, C) - Static method in class com.infilos.api.Triplet
 
of(Object) - Static method in class com.infilos.utils.ObjectSize
Get size of object.
of(Duration) - Static method in class com.infilos.utils.retry.RetryDelay
 
of(Supplier<T>) - Static method in interface com.infilos.api.Result
 
of(Optional<T>) - Static method in interface com.infilos.api.Result
 
of(T) - Static method in class com.infilos.api.Maybe
Creates a Maybe for value.
ofBase64(byte[]) - Static method in class com.infilos.utils.Encoder
 
ofBase64(String) - Static method in class com.infilos.utils.Encoder
 
ofClass(Class<?>, boolean) - Static method in class com.infilos.reflect.Annotate
 
OFF - com.infilos.utils.Loggable.Level
 
ofFailed(Throwable) - Static method in class com.infilos.utils.Futures
Returns a new CompletableFuture that is already exceptionally completed with the given exception.
offerSuccess() - Method in class com.infilos.utils.pool.AbstractPool.PoolItem
 
offerSuccess() - Method in class com.infilos.utils.pool.ExpiringPool.ExpiringItem
 
offerSuccess() - Method in class com.infilos.utils.pool.SimplePool.SimpleItem
 
ofFreeJvmHeap() - Static method in class com.infilos.utils.ObjectSize
Get amount of free memory within the heap in bytes.
ofList(List<? extends CompletionStage<? extends T>>) - Static method in class com.infilos.utils.Futures
Returns a new CompletableFuture which completes to a list of all values of its input stages, if all succeed.
ofMap(Map<U, ? extends CompletionStage<? extends T>>) - Static method in class com.infilos.utils.Futures
Returns a new CompletableFuture which completes to a map of all values of its input stages, if all succeed.
ofMaxJvmHeap() - Static method in class com.infilos.utils.ObjectSize
Get maximum size of heap in bytes.
ofMethod(Method, boolean) - Static method in class com.infilos.reflect.Annotate
 
ofMethodDeclaringClass(Method, boolean) - Static method in class com.infilos.reflect.Annotate
 
ofMillis(long) - Static method in class com.infilos.utils.retry.RetryDelay
 
ofNullable(T) - Static method in interface com.infilos.api.Result
 
ofNullable(T, Supplier<? extends Throwable>) - Static method in interface com.infilos.api.Result
 
ofSeconds(long) - Static method in class com.infilos.utils.retry.RetryDelay
 
ofSuccedList(List<? extends CompletionStage<T>>, Function<Throwable, ? extends T>) - Static method in class com.infilos.utils.Futures
Returns a new CompletableFuture which completes to a list of values of those input stages that succeeded.
ofSuccinct(long) - Static method in class com.infilos.utils.DataSize
 
ofTyped(Class<T>, Predicate<? super T>) - Static method in class com.infilos.api.Predicates
Wrap predicate with type check.
ofUsedJvmHeap() - Static method in class com.infilos.utils.ObjectSize
Get current size of heap in bytes.
onEvent(RetryStatus<T>) - Method in interface com.infilos.retry.RetryListener
 
onFailure(CheckedConsumer<? super E, ? extends X>) - Method in class com.infilos.api.Maybe
Catches and handles exception with handler, and then skips it in the returned Stream.
onlyBothExist(boolean) - Method in class com.infilos.utils.differ.DifferBuilder
 

P

ParallelDoubleStream - Class in com.infilos.utils.stream
An implementation of DoubleStream which uses a custom ForkJoinPool for parallel aggregate operations.
ParallelIntStream - Class in com.infilos.utils.stream
An implementation of IntStream which uses a custom ForkJoinPool for parallel aggregate operations.
ParallelLongStream - Class in com.infilos.utils.stream
An implementation of LongStream which uses a custom ForkJoinPool for parallel aggregate operations.
ParallelStream<T> - Class in com.infilos.utils.stream
An implementation of Stream which uses a custom ForkJoinPool for parallel aggregate operations.
parse(String) - Static method in class com.infilos.utils.DataSize
 
parse(String) - Static method in class com.infilos.utils.Durations
1d2h3s Y: year M: month D: day H: hour M: minute S: second PnYnMnDTnHnMnS
Patterns() - Constructor for class com.infilos.utils.Datetimes.Patterns
 
peek(Consumer<? super T>) - Method in class com.infilos.utils.stream.ParallelStream
 
peek(DoubleConsumer) - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
peek(IntConsumer) - Method in class com.infilos.utils.stream.ParallelIntStream
 
peek(LongConsumer) - Method in class com.infilos.utils.stream.ParallelLongStream
 
PETABYTE - com.infilos.utils.DataSize.DataUnit
 
poll(Supplier<Optional<T>>, Duration, ScheduledExecutorService) - Static method in class com.infilos.utils.Futures
Polls an external resource periodically until it returns a non-empty result.
Pool<A> - Class in com.infilos.utils
 
Pool() - Constructor for class com.infilos.utils.Pool
 
Pool.PoolBuilder<A> - Class in com.infilos.utils
 
PoolAdder - Class in com.infilos.utils.pool
 
PoolClosedException - Exception in com.infilos.utils.pool
 
PoolLease<A> - Class in com.infilos.utils
 
PoolLease() - Constructor for class com.infilos.utils.PoolLease
 
PoolRef<A> - Class in com.infilos.utils.pool
 
PoolRef() - Constructor for class com.infilos.utils.pool.PoolRef
 
PoolRefType - Enum in com.infilos.utils.pool
 
Predicates - Class in com.infilos.api
 
propagateCancellation(CompletionStage<T>, CompletionStage<?>) - Static method in class com.infilos.utils.Threads
Propagates cancellation from outer to inner.
propagateIfUnchecked(E) - Static method in class com.infilos.utils.Throws
 

Q

queuedSize() - Method in class com.infilos.utils.future.CurrentReducer
 

R

RandomBackoffStrategy - Class in com.infilos.retry.backoff
 
RandomBackoffStrategy() - Constructor for class com.infilos.retry.backoff.RandomBackoffStrategy
 
RandomBackoffStrategy(int) - Constructor for class com.infilos.retry.backoff.RandomBackoffStrategy
 
randomExpBackoff10Tries60Sec() - Method in class com.infilos.retry.RetryConfigBuilder
 
RandomExponentialBackoffStrategy - Class in com.infilos.retry.backoff
 
RandomExponentialBackoffStrategy() - Constructor for class com.infilos.retry.backoff.RandomExponentialBackoffStrategy
 
randomized(Random, double) - Method in class com.infilos.utils.retry.RetryDelay
Returns a new Delay with some extra randomness.
range(int, int, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelIntStream
Creates a parallel ordered int stream from startInclusive (inclusive) to endExclusive (exclusive) by an incremental step of 1.
range(long, long, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelLongStream
Creates a parallel ordered long stream from startInclusive (inclusive) to endExclusive (exclusive) by an incremental step of 1.
rangeClosed(int, int, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelIntStream
Creates a parallel ordered int stream from startInclusive (inclusive) to endInclusive (inclusive) by an incremental step of 1.
rangeClosed(long, long, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelLongStream
Creates a parallel ordered long stream from startInclusive (inclusive) to endInclusive (inclusive) by an incremental step of 1.
readAsBytes(String) - Static method in class com.infilos.utils.Resource
 
readAsFile(String) - Static method in class com.infilos.utils.Resource
 
readAsLines(String) - Static method in class com.infilos.utils.Resource
 
readAsStream(String) - Static method in class com.infilos.utils.Resource
 
readAsString(String) - Static method in class com.infilos.utils.Resource
 
reduce(double, DoubleBinaryOperator) - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
reduce(int, IntBinaryOperator) - Method in class com.infilos.utils.stream.ParallelIntStream
 
reduce(long, LongBinaryOperator) - Method in class com.infilos.utils.stream.ParallelLongStream
 
reduce(BinaryOperator<T>) - Method in class com.infilos.utils.stream.ParallelStream
 
reduce(DoubleBinaryOperator) - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
reduce(IntBinaryOperator) - Method in class com.infilos.utils.stream.ParallelIntStream
 
reduce(LongBinaryOperator) - Method in class com.infilos.utils.stream.ParallelLongStream
 
reduce(T, BinaryOperator<T>) - Method in class com.infilos.utils.stream.ParallelStream
 
reduce(U, BiFunction<U, ? super T, U>, BinaryOperator<U>) - Method in class com.infilos.utils.stream.ParallelStream
 
refType() - Method in class com.infilos.utils.pool.AbstractPool
 
refType() - Method in class com.infilos.utils.Pool
Returns the reference type of the objects stored in the pool.
refType(PoolRefType) - Method in class com.infilos.utils.Pool.PoolBuilder
 
release() - Method in class com.infilos.utils.PoolLease
Releases the object back to the pool for reuse.
remainingActiveCapacity() - Method in class com.infilos.utils.future.CurrentReducer
 
remainingQueueCapacity() - Method in class com.infilos.utils.future.CurrentReducer
 
remainingRetryPlan() - Method in class com.infilos.utils.retry.RetryExecution
Returns the exception plan for remaining exceptions.
remove(Runnable) - Static method in class com.infilos.utils.Shutdown
 
Require - Class in com.infilos.utils
 
reset(A) - Method in class com.infilos.utils.pool.ExpiringPool
 
reset(A) - Method in class com.infilos.utils.Pool
Resets the object's internal state, invoked when object added or release back to pool.
reset(A) - Method in class com.infilos.utils.pool.SimplePool
 
reseter(Consumer<A>) - Method in class com.infilos.utils.Pool.PoolBuilder
 
resizeThreads(int) - Method in class com.infilos.utils.Scheduler
 
resolveEffective() - Static method in interface com.infilos.utils.sizes.MemoryLayoutSpec
 
Resource - Class in com.infilos.utils
 
Result<T> - Interface in com.infilos.api
Aka scala's Result.
retry(CheckedSupplier<? extends R, E>, ScheduledExecutorService) - Method in class com.infilos.utils.retry.RetryOnReturn
Invokes and possibly retries supplier according to the retry strategies specified with uponReturn().
retry(CheckedSupplier<T, ?>, ScheduledExecutorService) - Method in class com.infilos.utils.retry.RetryRunner
Invokes and possibly retries supplier upon exceptions, according to the retry strategies specified with upon().
Retry - Class in com.infilos.retry
 
Retry() - Constructor for class com.infilos.retry.Retry
 
retryAsync(CheckedSupplier<? extends CompletionStage<R>, E>, ScheduledExecutorService) - Method in class com.infilos.utils.retry.RetryOnReturn
Invokes and possibly retries asyncSupplier according to the retry strategies specified with uponReturn().
retryAsync(CheckedSupplier<? extends CompletionStage<T>, ?>, ScheduledExecutorService) - Method in class com.infilos.utils.retry.RetryRunner
Invokes and possibly retries asyncSupplier upon exceptions, according to the retry strategies specified with upon().
RetryAsyncExecutor<T> - Class in com.infilos.retry.execute
Implementation that kicks off each retry request in its own separate thread that does not block the thread the execution is called from.
RetryAsyncExecutor(RetryConfig<T>) - Constructor for class com.infilos.retry.execute.RetryAsyncExecutor
 
retryBlockingly(CheckedSupplier<R, E>) - Method in class com.infilos.utils.retry.RetryOnReturn
Invokes and possibly retries supplier according to the retry strategies specified with uponReturn().
retryBlockingly(CheckedSupplier<T, E>) - Method in class com.infilos.utils.retry.RetryRunner
Invokes and possibly retries supplier upon exceptions, according to the retry strategies specified with upon().
RetryConfig<T> - Class in com.infilos.retry
 
RetryConfigBuilder<T> - Class in com.infilos.retry
 
RetryConfigBuilder() - Constructor for class com.infilos.retry.RetryConfigBuilder
 
RetryConfigBuilder(boolean) - Constructor for class com.infilos.retry.RetryConfigBuilder
 
RetryDelay<E> - Class in com.infilos.utils.retry
 
RetryDelay() - Constructor for class com.infilos.utils.retry.RetryDelay
 
RetryEscapedException - Exception in com.infilos.retry.exception
This exception represents when a call throws an exception that was not specified as one to retry on in the RetryConfig.
RetryEscapedException(String, Throwable) - Constructor for exception com.infilos.retry.exception.RetryEscapedException
 
RetryException - Exception in com.infilos.retry
 
RetryException(String) - Constructor for exception com.infilos.retry.RetryException
 
RetryException(String, Throwable) - Constructor for exception com.infilos.retry.RetryException
 
RetryExecution<T> - Class in com.infilos.utils.retry
Retry plan's exactly matched result, with matched strategy and remain rules.
RetryExecutor<T,​S> - Interface in com.infilos.retry
 
RetryInvalidConfigException - Exception in com.infilos.retry.exception
 
RetryInvalidConfigException(String) - Constructor for exception com.infilos.retry.exception.RetryInvalidConfigException
 
RetryListener<T> - Interface in com.infilos.retry
 
retryOnAnyError() - Method in class com.infilos.retry.RetryConfigBuilder
 
retryOnAnyErrorExclude(Class<? extends Exception>) - Method in class com.infilos.retry.RetryConfigBuilder
 
retryOnAnyErrorExclude(List<Class<? extends Exception>>) - Method in class com.infilos.retry.RetryConfigBuilder
 
retryOnAnyValueExclude(T...) - Method in class com.infilos.retry.RetryConfigBuilder
 
retryOnError(Class<? extends Exception>) - Method in class com.infilos.retry.RetryConfigBuilder
 
retryOnErrorMatch(Function<Exception, Boolean>) - Method in class com.infilos.retry.RetryConfigBuilder
 
retryOnErrorOfCausedBy() - Method in class com.infilos.retry.RetryConfigBuilder
 
retryOnErrors(List<Class<? extends Exception>>) - Method in class com.infilos.retry.RetryConfigBuilder
 
RetryOnReturn<T> - Class in com.infilos.utils.retry
Trigger retry depends on the returned value.
retryOnValue(T) - Method in class com.infilos.retry.RetryConfigBuilder
 
retryOnValueMatch(Function<T, Boolean>) - Method in class com.infilos.retry.RetryConfigBuilder
 
retryOnValues(T...) - Method in class com.infilos.retry.RetryConfigBuilder
 
RetryPlan<T> - Class in com.infilos.utils.retry
 
RetryPlan() - Constructor for class com.infilos.utils.retry.RetryPlan
 
RetryRule<T> - Class in com.infilos.utils.retry
 
RetryRunner - Class in com.infilos.utils.retry
 
RetryRunner() - Constructor for class com.infilos.utils.retry.RetryRunner
Create new RetryRunner with empty plan.
RetryStatus<T> - Class in com.infilos.retry
Final result after all attempts.
RetryStatus() - Constructor for class com.infilos.retry.RetryStatus
 
RetrySyncExecutor<T> - Class in com.infilos.retry.execute
Default implementation that does a single, synchronous retry in the same thread that it is called from.
RetrySyncExecutor(RetryConfig<T>) - Constructor for class com.infilos.retry.execute.RetrySyncExecutor
 
RetryTiredException - Exception in com.infilos.retry.exception
This exception represents a call execution that never succeeded after exhausting all retries.
RetryTiredException(String, Throwable, RetryStatus<?>) - Constructor for exception com.infilos.retry.exception.RetryTiredException
 
roundTo(DataSize.DataUnit) - Method in class com.infilos.utils.DataSize
 
run() - Method in interface com.infilos.api.CheckedRunnable
 
runAsync(RetryConfig<T>, String, Callable<T>) - Static method in class com.infilos.retry.Retry
 
runAsync(RetryConfig<T>, Callable<T>) - Static method in class com.infilos.retry.Retry
 
runSync(RetryConfig<T>, String, Callable<T>) - Static method in class com.infilos.retry.Retry
 
runSync(RetryConfig<T>, Callable<T>) - Static method in class com.infilos.retry.Retry
 

S

schedule(String, Runnable, long, long, TimeUnit) - Method in class com.infilos.utils.Scheduler
 
scheduleOnce(String, Runnable, long) - Method in class com.infilos.utils.Scheduler
 
scheduleOnce(String, Runnable, long, TimeUnit) - Method in class com.infilos.utils.Scheduler
 
Scheduler - Class in com.infilos.utils
 
second - Variable in class com.infilos.api.Triplet
 
second - Variable in class com.infilos.api.Tuple
 
setFinishTime(long) - Method in class com.infilos.retry.RetryStatus
 
setId(String) - Method in class com.infilos.retry.RetryStatus
 
setLastException(Exception) - Method in class com.infilos.retry.RetryStatus
 
setOperation(String) - Method in class com.infilos.retry.RetryStatus
 
setResult(T) - Method in class com.infilos.retry.AttemptStatus
 
setStartTime(long) - Method in class com.infilos.retry.RetryStatus
 
setSucced(boolean) - Method in class com.infilos.retry.AttemptStatus
 
setTotalDuration(Duration) - Method in class com.infilos.retry.RetryStatus
 
setTotalTries(int) - Method in class com.infilos.retry.RetryStatus
 
setup(int, Runnable) - Static method in class com.infilos.utils.Shutdown
 
shouldRetryOnAnyError() - Method in class com.infilos.retry.RetryConfig
 
shouldRetryOnErrorOfCausedBy() - Method in class com.infilos.retry.RetryConfig
 
shouldRetryOnValue() - Method in class com.infilos.retry.RetryConfig
 
shutdown() - Method in class com.infilos.utils.Scheduler
 
Shutdown - Class in com.infilos.utils
 
SimplePool<A> - Class in com.infilos.utils.pool
 
SimplePool(int, PoolRefType, Supplier<A>, Consumer<A>, Consumer<A>, Function<A, Boolean>) - Constructor for class com.infilos.utils.pool.SimplePool
 
SimplePool.SimpleItem - Class in com.infilos.utils.pool
 
size() - Method in class com.infilos.utils.pool.AbstractPool
 
size() - Method in class com.infilos.utils.Pool
Returns the number of objects keeped in the pool.
skip(long) - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
skip(long) - Method in class com.infilos.utils.stream.ParallelIntStream
 
skip(long) - Method in class com.infilos.utils.stream.ParallelLongStream
 
skip(long) - Method in class com.infilos.utils.stream.ParallelStream
 
sleep(long) - Static method in class com.infilos.utils.Threads
 
Soft - com.infilos.utils.pool.PoolRefType
 
sorted() - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
sorted() - Method in class com.infilos.utils.stream.ParallelIntStream
 
sorted() - Method in class com.infilos.utils.stream.ParallelLongStream
 
sorted() - Method in class com.infilos.utils.stream.ParallelStream
 
sorted(Comparator<? super T>) - Method in class com.infilos.utils.stream.ParallelStream
 
span() - Method in class com.infilos.utils.Timer
 
span(String) - Method in class com.infilos.utils.Timer
 
splitChunk(List<T>, int) - Static method in class com.infilos.utils.stream.CommonStream
 
splitChunk(List<T>, int, boolean) - Static method in class com.infilos.utils.stream.CommonStream
 
spliterator() - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
spliterator() - Method in class com.infilos.utils.stream.ParallelIntStream
 
spliterator() - Method in class com.infilos.utils.stream.ParallelLongStream
 
start() - Method in class com.infilos.utils.Timer
 
start(int) - Method in class com.infilos.utils.Hash.IncrementalHash32
 
startup() - Method in class com.infilos.utils.Scheduler
 
stop() - Method in class com.infilos.utils.Timer
 
stop(String) - Method in class com.infilos.utils.Timer
 
strategy() - Method in class com.infilos.utils.retry.RetryExecution
Returns the strategy to handle the current exception.
Streams - Class in com.infilos.utils.stream
 
Streams() - Constructor for class com.infilos.utils.stream.Streams
 
Strong - com.infilos.utils.pool.PoolRefType
 
submit(double[], ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelDoubleStream
Creates a parallel double stream from the given Array.
submit(int[], ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelIntStream
Creates a parallel int stream from the given Array.
submit(long[], ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelLongStream
Creates a parallel long stream from the given Array.
submit(Collection<T>, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelStream
Creates a parallel stream from the given Collection.
submit(Supplier<? extends Spliterator.OfDouble>, int, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelDoubleStream
Creates a parallel double stream from the given Spliterator supplier.
submit(Supplier<? extends Spliterator.OfInt>, int, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelIntStream
Creates a parallel int stream from the given Spliterator supplier.
submit(Supplier<? extends Spliterator.OfLong>, int, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelLongStream
Creates a parallel long stream from the given Spliterator supplier.
submit(Supplier<? extends Spliterator<T>>, int, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelStream
Creates a parallel stream from the given Spliterator supplier.
submit(Spliterator.OfDouble, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelDoubleStream
Creates a parallel double stream from the given Spliterator.
submit(Spliterator.OfInt, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelIntStream
Creates a parallel int stream from the given Spliterator.
submit(Spliterator.OfLong, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelLongStream
Creates a parallel long stream from the given Spliterator.
submit(Spliterator<T>, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelStream
Creates a parallel stream from the given Spliterator.
submit(DoubleStream.Builder, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelDoubleStream
Creates a parallel double stream from the given DoubleStream.Builder.
submit(IntStream.Builder, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelIntStream
Creates a parallel int stream from the given IntStream.Builder.
submit(LongStream.Builder, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelLongStream
Creates a parallel long stream from the given LongStream.Builder.
submit(Stream.Builder<T>, ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelStream
Creates a parallel stream from the given Stream.Builder.
submit(T[], ForkJoinPool) - Static method in class com.infilos.utils.stream.ParallelStream
Creates a parallel stream from the given Array.
succed(T) - Static method in interface com.infilos.api.Result
 
Succed<T> - Class in com.infilos.api
 
succinctDataSize() - Method in class com.infilos.utils.DataSize
 
sum() - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
sum() - Method in class com.infilos.utils.stream.ParallelIntStream
 
sum() - Method in class com.infilos.utils.stream.ParallelLongStream
 
summaryStatistics() - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
summaryStatistics() - Method in class com.infilos.utils.stream.ParallelIntStream
 
summaryStatistics() - Method in class com.infilos.utils.stream.ParallelLongStream
 
switchIfFailed(Function<Throwable, Result<T>>) - Method in class com.infilos.api.Failed
 
switchIfFailed(Function<Throwable, Result<T>>) - Method in interface com.infilos.api.Result
 
switchIfFailed(Function<Throwable, Result<T>>) - Method in class com.infilos.api.Succed
 
switchLoggerLevel(String, Loggable.Level) - Static method in interface com.infilos.utils.Loggable
Only support logger binding of Logger
switchRootLevel(Loggable.Level) - Static method in interface com.infilos.utils.Loggable
Only support logger binding of Logger

T

tag() - Method in class com.infilos.utils.TimeSpan
 
TERABYTE - com.infilos.utils.DataSize.DataUnit
 
test(A, B) - Method in interface com.infilos.api.CheckedBiPredicate
 
third - Variable in class com.infilos.api.Triplet
 
Threads - Class in com.infilos.utils
 
Throws - Class in com.infilos.utils
 
timed(List<T>) - Method in class com.infilos.utils.retry.RetryDelay
Returns a view of list that while not modifiable, will become empty when RetryDelay.duration() has elapsed since the time the view was created as if another thread had just concurrently removed all elements from it.
timed(List<T>, Clock) - Method in class com.infilos.utils.retry.RetryDelay
Returns a view of list that while not modifiable, will become empty when RetryDelay.duration() has elapsed since the time the view was created as if another thread had just concurrently removed all elements from it.
Timer - Class in com.infilos.utils
Timer timer = Timer.init(); timer.span(); timer.span(); timer.stop(); String summary = timer.costSummary();
TimeSpan - Class in com.infilos.utils
 
toArray() - Method in class com.infilos.utils.stream.ParallelDoubleStream
 
toArray() - Method in class com.infilos.utils.stream.ParallelIntStream
 
toArray() - Method in class com.infilos.utils.stream.ParallelLongStream
 
toArray() - Method in class com.infilos.utils.stream.ParallelStream
 
toArray(IntFunction<A[]>) - Method in class com.infilos.utils.stream.ParallelStream
 
toBytes() - Method in class com.infilos.utils.DataSize
 
toOption() - Method in class com.infilos.utils.pool.PoolRef
 
toString() - Method in class com.infilos.api.Failed
 
toString() - Method in class com.infilos.api.Succed
 
toString() - Method in class com.infilos.api.Triplet
 
toString() - Method in class com.infilos.api.Tuple
 
toString() - Method in class com.infilos.retry.execute.RetrySyncExecutor
 
toString() - Method in class com.infilos.retry.RetryConfig
 
toString() - Method in class com.infilos.retry.RetryStatus
 
toString() - Method in class com.infilos.utils.DataSize
 
toString() - Method in class com.infilos.utils.differ.FieldInfo
 
toString() - Method in class com.infilos.utils.retry.RetryDelay
 
TRACE - com.infilos.utils.Loggable.Level
 
Triplet<A,​B,​C> - Class in com.infilos.api
 
tryAcquire() - Method in class com.infilos.utils.Pool
Try to acquire a lease for an object without blocking.
tryAcquire(Duration) - Method in class com.infilos.utils.Pool
Try to acquire a lease for an object blocking at most until the given duration.
Tuple<A,​B> - Class in com.infilos.api
 

U

unit() - Method in class com.infilos.utils.DataSize
 
Units - Static variable in class com.infilos.utils.DataSize
 
unitString() - Method in enum com.infilos.utils.DataSize.DataUnit
 
UnitTable - Static variable in class com.infilos.utils.DataSize
 
upon(Class<E>, Predicate<? super E>, List<? extends RetryDelay<? super E>>) - Method in class com.infilos.utils.retry.RetryRunner
Returns a new Retryer that uses delays when an exception is instance of exceptionType and satisfies condition.
upon(Class<E>, Predicate<? super E>, Stream<? extends RetryDelay<? super E>>) - Method in class com.infilos.utils.retry.RetryRunner
Returns a new Retryer that uses delays when an exception is instance of exceptionType and satisfies condition.
upon(Class<E>, List<? extends RetryDelay<? super E>>) - Method in class com.infilos.utils.retry.RetryRunner
 
upon(Class<E>, Stream<? extends RetryDelay<? super E>>) - Method in class com.infilos.utils.retry.RetryRunner
Returns a new Retryer that uses delays when an exception is instance of exceptionType.
uponReturn(T, List<? extends RetryDelay<? super T>>) - Method in class com.infilos.utils.retry.RetryRunner
Returns a new object that retries if the function returns returnValue.
uponReturn(T, Stream<? extends RetryDelay<? super T>>) - Method in class com.infilos.utils.retry.RetryRunner
Returns a new object that retries if the function returns returnValue.

V

value() - Method in class com.infilos.utils.DataSize
 
value() - Method in class com.infilos.utils.PoolLease
 
valueOf(DataSize.DataUnit) - Method in class com.infilos.utils.DataSize
 
valueOf(String) - Static method in enum com.infilos.utils.DataSize.DataUnit
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.infilos.utils.Loggable.Level
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.infilos.utils.pool.PoolRefType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.infilos.utils.DataSize.DataUnit
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.infilos.utils.Loggable.Level
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.infilos.utils.pool.PoolRefType
Returns an array containing the constants of this enum type, in the order they are declared.

W

WARN - com.infilos.utils.Loggable.Level
 
Weak - com.infilos.utils.pool.PoolRefType
 
withBackoff(double, int) - Method in class com.infilos.utils.retry.RetryDelay
Returns an immutable List of delays with size.
withCustomBackoff(BackoffStrategy) - Method in class com.infilos.retry.RetryConfigBuilder
 
withDelayDuration(long, ChronoUnit) - Method in class com.infilos.retry.RetryConfigBuilder
 
withDelayDuration(Duration) - Method in class com.infilos.retry.RetryConfigBuilder
 
withExponentialBackoff() - Method in class com.infilos.retry.RetryConfigBuilder
 
withFibonacciBackoff() - Method in class com.infilos.retry.RetryConfigBuilder
 
withFixedBackoff() - Method in class com.infilos.retry.RetryConfigBuilder
 
withInfiniteAttempts() - Method in class com.infilos.retry.RetryConfigBuilder
 
withMaxAttempts(int) - Method in class com.infilos.retry.RetryConfigBuilder
 
withNoDelayBackoff() - Method in class com.infilos.retry.RetryConfigBuilder
 
withRandomBackoff() - Method in class com.infilos.retry.RetryConfigBuilder
 
withRandomExponentialBackoff() - Method in class com.infilos.retry.RetryConfigBuilder
 
wrap(CheckedBiFunction<? super A, ? super B, ? extends T, ? extends E>) - Static method in class com.infilos.api.Maybe
Wraps function to be used for a stream of Maybe.
wrap(CheckedBiFunction<? super A, ? super B, ? extends T, ? extends E>, Class<E>) - Static method in class com.infilos.api.Maybe
Wraps function to be used for a stream of Maybe.
wrap(CheckedFunction<? super F, ? extends T, ? extends E>, Class<E>) - Static method in class com.infilos.api.Maybe
Wraps function to be used for a stream of Maybe.
wrap(CheckedFunction<? super F, ? extends T, E>) - Static method in class com.infilos.api.Maybe
Wraps function to be used for a stream of Maybe.
wrap(CheckedSupplier<? extends T, ? extends E>) - Static method in class com.infilos.api.Maybe
Create maybe from value supplier, unchecked exception will be throw.
wrap(CheckedSupplier<? extends T, ? extends E>, Class<E>) - Static method in class com.infilos.api.Maybe
Wraps supplier to be used for a stream of Maybe.
wrapStream(CheckedBiFunction<? super A, ? super B, ? extends Stream<? extends T>, ? extends E>) - Static method in class com.infilos.api.Maybe
Wraps function that returns Stream<T> to one that returns Stream<Maybe<T, E>> with exceptions of type E wrapped.
wrapStream(CheckedBiFunction<? super A, ? super B, ? extends Stream<? extends T>, ? extends E>, Class<E>) - Static method in class com.infilos.api.Maybe
Wraps function that returns Stream<T> to one that returns Stream<Maybe<T, E>> with exceptions of type E wrapped.
wrapStream(CheckedFunction<? super F, ? extends Stream<? extends T>, ? extends E>, Class<E>) - Static method in class com.infilos.api.Maybe
Wraps function that returns Stream<T> to one that returns Stream<Maybe<T, E>> with exceptions of type E wrapped.
wrapStream(CheckedFunction<? super F, ? extends Stream<? extends T>, E>) - Static method in class com.infilos.api.Maybe
Wraps function that returns Stream<T> to one that returns Stream<Maybe<T, E>> with exceptions of type E wrapped.
wrapStream(CheckedSupplier<? extends Stream<? extends T>, ? extends E>, Class<E>) - Static method in class com.infilos.api.Maybe
Invokes supplier and wraps the returned Stream<T> or thrown exception into a stream of Maybe<T, E>.
wrapStream(CheckedSupplier<? extends Stream<? extends T>, E>) - Static method in class com.infilos.api.Maybe
Create maybe from stream supplier, unchecked exception will be throw.
writeResource(String, byte[]) - Static method in class com.infilos.utils.Resource
File would appear in "/target/classes" or "/target/test-classes".
writeResource(String, String) - Static method in class com.infilos.utils.Resource
 
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes All Packages