Skip navigation links
A C D E F H I L M N P R S T U 

A

addSuppressed(Throwable, Throwable) - Static method in class ThrowableUtils
Adds suppressed exception avoiding self-suppression.
allocateMemory(long) - Static method in class PlatformDependent
Allocates direct memory.

C

CharsetUtils - Class in io.servicetalk.utils.internal
Charset utilities.
combine(Object, Object) - Static method in class ThrowableUtils
Combine two potential Throwables into one.

D

DurationUtils - Class in io.servicetalk.utils.internal
Helper utilities for Duration.

E

ensureNonNegative(Duration, String) - Static method in class DurationUtils
Ensures the duration is non-negative.
ensureNonNegative(int, String) - Static method in class NumberUtils
Ensures the int is non-negative.
ensureNonNegative(long, String) - Static method in class NumberUtils
Ensures the long is non-negative.
ensurePositive(Duration, String) - Static method in class DurationUtils
Ensures the duration is positive, excluding zero.
ensurePositive(int, String) - Static method in class NumberUtils
Ensures the int is positive, excluding zero.
ensurePositive(long, String) - Static method in class NumberUtils
Ensures the long is positive, excluding zero.

F

findNextPositivePowerOfTwo(int) - Static method in class MathUtils
Fast method of finding the next power of 2 greater than or equal to the supplied value.
freeMemory(long) - Static method in class PlatformDependent
Deallocates direct memory.

H

hasUnsafe() - Static method in class PlatformDependent
Deprecated.
This method is not used by internal ServiceTalk code anymore and will be removed in future releases.

I

IllegalCharacterException - Exception in io.servicetalk.utils.internal
Exception that clarifies an illegal character and expected values.
IllegalCharacterException(byte) - Constructor for exception IllegalCharacterException
Creates a new instance.
IllegalCharacterException(byte, String) - Constructor for exception IllegalCharacterException
Creates a new instance.
io.servicetalk.utils.internal - package io.servicetalk.utils.internal
Internal general utilities used by ServiceTalk.
isInfinite(Duration, Duration) - Static method in class DurationUtils
Checks if the duration is considered "infinite".
isPositive(Duration) - Static method in class DurationUtils
Checks if the duration is positive, excluding zero.
isValidIpV4Address(CharSequence) - Static method in class NetworkUtils
Takes a string and parses it to see if it is a valid IPV4 address.
isValidIpV6Address(CharSequence) - Static method in class NetworkUtils
Takes a string and parses it to see if it is a valid IPV6 address.

L

loadProviders(Class<T>, ClassLoader, Logger) - Static method in class ServiceLoaderUtils
Loads provider classes via ServiceLoader.

M

MathUtils - Class in io.servicetalk.utils.internal
Internal math utilities.

N

NetworkUtils - Class in io.servicetalk.utils.internal
Network-related utilities.
newDirectBuffer(long, long, int) - Static method in class PlatformDependent
Creates a new ByteBuffer for the specified pre-allocated direct memory.
newMpscQueue(int) - Static method in class PlatformDependent
Create a new Queue which is safe to use for multiple producers (different threads) and a single consumer (one thread!).
newMpscQueue(int, int) - Static method in class PlatformDependent
Create a new Queue which is safe to use for multiple producers (different threads) and a single consumer (one thread!).
newSpscQueue(int) - Static method in class PlatformDependent
Create a new Queue which is safe to use for single producer (one thread!) and a single consumer (one thread!).
newSpscQueue(int, int) - Static method in class PlatformDependent
Create a new Queue which is safe to use for single producer (one thread!) and a single consumer (one thread!).
newUnboundedLinkedMpscQueue() - Static method in class PlatformDependent
Create a new MPSC Queue that will use a linked data structure and supports Collection.remove(Object).
newUnboundedMpscQueue() - Static method in class PlatformDependent
Create a new Queue which is safe to use for multiple producers (different threads) and a single consumer (one thread!).
newUnboundedMpscQueue(int) - Static method in class PlatformDependent
Create a new Queue which is safe to use for multiple producers (different threads) and a single consumer (one thread!).
newUnboundedSpscQueue(int) - Static method in class PlatformDependent
Create a new unbounded Queue which is safe to use for single producer (one thread!) and a single consumer (one thread!).
nextLongInclusive(long) - Static method in class RandomUtils
Generate a random long between 0 and the upper bound, both inclusive.
nextLongInclusive(long, long) - Static method in class RandomUtils
Generate a random long between the specified lower and upper bound, both inclusive.
NumberUtils - Class in io.servicetalk.utils.internal
Helper utilities for Numbers.

P

PlatformDependent - Class in io.servicetalk.utils.internal
Provide utilities that are dependent on the current runtime environment.

R

RandomUtils - Class in io.servicetalk.utils.internal
Internal random utilities.
ReflectionUtils - Class in io.servicetalk.utils.internal
Provide utilities to assist reflective access.
reserveMemory(long, int) - Static method in class PlatformDependent
Reserves direct memory for the specified size and capacity.
retrieveMethod(Class<?>, String, Class<?>...) - Static method in class ReflectionUtils
Retrieves the specific Method from the Class without checked exception.

S

safeFindNextPositivePowerOfTwo(int) - Static method in class MathUtils
Fast method of finding the next power of 2 greater than or equal to the supplied value.
ServiceLoaderUtils - Class in io.servicetalk.utils.internal
ServiceLoader utilities.
standardCharsets() - Static method in class CharsetUtils
Get a Collection of the StandardCharsets.

T

ThrowableUtils - Class in io.servicetalk.utils.internal
Utilities for working with Throwables.
throwException(Throwable) - Static method in class PlatformDependent
Deprecated.
throwException(Throwable) - Static method in class ThrowableUtils
Raises an exception bypassing compiler checks for checked exceptions.
toNanos(Duration) - Static method in class DurationUtils
Converts a Duration to nanoseconds or if the resulting value would overflow a 64-bit signed integer then either Long.MIN_VALUE or Long.MAX_VALUE as appropriate.
trySetAccessible(AccessibleObject, boolean) - Static method in class ReflectionUtils
Try to call AccessibleObject.setAccessible(boolean) but will catch any SecurityException and java.lang.reflect.InaccessibleObjectException (for JDK 9) and return it.

U

unreserveMemory(long, int) - Static method in class PlatformDependent
Unreserves direct memory for the specified size and capacity.
useDirectBufferWithoutZeroing() - Static method in class PlatformDependent
Checks if it is possible to create a new direct ByteBuffer without zeroing the direct memory.
A C D E F H I L M N P R S T U 
Skip navigation links