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

A

allocateMemory(long) - Static method in class PlatformDependent
Allocates direct memory.

D

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

E

ensurePositive(Duration, String) - Static method in class DurationUtils
Ensures the duration 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
Checks if sun.misc.Unsafe is available and has not been disabled.

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
 
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.

M

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

N

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!).

P

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

R

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.

T

throwException(Throwable) - Static method in class PlatformDependent
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 D E F H I M N P R S T U 
Skip navigation links