Index
All Classes and Interfaces|All Packages|Serialized Form
A
- Annotations - Class in tech.ydb.yoj.util.lang
- awaitTermination(ExecutorService, Duration) - Static method in class tech.ydb.yoj.util.lang.Interrupts
B
- BetterCollectors - Class in tech.ydb.yoj.util.lang
-
Better versions of collectors from
java.util.stream.Collectors.
C
- calcDuration(int) - Method in class tech.ydb.yoj.util.retry.ExponentialBackoffRetryPolicy
- calcDuration(int) - Method in class tech.ydb.yoj.util.retry.FixedDelayRetryPolicy
- calcDuration(int) - Method in interface tech.ydb.yoj.util.retry.RetryPolicy
- CallStack - Class in tech.ydb.yoj.util.lang
- CallStack() - Constructor for class tech.ydb.yoj.util.lang.CallStack
- CallStack.FrameResult - Class in tech.ydb.yoj.util.lang
- close() - Method in class tech.ydb.yoj.util.function.MoreSuppliers.CloseableMemoizer
D
- DEFAULT - Static variable in class tech.ydb.yoj.util.retry.ExponentialBackoffRetryPolicy
- delegate - Variable in class tech.ydb.yoj.util.function.MoreSuppliers.Memoizer
E
- Exceptions - Class in tech.ydb.yoj.util.lang
- expBackoff() - Static method in interface tech.ydb.yoj.util.retry.RetryPolicy
- expBackoff(long, long, double, double) - Static method in interface tech.ydb.yoj.util.retry.RetryPolicy
- expBackoff(Duration, Duration, double, double) - Static method in interface tech.ydb.yoj.util.retry.RetryPolicy
- ExponentialBackoffRetryPolicy - Class in tech.ydb.yoj.util.retry
- ExponentialBackoffRetryPolicy(long, long, double, double) - Constructor for class tech.ydb.yoj.util.retry.ExponentialBackoffRetryPolicy
F
- find(Class<A>, AnnotatedElement) - Static method in class tech.ydb.yoj.util.lang.Annotations
-
Find first annotation that matches the class in parameter
- findCallingFrame() - Method in class tech.ydb.yoj.util.lang.CallStack
- fixed(long) - Static method in interface tech.ydb.yoj.util.retry.RetryPolicy
- fixed(long, double) - Static method in interface tech.ydb.yoj.util.retry.RetryPolicy
- fixed(Duration) - Static method in interface tech.ydb.yoj.util.retry.RetryPolicy
- fixed(Duration, double) - Static method in interface tech.ydb.yoj.util.retry.RetryPolicy
- FixedDelayRetryPolicy - Class in tech.ydb.yoj.util.retry
- FixedDelayRetryPolicy() - Constructor for class tech.ydb.yoj.util.retry.FixedDelayRetryPolicy
- forEach(Consumer<? super T>) - Method in interface tech.ydb.yoj.util.function.StreamSupplier
-
Traverses the stream returned by
stream()in a non-deterministic order, executing the action specified on each stream element. - forEachOrdered(Consumer<? super T>) - Method in interface tech.ydb.yoj.util.function.StreamSupplier
-
Traverses the stream returned by
stream()in stream encounter order (if stream has one), executing the action specified on each stream element. - frame() - Method in class tech.ydb.yoj.util.lang.CallStack.FrameResult
G
- get() - Method in class tech.ydb.yoj.util.function.MoreSuppliers.Memoizer
- get() - Method in interface tech.ydb.yoj.util.function.StreamSupplier
-
Allows to use
StreamSupplieras aSupplier.
I
- Interrupts - Class in tech.ydb.yoj.util.lang
- isInitialized() - Method in class tech.ydb.yoj.util.function.MoreSuppliers.Memoizer
- isInterruptException(Throwable) - Static method in class tech.ydb.yoj.util.lang.Interrupts
-
Checks whether t is an interrupt-signaling exception (i.e.
- isOrCausedBy(Throwable, Class<X>) - Static method in class tech.ydb.yoj.util.lang.Exceptions
- isOrCausedByExact(Throwable, Class<X>) - Static method in class tech.ydb.yoj.util.lang.Exceptions
- isSameAs(RetryPolicy) - Method in interface tech.ydb.yoj.util.retry.RetryPolicy
- isSameAs(RetryPolicy) - Method in class tech.ydb.yoj.util.retry.ExponentialBackoffRetryPolicy
- isSameAs(RetryPolicy) - Method in class tech.ydb.yoj.util.retry.FixedDelayRetryPolicy
- isThreadInterrupted() - Static method in class tech.ydb.yoj.util.lang.Interrupts
-
Checks whether the current thread has its interrupt flag set.
- isThreadInterrupted(Throwable) - Static method in class tech.ydb.yoj.util.lang.Interrupts
-
Checks whether the current thread has been interrupted or got an interrupt-signaling exception (that is, an exception caused by
InterruptedException,InterruptedIOExceptionor one of their subclasses).
J
- join(String, Object...) - Static method in class tech.ydb.yoj.util.lang.Strings
L
- leftPad(String, int, char) - Static method in class tech.ydb.yoj.util.lang.Strings
M
- map(Function<StackWalker.StackFrame, T>) - Method in class tech.ydb.yoj.util.lang.CallStack.FrameResult
- memoize(Supplier<T>) - Static method in class tech.ydb.yoj.util.function.MoreSuppliers
- memoizeCloseable(Supplier<T>) - Static method in class tech.ydb.yoj.util.function.MoreSuppliers
- Memoizer() - Constructor for class tech.ydb.yoj.util.function.MoreSuppliers.Memoizer
- MoreSuppliers - Class in tech.ydb.yoj.util.function
- MoreSuppliers.CloseableMemoizer<T extends AutoCloseable> - Class in tech.ydb.yoj.util.function
- MoreSuppliers.Memoizer<T> - Class in tech.ydb.yoj.util.function
O
- orElseNull() - Method in class tech.ydb.yoj.util.function.MoreSuppliers.Memoizer
P
- Proxies - Class in tech.ydb.yoj.util.lang
- proxy(Class<T>, Supplier<Object>) - Static method in class tech.ydb.yoj.util.lang.Proxies
R
- removeSuffix(String, String) - Static method in class tech.ydb.yoj.util.lang.Strings
- retryImmediately() - Static method in interface tech.ydb.yoj.util.retry.RetryPolicy
- RetryPolicy - Interface in tech.ydb.yoj.util.retry
- runInCleanupMode(Runnable) - Static method in class tech.ydb.yoj.util.lang.Interrupts
S
- skipFramesWhile(Predicate<StackWalker.StackFrame>) - Method in class tech.ydb.yoj.util.lang.CallStack.FrameResult
- skipPackage(Package) - Method in class tech.ydb.yoj.util.lang.CallStack.FrameResult
- skipPackage(String) - Method in class tech.ydb.yoj.util.lang.CallStack.FrameResult
- skipPackages(Set<String>) - Method in class tech.ydb.yoj.util.lang.CallStack.FrameResult
- stream() - Method in interface tech.ydb.yoj.util.function.StreamSupplier
-
Returns a fresh stream, guaranteed to be open and not consumed by a terminal stream operation.
- StreamSupplier<T> - Interface in tech.ydb.yoj.util.function
-
Stream-processing methods should take a
Stream-returning lambda, not a rawStream. - Strings - Class in tech.ydb.yoj.util.lang
T
- tech.ydb.yoj.util.function - package tech.ydb.yoj.util.function
- tech.ydb.yoj.util.lang - package tech.ydb.yoj.util.lang
- tech.ydb.yoj.util.retry - package tech.ydb.yoj.util.retry
- toMapNullFriendly(Function<? super T, ? extends K>, Function<? super T, ? extends U>) - Static method in class tech.ydb.yoj.util.lang.BetterCollectors
- toString() - Method in class tech.ydb.yoj.util.function.MoreSuppliers.CloseableMemoizer
- toString() - Method in class tech.ydb.yoj.util.function.MoreSuppliers.Memoizer
U
- UncheckedInterruptedException - Exception in tech.ydb.yoj.util.lang
- UncheckedInterruptedException(InterruptedException) - Constructor for exception tech.ydb.yoj.util.lang.UncheckedInterruptedException
All Classes and Interfaces|All Packages|Serialized Form