Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractInspector<I extends BaseInspector<I>> - Class in io.activej.common.inspector
- AbstractInspector() - Constructor for class io.activej.common.inspector.AbstractInspector
- accept(T) - Method in interface io.activej.common.function.ConsumerEx
- accept(T, U) - Method in interface io.activej.common.function.BiConsumerEx
- add(int) - Method in class io.activej.common.ref.RefInt
- and(boolean) - Method in class io.activej.common.ref.RefBoolean
- andThen(FatalErrorHandler) - Method in interface io.activej.common.exception.FatalErrorHandler
-
Combines handlers by chaining the next handler after the current one
- append(Iterator<? extends T>, T) - Static method in class io.activej.common.Utils
- ApplicationSettings - Class in io.activej.common
-
A class for initializing runtime constants
- ApplicationSettings() - Constructor for class io.activej.common.ApplicationSettings
- apply(T) - Method in interface io.activej.common.function.FunctionEx
- apply(T, U) - Method in interface io.activej.common.function.BiFunctionEx
- arraysEquals(byte[], int, int, byte[], int, int) - Static method in class io.activej.common.Utils
B
- BaseInspector<I extends BaseInspector<I>> - Interface in io.activej.common.inspector
- BiConsumerEx<T,
U> - Interface in io.activej.common.function -
Represents a
BiConsumercapable of throwing exceptions - BiFunctionEx<T,
U, R> - Interface in io.activej.common.function -
Represents a
BiFunctioncapable of throwing exceptions - BiPredicateEx<T,
U> - Interface in io.activej.common.function -
Represents a
BiPredicatecapable of throwing exceptions - BlockingService - Interface in io.activej.common.service
-
It is service which blocks thread during operations start and stop.
- bytes(long) - Static method in class io.activej.common.MemSize
-
Creates a
MemSizeof n bytes
C
- canBeCreated(Class<?>, String...) - Static method in class io.activej.common.reflection.ReflectionUtils
- checkArgument(boolean) - Static method in class io.activej.common.Checks
-
Checks a validity of an argument
- checkArgument(boolean, Object) - Static method in class io.activej.common.Checks
-
Checks a validity of an argument
- checkArgument(boolean, String, Object...) - Static method in class io.activej.common.Checks
-
Checks a validity of an argument
- checkArgument(boolean, Supplier<String>) - Static method in class io.activej.common.Checks
-
Checks a validity of an argument
- checkArgument(T, Predicate<T>) - Static method in class io.activej.common.Checks
-
Checks a validity of a given argument
- checkArgument(T, Predicate<T>, Object) - Static method in class io.activej.common.Checks
-
Checks a validity of a given argument
- checkArgument(T, Predicate<T>, String, Object...) - Static method in class io.activej.common.Checks
-
Checks a validity of a given argument
- checkArgument(T, Predicate<T>, Function<T, String>) - Static method in class io.activej.common.Checks
-
Checks a validity of a given argument
- checkArgument(T, Predicate<T>, Supplier<String>) - Static method in class io.activej.common.Checks
-
Checks a validity of a given argument
- checkNotNull(T) - Static method in class io.activej.common.Checks
-
Checks an object for nullness
- checkNotNull(T, Object) - Static method in class io.activej.common.Checks
-
Checks an object for nullness
- checkNotNull(T, String, Object...) - Static method in class io.activej.common.Checks
-
Checks an object for nullness
- checkNotNull(T, Supplier<String>) - Static method in class io.activej.common.Checks
-
Checks an object for nullness
- Checks - Class in io.activej.common
-
This class is used for determining whether
Checksshould be enabled or not. - Checks() - Constructor for class io.activej.common.Checks
- checkState(boolean) - Static method in class io.activej.common.Checks
-
Checks a validity of a state
- checkState(boolean, Object) - Static method in class io.activej.common.Checks
-
Checks a validity of a state
- checkState(boolean, String, Object...) - Static method in class io.activej.common.Checks
-
Checks a validity of a state
- checkState(boolean, Supplier<String>) - Static method in class io.activej.common.Checks
-
Checks a validity of a state
- combine(Initializer<? super T>...) - Static method in interface io.activej.common.initializer.Initializer
-
Combines multiple initializers into a single initializers that initializes an object by calling each given serializer in order
- combine(Iterable<? extends Initializer<? super T>>) - Static method in interface io.activej.common.initializer.Initializer
-
Combines multiple initializers into a single initializers that initializes an object by calling each given serializer in order
- compareTo(MemSize) - Method in class io.activej.common.MemSize
- concat(Iterator<? extends T>, Iterator<? extends T>) - Static method in class io.activej.common.Utils
- concat(List<? extends D>, List<? extends D>) - Static method in class io.activej.common.Utils
-
Concatenates two lists into one
- consume(BiConsumer<? super L, ? super R>) - Method in class io.activej.common.collection.Either
-
Consumes both left and right values
- consume(BiConsumer<? super T, Exception>) - Method in class io.activej.common.collection.Try
-
Consumes both a result and an exception of this
Try. - consume(Consumer<? super L>, Consumer<? super R>) - Method in class io.activej.common.collection.Either
-
Consumes both left and right values
- consume(Consumer<? super T>, Consumer<Exception>) - Method in class io.activej.common.collection.Try
-
Consumes a result of this
Tryif it is successful. - ConsumerEx<T> - Interface in io.activej.common.function
-
Represents a
Consumercapable of throwing exceptions - create() - Method in interface io.activej.common.tuple.TupleConstructor0
- create(T1) - Method in interface io.activej.common.tuple.TupleConstructor1
- create(T1, T2) - Method in interface io.activej.common.tuple.TupleConstructor2
- create(T1, T2, T3) - Method in interface io.activej.common.tuple.TupleConstructor3
- create(T1, T2, T3, T4) - Method in interface io.activej.common.tuple.TupleConstructor4
- create(T1, T2, T3, T4, T5) - Method in interface io.activej.common.tuple.TupleConstructor5
- create(T1, T2, T3, T4, T5, T6) - Method in interface io.activej.common.tuple.TupleConstructor6
- createStarted() - Static method in class io.activej.common.time.Stopwatch
- createUnstarted() - Static method in class io.activej.common.time.Stopwatch
- currentInstant() - Method in interface io.activej.common.time.CurrentTimeProvider
-
Returns current time as an
Instant - currentTimeMillis() - Method in interface io.activej.common.time.CurrentTimeProvider
-
Returns current time in milliseconds
- CurrentTimeProvider - Interface in io.activej.common.time
-
Gives access to current time in milliseconds
D
- dec() - Method in class io.activej.common.ref.RefByte
- dec() - Method in class io.activej.common.ref.RefDouble
- dec() - Method in class io.activej.common.ref.RefFloat
- dec() - Method in class io.activej.common.ref.RefInt
- dec() - Method in class io.activej.common.ref.RefLong
- dec(byte) - Method in class io.activej.common.ref.RefByte
- dec(double) - Method in class io.activej.common.ref.RefDouble
- dec(float) - Method in class io.activej.common.ref.RefFloat
- dec(long) - Method in class io.activej.common.ref.RefLong
- deepFindAnnotation(Class<?>, Class<A>) - Static method in class io.activej.common.reflection.ReflectionUtils
- difference(Set<? extends T>, Set<? extends T>) - Static method in class io.activej.common.Utils
-
Returns a difference of two sets
E
- Either<L,
R> - Class in io.activej.common.collection -
A compound type that represents a disjoint union of two values (only one value is present, either left or right)
- elapsed(TimeUnit) - Method in class io.activej.common.time.Stopwatch
- ensureRecycler(Class<?>) - Static method in class io.activej.common.recycle.Recyclers
-
Ensures a recycler for a given type
- entriesToMap(Stream<? extends Map.Entry<? extends K, ? extends V>>) - Static method in class io.activej.common.Utils
- entriesToMap(Stream<? extends Map.Entry<? extends K, ? extends V>>, Function<? super V, ? extends R>) - Static method in class io.activej.common.Utils
- equals(Object) - Method in class io.activej.common.collection.Either
- equals(Object) - Method in class io.activej.common.collection.Try
- equals(Object) - Method in class io.activej.common.MemSize
- equals(Object) - Method in class io.activej.common.tuple.Tuple1
- equals(Object) - Method in class io.activej.common.tuple.Tuple2
- equals(Object) - Method in class io.activej.common.tuple.Tuple3
- equals(Object) - Method in class io.activej.common.tuple.Tuple4
- equals(Object) - Method in class io.activej.common.tuple.Tuple5
- equals(Object) - Method in class io.activej.common.tuple.Tuple6
- extractFieldNameFromGetter(Method) - Static method in class io.activej.common.reflection.ReflectionUtils
- extractFieldNameFromGetterName(String) - Static method in class io.activej.common.reflection.ReflectionUtils
- extractFieldNameFromSetter(Method) - Static method in class io.activej.common.reflection.ReflectionUtils
- extractFieldNameFromSetterName(String) - Static method in class io.activej.common.reflection.ReflectionUtils
F
- FatalErrorHandler - Interface in io.activej.common.exception
-
A callback for any fatal (unchecked) exceptions
- FatalErrorHandlers - Class in io.activej.common.exception
-
Utility methods that allow to handle fatal errors using thread-specific handlers
- FatalErrorHandlers() - Constructor for class io.activej.common.exception.FatalErrorHandlers
- fetchAnnotationElementValue(Annotation, Method) - Static method in class io.activej.common.reflection.ReflectionUtils
-
Returns values if it is not null, otherwise throws exception
- fillInStackTrace() - Method in exception io.activej.common.exception.UncheckedException
- first(Iterable<? extends T>) - Static method in class io.activej.common.Utils
- first(List<? extends T>) - Static method in class io.activej.common.Utils
- flatMap(Function<T, Try<U>>) - Method in class io.activej.common.collection.Try
- flatMapLeft(Function<? super L, Either<T, R>>) - Method in class io.activej.common.collection.Either
- flatMapRight(Function<? super R, Either<L, T>>) - Method in class io.activej.common.collection.Either
- flip() - Method in class io.activej.common.ref.RefBoolean
- format() - Method in class io.activej.common.MemSize
-
Formats this
MemSizeas a string - formatDuration(Duration) - Static method in class io.activej.common.StringFormatUtils
- formatInstant(Instant) - Static method in class io.activej.common.StringFormatUtils
- formatLocalDateTime(LocalDateTime) - Static method in class io.activej.common.StringFormatUtils
- formatMemSize(MemSize) - Static method in class io.activej.common.StringFormatUtils
- formatPeriod(Period) - Static method in class io.activej.common.StringFormatUtils
- FunctionEx<T,
R> - Interface in io.activej.common.function -
Represents a
Functioncapable of throwing exceptions
G
- GB - Static variable in class io.activej.common.MemSize
- get() - Method in class io.activej.common.collection.Try
-
Returns a result of this
Try, possiblynull - get() - Method in interface io.activej.common.function.SupplierEx
- get() - Method in class io.activej.common.ref.Ref
- get() - Method in class io.activej.common.ref.RefBoolean
- get() - Method in class io.activej.common.ref.RefByte
- get() - Method in class io.activej.common.ref.RefDouble
- get() - Method in class io.activej.common.ref.RefFloat
- get() - Method in class io.activej.common.ref.RefInt
- get() - Method in class io.activej.common.ref.RefLong
- get(Function<String, T>, Class<?>, String, T) - Static method in class io.activej.common.ApplicationSettings
-
Retrieves a setting.
- get(Supplier<T>) - Static method in class io.activej.common.Utils
- getAllMethods(Class<?>) - Static method in class io.activej.common.reflection.ReflectionUtils
-
Returns a list containing
Methodobjects reflecting all the methods of the class or interface represented by thisClassobject, including those declared by the class or interface and those from superclasses and superinterfaces. - getAnnotationString(Annotation) - Static method in class io.activej.common.reflection.ReflectionUtils
-
Builds string representation of annotation with its elements.
- getBoolean(Class<?>, String, boolean) - Static method in class io.activej.common.ApplicationSettings
-
Retrieves a
booleansetting - getCause() - Method in exception io.activej.common.exception.UncheckedException
- getCharset(Class<?>, String, Charset) - Static method in class io.activej.common.ApplicationSettings
-
Retrieves a
Charsetsetting - getDouble(Class<?>, String, double) - Static method in class io.activej.common.ApplicationSettings
-
Retrieves a
doublesetting - getDuration(Class<?>, String, Duration) - Static method in class io.activej.common.ApplicationSettings
-
Retrieves a
Durationsetting - getElse(T) - Method in class io.activej.common.collection.Try
- getElseGet(Supplier<? extends T>) - Method in class io.activej.common.collection.Try
- getEnum(Class<?>, String, Class<E>, E) - Static method in class io.activej.common.ApplicationSettings
-
Retrieves a
Enumsetting - getException() - Method in class io.activej.common.collection.Try
-
Returns an exception of this
Try, possiblynull - getExceptionOrThrowError(Throwable) - Static method in class io.activej.common.exception.FatalErrorHandlers
- getFatalErrorHandler() - Static method in class io.activej.common.exception.FatalErrorHandlers
-
Returns a thread fatal error handler.
- getInetSocketAddress(Class<?>, String, InetSocketAddress) - Static method in class io.activej.common.ApplicationSettings
-
Retrieves a
InetSocketAddresssetting - getInt(Class<?>, String, int) - Static method in class io.activej.common.ApplicationSettings
-
Retrieves an
intsetting - getLeft() - Method in class io.activej.common.collection.Either
-
Returns a left value
- getLeftElse(L) - Method in class io.activej.common.collection.Either
-
If this
Eitheris left, returns left value. - getLeftElseGet(Supplier<? extends L>) - Method in class io.activej.common.collection.Either
-
If this
Eitheris left, returns left value. - getLocale(Class<?>, String, Locale) - Static method in class io.activej.common.ApplicationSettings
-
Retrieves a
Localesetting - getLong(Class<?>, String, long) - Static method in class io.activej.common.ApplicationSettings
-
Retrieves a
longsetting - getMemSize(Class<?>, String, MemSize) - Static method in class io.activej.common.ApplicationSettings
-
Retrieves a
MemSizesetting - getRight() - Method in class io.activej.common.collection.Either
-
Returns a right value
- getRightElse(R) - Method in class io.activej.common.collection.Either
-
If this
Eitheris right, returns right value. - getRightElseGet(Supplier<? extends R>) - Method in class io.activej.common.collection.Either
-
If this
Eitheris right, returns right value. - getString(Class<?>, String, String) - Static method in class io.activej.common.ApplicationSettings
-
Retrieves a
Stringsetting - getValue1() - Method in class io.activej.common.tuple.Tuple1
- getValue1() - Method in class io.activej.common.tuple.Tuple2
- getValue1() - Method in class io.activej.common.tuple.Tuple3
- getValue1() - Method in class io.activej.common.tuple.Tuple4
- getValue1() - Method in class io.activej.common.tuple.Tuple5
- getValue1() - Method in class io.activej.common.tuple.Tuple6
- getValue2() - Method in class io.activej.common.tuple.Tuple2
- getValue2() - Method in class io.activej.common.tuple.Tuple3
- getValue2() - Method in class io.activej.common.tuple.Tuple4
- getValue2() - Method in class io.activej.common.tuple.Tuple5
- getValue2() - Method in class io.activej.common.tuple.Tuple6
- getValue3() - Method in class io.activej.common.tuple.Tuple3
- getValue3() - Method in class io.activej.common.tuple.Tuple4
- getValue3() - Method in class io.activej.common.tuple.Tuple5
- getValue3() - Method in class io.activej.common.tuple.Tuple6
- getValue4() - Method in class io.activej.common.tuple.Tuple4
- getValue4() - Method in class io.activej.common.tuple.Tuple5
- getValue4() - Method in class io.activej.common.tuple.Tuple6
- getValue5() - Method in class io.activej.common.tuple.Tuple5
- getValue5() - Method in class io.activej.common.tuple.Tuple6
- getValue6() - Method in class io.activej.common.tuple.Tuple6
- gigabytes(long) - Static method in class io.activej.common.MemSize
-
Creates a
MemSizeof n gigabytes
H
- halt() - Static method in interface io.activej.common.exception.FatalErrorHandler
-
A fatal error handler that terminates JVM on any
Throwable - haltOn(Predicate<Throwable>) - Static method in interface io.activej.common.exception.FatalErrorHandler
-
A fatal error handler that terminates JVM on any error that matches a given predicate
- haltOnError() - Static method in interface io.activej.common.exception.FatalErrorHandler
-
A fatal error handler that terminates JVM on any
Error - haltOnOutOfMemoryError() - Static method in interface io.activej.common.exception.FatalErrorHandler
-
A fatal error handler that terminates JVM on any
OutOfMemoryError - haltOnVirtualMachineError() - Static method in interface io.activej.common.exception.FatalErrorHandler
-
A fatal error handler that terminates JVM on any
VirtualMachineError - handle(Throwable) - Method in interface io.activej.common.exception.FatalErrorHandler
-
Called when an unchecked exception is caught during execution of some task
- handle(Throwable, Object) - Method in interface io.activej.common.exception.FatalErrorHandler
-
Called when an unchecked exception is caught during execution of some task
- handleError(FatalErrorHandler, Throwable, Object) - Static method in class io.activej.common.exception.FatalErrorHandlers
-
Uses a given fatal error handler to handle a received
Throwable - handleError(Throwable) - Static method in class io.activej.common.exception.FatalErrorHandlers
-
Uses current thread's fatal error handler to handle a received
Throwable - handleError(Throwable, Object) - Static method in class io.activej.common.exception.FatalErrorHandlers
-
Uses current thread's fatal error handler to handle a received
Throwable - hashCode() - Method in class io.activej.common.collection.Either
- hashCode() - Method in class io.activej.common.collection.Try
- hashCode() - Method in class io.activej.common.MemSize
- hashCode() - Method in class io.activej.common.tuple.Tuple1
- hashCode() - Method in class io.activej.common.tuple.Tuple2
- hashCode() - Method in class io.activej.common.tuple.Tuple3
- hashCode() - Method in class io.activej.common.tuple.Tuple4
- hashCode() - Method in class io.activej.common.tuple.Tuple5
- hashCode() - Method in class io.activej.common.tuple.Tuple6
- HashUtils - Class in io.activej.common
- HashUtils() - Constructor for class io.activej.common.HashUtils
- hasIntersection(Set<? extends T>, Set<? extends T>) - Static method in class io.activej.common.Utils
I
- identity() - Static method in interface io.activej.common.function.FunctionEx
-
A function that returns passed value as is.
- ifException(Consumer<Exception>) - Method in class io.activej.common.collection.Try
-
Consumes an exception of this
Tryif it is failed. - ifLeft(Consumer<? super L>) - Method in class io.activej.common.collection.Either
-
Consumes a left value if this
Eitheris left. - ifRight(Consumer<? super R>) - Method in class io.activej.common.collection.Either
-
Consumes a right value if this
Eitheris right. - ifSuccess(Consumer<? super T>) - Method in class io.activej.common.collection.Try
-
Consumes a result of this
Tryif it is successful. - ignore() - Static method in interface io.activej.common.exception.FatalErrorHandler
-
A fatal error handler that simply ignores all received errors
- inc() - Method in class io.activej.common.ref.RefByte
- inc() - Method in class io.activej.common.ref.RefDouble
- inc() - Method in class io.activej.common.ref.RefFloat
- inc() - Method in class io.activej.common.ref.RefInt
- inc() - Method in class io.activej.common.ref.RefLong
- inc(byte) - Method in class io.activej.common.ref.RefByte
- inc(double) - Method in class io.activej.common.ref.RefDouble
- inc(float) - Method in class io.activej.common.ref.RefFloat
- inc(long) - Method in class io.activej.common.ref.RefLong
- Initializer<T> - Interface in io.activej.common.initializer
-
An initializer of some value
- intersection(Set<? extends T>, Set<? extends T>) - Static method in class io.activej.common.Utils
-
Returns an intersection of two sets
- InvalidSizeException - Exception in io.activej.common.exception
-
An exception that represents either malformed or improper size
- InvalidSizeException() - Constructor for exception io.activej.common.exception.InvalidSizeException
- InvalidSizeException(String) - Constructor for exception io.activej.common.exception.InvalidSizeException
- InvalidSizeException(String, Throwable) - Constructor for exception io.activej.common.exception.InvalidSizeException
- io.activej.common - package io.activej.common
- io.activej.common.collection - package io.activej.common.collection
- io.activej.common.exception - package io.activej.common.exception
- io.activej.common.function - package io.activej.common.function
- io.activej.common.initializer - package io.activej.common.initializer
- io.activej.common.inspector - package io.activej.common.inspector
- io.activej.common.recycle - package io.activej.common.recycle
- io.activej.common.ref - package io.activej.common.ref
- io.activej.common.reflection - package io.activej.common.reflection
- io.activej.common.service - package io.activej.common.service
- io.activej.common.time - package io.activej.common.time
- io.activej.common.tuple - package io.activej.common.tuple
- isBijection(Map<?, ?>) - Static method in class io.activej.common.Utils
- isBoxedPrimitiveType(Class<?>) - Static method in class io.activej.common.reflection.ReflectionUtils
- isClassPresent(String) - Static method in class io.activej.common.reflection.ReflectionUtils
- isClassPresent(String, ClassLoader) - Static method in class io.activej.common.reflection.ReflectionUtils
- isEnabled(Class<?>) - Static method in class io.activej.common.Checks
-
Indicates whether checks are enabled or disabled for the specified class
- isEnabledByDefault() - Static method in class io.activej.common.Checks
-
Returns a boolean that indicates whether checks are enabled by default
- isException() - Method in class io.activej.common.collection.Try
-
Returns whether this
Tryis failed - isGetter(Method) - Static method in class io.activej.common.reflection.ReflectionUtils
- isLeft() - Method in class io.activej.common.collection.Either
-
Returns whether this
Eitheris left (has left value) - isPrimitiveType(Class<?>) - Static method in class io.activej.common.reflection.ReflectionUtils
- isPrimitiveTypeOrBox(Class<?>) - Static method in class io.activej.common.reflection.ReflectionUtils
- isPublic(Class<?>) - Static method in class io.activej.common.reflection.ReflectionUtils
- isPublic(Method) - Static method in class io.activej.common.reflection.ReflectionUtils
- isRight() - Method in class io.activej.common.collection.Either
-
Returns whether this
Eitheris right (has right value) - isSetter(Method) - Static method in class io.activej.common.reflection.ReflectionUtils
- isSimpleType(Class<?>) - Static method in class io.activej.common.reflection.ReflectionUtils
- isSuccess() - Method in class io.activej.common.collection.Try
-
Returns whether this
Tryis successful - isThrowable(Class<?>) - Static method in class io.activej.common.reflection.ReflectionUtils
- iterate(Supplier<? extends T>, Predicate<? super T>) - Static method in class io.activej.common.Utils
- iterate(T, Predicate<? super T>, UnaryOperator<T>) - Static method in class io.activej.common.Utils
- iteratorOf() - Static method in class io.activej.common.Utils
- iteratorOf(T) - Static method in class io.activej.common.Utils
- iteratorOf(T...) - Static method in class io.activej.common.Utils
- iteratorOf(T, T) - Static method in class io.activej.common.Utils
K
- KB - Static variable in class io.activej.common.MemSize
- keysToMap(Stream<? extends K>, Function<? super K, ? extends V>) - Static method in class io.activej.common.Utils
- kilobytes(long) - Static method in class io.activej.common.MemSize
-
Creates a
MemSizeof n kilobytes
L
- last(Iterable<? extends T>) - Static method in class io.activej.common.Utils
- last(List<? extends T>) - Static method in class io.activej.common.Utils
- left(L) - Static method in class io.activej.common.collection.Either
-
Creates a new
Eitherwith a left value - listOf() - Static method in class io.activej.common.Utils
-
Returns an empty
List - listOf(T) - Static method in class io.activej.common.Utils
-
Returns a
Listof a provided element - listOf(T...) - Static method in class io.activej.common.Utils
-
Returns a
Listof provided elements - logging() - Static method in interface io.activej.common.exception.FatalErrorHandler
-
A fatal error handler that logs all errors to an internal
Logger - loggingTo(PrintStream) - Static method in interface io.activej.common.exception.FatalErrorHandler
-
A fatal error handler that logs all errors to a given
PrintStream - loggingTo(Logger) - Static method in interface io.activej.common.exception.FatalErrorHandler
-
A fatal error handler that logs all errors to a given
Logger - loggingToSystemErr() - Static method in interface io.activej.common.exception.FatalErrorHandler
-
A fatal error handler that logs all errors to a standard error output stream
- loggingToSystemOut() - Static method in interface io.activej.common.exception.FatalErrorHandler
-
A fatal error handler that logs all errors to a standard output stream
- lookup(BaseInspector<I>, Class<T>) - Static method in interface io.activej.common.inspector.BaseInspector
- lookup(Class<T>) - Method in class io.activej.common.inspector.AbstractInspector
- lookup(Class<T>) - Method in interface io.activej.common.inspector.BaseInspector
M
- MalformedDataException - Exception in io.activej.common.exception
-
An exception that represents malformed data
- MalformedDataException() - Constructor for exception io.activej.common.exception.MalformedDataException
- MalformedDataException(String) - Constructor for exception io.activej.common.exception.MalformedDataException
- MalformedDataException(String, Throwable) - Constructor for exception io.activej.common.exception.MalformedDataException
- MalformedDataException(Throwable) - Constructor for exception io.activej.common.exception.MalformedDataException
- map(FunctionEx<T, U>) - Method in class io.activej.common.collection.Try
- map(LongUnaryOperator) - Method in class io.activej.common.MemSize
- mapLeft(Function<? super L, ? extends T>) - Method in class io.activej.common.collection.Either
- mapOf() - Static method in class io.activej.common.Utils
-
Returns an empty
Map - mapOf(K, V) - Static method in class io.activej.common.Utils
-
Returns a
Mapof provided key and value - mapOf(K, V, K, V) - Static method in class io.activej.common.Utils
-
Returns a
Mapof provided keys and values - mapOf(K, V, K, V, K, V) - Static method in class io.activej.common.Utils
-
Returns a
Mapof provided keys and values - mapOf(K, V, K, V, K, V, K, V) - Static method in class io.activej.common.Utils
-
Returns a
Mapof provided keys and values - mapOf(K, V, K, V, K, V, K, V, K, V) - Static method in class io.activej.common.Utils
-
Returns a
Mapof provided keys and values - mapOf(K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class io.activej.common.Utils
-
Returns a
Mapof provided keys and values - mapRight(Function<? super R, ? extends T>) - Method in class io.activej.common.collection.Either
- MB - Static variable in class io.activej.common.MemSize
- megabytes(long) - Static method in class io.activej.common.MemSize
-
Creates a
MemSizeof n megabytes - MemSize - Class in io.activej.common
-
Encapsulates a size in bytes as a convenient abstraction
- murmur3hash(int) - Static method in class io.activej.common.HashUtils
- murmur3hash(int, int) - Static method in class io.activej.common.HashUtils
- murmur3hash(long) - Static method in class io.activej.common.HashUtils
N
- noMergeFunction() - Static method in class io.activej.common.Utils
- nonNullElse(T, T) - Static method in class io.activej.common.Utils
- nonNullElseEmpty(String) - Static method in class io.activej.common.Utils
- nonNullElseEmpty(List<T>) - Static method in class io.activej.common.Utils
- nonNullElseEmpty(Map<K, V>) - Static method in class io.activej.common.Utils
- nonNullElseEmpty(Set<T>) - Static method in class io.activej.common.Utils
- nonNullElseGet(T, Supplier<? extends T>) - Static method in class io.activej.common.Utils
- nonNullOrException(T, Supplier<E>) - Static method in class io.activej.common.Utils
- nullify(V, Runnable) - Static method in class io.activej.common.Utils
- nullify(V, BiConsumer<? super V, A>, A) - Static method in class io.activej.common.Utils
- nullify(V, Consumer<? super V>) - Static method in class io.activej.common.Utils
O
- of(long) - Static method in class io.activej.common.MemSize
-
Creates a
MemSizeof n bytes - of(Exception) - Static method in exception io.activej.common.exception.UncheckedException
- of(Runnable) - Static method in interface io.activej.common.function.RunnableEx
-
Creates a
RunnableExout ofRunnable - of(BiConsumer<T, U>) - Static method in interface io.activej.common.function.BiConsumerEx
-
Creates a
BiConsumerExout ofBiConsumer - of(BiFunction<T, U, R>) - Static method in interface io.activej.common.function.BiFunctionEx
-
Creates a
BiFunctionExout ofBiFunction - of(BiPredicate<T, U>) - Static method in interface io.activej.common.function.BiPredicateEx
- of(Consumer<T>) - Static method in interface io.activej.common.function.ConsumerEx
-
Creates a
ConsumerExout ofConsumer - of(Function<T, R>) - Static method in interface io.activej.common.function.FunctionEx
-
Creates a
FunctionExout ofFunction - of(Predicate<T>) - Static method in interface io.activej.common.function.PredicateEx
- of(Supplier<T>) - Static method in interface io.activej.common.function.SupplierEx
-
Creates a
SupplierExout ofSupplier - of(T) - Static method in class io.activej.common.collection.Try
-
Creates a new successful
Trywith a result - of(T, Exception) - Static method in class io.activej.common.collection.Try
-
Creates a new
Trywhich is either successful and has a result or is failed and has an exception - ofException(Exception) - Static method in class io.activej.common.collection.Try
-
Creates a new failed
Trywith a given exception - ofSystem() - Static method in interface io.activej.common.time.CurrentTimeProvider
-
Returns a provider of current time that uses
System.currentTimeMillis() - or(boolean) - Method in class io.activej.common.ref.RefBoolean
P
- parseDuration(String) - Static method in class io.activej.common.StringFormatUtils
- parseInetSocketAddress(String) - Static method in class io.activej.common.StringFormatUtils
- parseInstant(String) - Static method in class io.activej.common.StringFormatUtils
- parseLocalDateTime(String) - Static method in class io.activej.common.StringFormatUtils
- parseMemSize(String) - Static method in class io.activej.common.StringFormatUtils
- parsePeriod(String) - Static method in class io.activej.common.StringFormatUtils
-
Parses value to Period.
- PredicateEx<T> - Interface in io.activej.common.function
-
Represents a
Predicatecapable of throwing exceptions - prepend(T, Iterator<? extends T>) - Static method in class io.activej.common.Utils
R
- Recyclable - Interface in io.activej.common.recycle
-
Since some objects (mainly
ByteBufs) have the notion of ownership and recyclability, a way to recognize them is needed. - recycle() - Method in interface io.activej.common.recycle.Recyclable
-
Free some resource that this object possesses, e.g.
- recycle(Object) - Static method in class io.activej.common.recycle.Recyclers
-
Recycles a given object if there is a registered recycler for an object's class.
- recycle(T) - Method in interface io.activej.common.recycle.Recycler
-
Recycles an item
- Recycler<T> - Interface in io.activej.common.recycle
-
A generic interface that describes how an item should be recycled
- Recyclers - Class in io.activej.common.recycle
-
A registry of known
Recyclers - Recyclers() - Constructor for class io.activej.common.recycle.Recyclers
- reduce(BiFunction<? super L, ? super R, ? extends U>) - Method in class io.activej.common.collection.Either
-
Applies a function to this
Either's left and right values - reduce(BiFunction<? super T, Exception, ? extends U>) - Method in class io.activej.common.collection.Try
-
Applies a function to this
Try's result and an exception - reduce(Function<? super L, ? extends U>, Function<? super R, ? extends U>) - Method in class io.activej.common.collection.Either
-
Applies a function to this
Either's left or right value - reduce(Function<? super T, ? extends U>, Function<Exception, ? extends U>) - Method in class io.activej.common.collection.Try
-
Applies a function to either this
Try's result or an exception - Ref<T> - Class in io.activej.common.ref
- Ref() - Constructor for class io.activej.common.ref.Ref
- Ref(T) - Constructor for class io.activej.common.ref.Ref
- RefBoolean - Class in io.activej.common.ref
- RefBoolean(boolean) - Constructor for class io.activej.common.ref.RefBoolean
- RefByte - Class in io.activej.common.ref
- RefByte(byte) - Constructor for class io.activej.common.ref.RefByte
- RefDouble - Class in io.activej.common.ref
- RefDouble(double) - Constructor for class io.activej.common.ref.RefDouble
- RefFloat - Class in io.activej.common.ref
- RefFloat(float) - Constructor for class io.activej.common.ref.RefFloat
- RefInt - Class in io.activej.common.ref
- RefInt(int) - Constructor for class io.activej.common.ref.RefInt
- ReflectionUtils - Class in io.activej.common.reflection
- ReflectionUtils() - Constructor for class io.activej.common.reflection.ReflectionUtils
- RefLong - Class in io.activej.common.ref
- RefLong(long) - Constructor for class io.activej.common.ref.RefLong
- register(Class<T>, Recycler<T>) - Static method in class io.activej.common.recycle.Recyclers
-
Registers a new recycler for some type
- reset() - Method in class io.activej.common.time.Stopwatch
- rethrow() - Static method in interface io.activej.common.exception.FatalErrorHandler
-
A fatal error handler that rethrows any error it receives
- rethrowOn(Predicate<Throwable>) - Static method in interface io.activej.common.exception.FatalErrorHandler
-
A fatal error handler that rethrows any error that matches a given predicate
- right(R) - Static method in class io.activej.common.collection.Either
-
Creates a new
Eitherwith a right value - run() - Method in interface io.activej.common.function.RunnableEx
- RunnableEx - Interface in io.activej.common.function
-
Represents a
Runnablecapable of throwing exceptions
S
- set(boolean) - Method in class io.activej.common.ref.RefBoolean
- set(byte) - Method in class io.activej.common.ref.RefByte
- set(double) - Method in class io.activej.common.ref.RefDouble
- set(float) - Method in class io.activej.common.ref.RefFloat
- set(int) - Method in class io.activej.common.ref.RefInt
- set(long) - Method in class io.activej.common.ref.RefLong
- set(Class<?>, String, Object) - Static method in class io.activej.common.ApplicationSettings
-
Sets a custom setting
- set(T) - Method in class io.activej.common.ref.Ref
- setGlobalFatalErrorHandler(FatalErrorHandler) - Static method in class io.activej.common.exception.FatalErrorHandlers
-
Sets a global fatal error handler.
- setOf(T) - Static method in class io.activej.common.Utils
-
Returns a
Setof a provided element - setOf(T...) - Static method in class io.activej.common.Utils
-
Returns a
Setof provided elements - setThreadFatalErrorHandler(FatalErrorHandler) - Static method in class io.activej.common.exception.FatalErrorHandlers
-
Sets a fatal error handler for a current thread
- start() - Method in interface io.activej.common.service.BlockingService
- start() - Method in class io.activej.common.time.Stopwatch
- stop() - Method in interface io.activej.common.service.BlockingService
- stop() - Method in class io.activej.common.time.Stopwatch
- Stopwatch - Class in io.activej.common.time
- StringFormatUtils - Class in io.activej.common
- StringFormatUtils() - Constructor for class io.activej.common.StringFormatUtils
- SupplierEx<T> - Interface in io.activej.common.function
-
Represents a
Suppliercapable of throwing exceptions - swap() - Method in class io.activej.common.collection.Either
-
Returns a new
Eitherwhich has its left and right values swapped
T
- TB - Static variable in class io.activej.common.MemSize
- terabytes(long) - Static method in class io.activej.common.MemSize
-
Creates a
MemSizeof n terabytes - test(T) - Method in interface io.activej.common.function.PredicateEx
- test(T, U) - Method in interface io.activej.common.function.BiPredicateEx
- TO_STRING_LIMIT - Static variable in class io.activej.common.Utils
- ToDoException - Exception in io.activej.common.exception
-
A helper exception that indicates that some API needs to be implemented
- ToDoException() - Constructor for exception io.activej.common.exception.ToDoException
- ToDoException(String) - Constructor for exception io.activej.common.exception.ToDoException
- ToDoException(String, Throwable) - Constructor for exception io.activej.common.exception.ToDoException
- ToDoException(Throwable) - Constructor for exception io.activej.common.exception.ToDoException
- toEither() - Method in class io.activej.common.collection.Try
- toInt() - Method in class io.activej.common.MemSize
-
Returns a number of bytes is this
MemSizeasint - toLong() - Method in class io.activej.common.MemSize
-
Returns a number of bytes is this
MemSize - toString() - Method in class io.activej.common.collection.Either
- toString() - Method in class io.activej.common.collection.Try
- toString() - Method in class io.activej.common.MemSize
- toString() - Method in class io.activej.common.ref.Ref
- toString() - Method in class io.activej.common.ref.RefBoolean
- toString() - Method in class io.activej.common.ref.RefByte
- toString() - Method in class io.activej.common.ref.RefDouble
- toString() - Method in class io.activej.common.ref.RefFloat
- toString() - Method in class io.activej.common.ref.RefInt
- toString() - Method in class io.activej.common.ref.RefLong
- toString() - Method in class io.activej.common.time.Stopwatch
- toString() - Method in class io.activej.common.tuple.Tuple1
- toString() - Method in class io.activej.common.tuple.Tuple2
- toString() - Method in class io.activej.common.tuple.Tuple3
- toString() - Method in class io.activej.common.tuple.Tuple4
- toString() - Method in class io.activej.common.tuple.Tuple5
- toString() - Method in class io.activej.common.tuple.Tuple6
- toString(Collection<? extends T>) - Static method in class io.activej.common.Utils
- toString(Collection<? extends T>, int) - Static method in class io.activej.common.Utils
- toString(Map<? extends K, ? extends V>) - Static method in class io.activej.common.Utils
- toString(Map<? extends K, ? extends V>, int) - Static method in class io.activej.common.Utils
- transformIterator(Iterator<? extends T>, Function<? super T, ? extends R>) - Static method in class io.activej.common.Utils
- transformMap(Map<? extends K, ? extends V>, Function<? super V, ? extends R>) - Static method in class io.activej.common.Utils
- TruncatedDataException - Exception in io.activej.common.exception
-
An exception that represents truncated data
- TruncatedDataException() - Constructor for exception io.activej.common.exception.TruncatedDataException
- TruncatedDataException(String) - Constructor for exception io.activej.common.exception.TruncatedDataException
- TruncatedDataException(String, Throwable) - Constructor for exception io.activej.common.exception.TruncatedDataException
- Try<T> - Class in io.activej.common.collection
-
A compound type that represents either a result or an exception
- tryToCreateInstanceWithFactoryMethods(Class<T>, String...) - Static method in class io.activej.common.reflection.ReflectionUtils
- Tuple1<T1> - Class in io.activej.common.tuple
- Tuple1(T1) - Constructor for class io.activej.common.tuple.Tuple1
- Tuple2<T1,
T2> - Class in io.activej.common.tuple - Tuple2(T1, T2) - Constructor for class io.activej.common.tuple.Tuple2
- Tuple3<T1,
T2, T3> - Class in io.activej.common.tuple - Tuple3(T1, T2, T3) - Constructor for class io.activej.common.tuple.Tuple3
- Tuple4<T1,
T2, T3, T4> - Class in io.activej.common.tuple - Tuple4(T1, T2, T3, T4) - Constructor for class io.activej.common.tuple.Tuple4
- Tuple5<T1,
T2, T3, T4, T5> - Class in io.activej.common.tuple - Tuple5(T1, T2, T3, T4, T5) - Constructor for class io.activej.common.tuple.Tuple5
- Tuple6<T1,
T2, T3, T4, T5, T6> - Class in io.activej.common.tuple - Tuple6(T1, T2, T3, T4, T5, T6) - Constructor for class io.activej.common.tuple.Tuple6
- TupleConstructor0<R> - Interface in io.activej.common.tuple
- TupleConstructor1<T1,
R> - Interface in io.activej.common.tuple - TupleConstructor2<T1,
T2, R> - Interface in io.activej.common.tuple - TupleConstructor3<T1,
T2, T3, R> - Interface in io.activej.common.tuple - TupleConstructor4<T1,
T2, T3, T4, R> - Interface in io.activej.common.tuple - TupleConstructor5<T1,
T2, T3, T4, T5, R> - Interface in io.activej.common.tuple - TupleConstructor6<T1,
T2, T3, T4, T5, T6, R> - Interface in io.activej.common.tuple
U
- UncheckedException - Exception in io.activej.common.exception
-
A wrapper exception that wraps checked exceptions into a runtime exception, so that it could be thrown from a non-throwing call sites.
- uncheckedOf(BiConsumerEx<T, U>) - Static method in interface io.activej.common.function.BiConsumerEx
-
Creates a
BiConsumerout ofBiConsumerEx - uncheckedOf(BiFunctionEx<T, U, R>) - Static method in interface io.activej.common.function.BiFunctionEx
-
Creates a
BiFunctionout ofBiFunctionEx - uncheckedOf(BiPredicateEx<T, U>) - Static method in interface io.activej.common.function.BiPredicateEx
-
Creates a
BiPredicateout ofBiPredicateEx - uncheckedOf(ConsumerEx<T>) - Static method in interface io.activej.common.function.ConsumerEx
-
Creates a
Consumerout ofConsumerEx - uncheckedOf(FunctionEx<T, R>) - Static method in interface io.activej.common.function.FunctionEx
-
Creates a
Functionout ofFunctionEx - uncheckedOf(PredicateEx<T>) - Static method in interface io.activej.common.function.PredicateEx
-
Creates a
Predicateout ofPredicateEx - uncheckedOf(RunnableEx) - Static method in interface io.activej.common.function.RunnableEx
-
Creates a
Runnableout ofRunnableEx - uncheckedOf(SupplierEx<T>) - Static method in interface io.activej.common.function.SupplierEx
-
Creates a
Supplierout ofSupplierEx - UnexpectedDataException - Exception in io.activej.common.exception
-
An exception that represents unexpected data
- UnexpectedDataException() - Constructor for exception io.activej.common.exception.UnexpectedDataException
- UnexpectedDataException(String) - Constructor for exception io.activej.common.exception.UnexpectedDataException
- UnexpectedDataException(String, Throwable) - Constructor for exception io.activej.common.exception.UnexpectedDataException
- union(Set<? extends T>, Set<? extends T>) - Static method in class io.activej.common.Utils
-
Returns a union of two sets
- UnknownFormatException - Exception in io.activej.common.exception
-
An exception that represents an unknown data format
- UnknownFormatException() - Constructor for exception io.activej.common.exception.UnknownFormatException
- UnknownFormatException(String) - Constructor for exception io.activej.common.exception.UnknownFormatException
- UnknownFormatException(String, Throwable) - Constructor for exception io.activej.common.exception.UnknownFormatException
- unset() - Method in class io.activej.common.ref.Ref
- useProperties(Properties) - Static method in class io.activej.common.ApplicationSettings
-
Uses alternative properties to look up settings
- Utils - Class in io.activej.common
-
Utility helper methods for internal use
- Utils() - Constructor for class io.activej.common.Utils
V
- value - Variable in class io.activej.common.ref.Ref
- value - Variable in class io.activej.common.ref.RefBoolean
- value - Variable in class io.activej.common.ref.RefByte
- value - Variable in class io.activej.common.ref.RefDouble
- value - Variable in class io.activej.common.ref.RefFloat
- value - Variable in class io.activej.common.ref.RefInt
- value - Variable in class io.activej.common.ref.RefLong
- valueOf(String) - Static method in class io.activej.common.MemSize
W
- walkClassHierarchy(Class<?>, Function<Class<?>, Optional<T>>) - Static method in class io.activej.common.reflection.ReflectionUtils
- WITH_STACK_TRACE - Static variable in exception io.activej.common.exception.UncheckedException
- withInitializer(Consumer<? super T>) - Method in interface io.activej.common.initializer.WithInitializer
-
Initializes an object by applying an initializing consumer
- WithInitializer<T extends WithInitializer<T>> - Interface in io.activej.common.initializer
-
An interface that marks a class as initializable
- wrap(RunnableEx) - Static method in class io.activej.common.collection.Try
-
Creates a new
Trywhich is either successful or failed based on the result of a runnable call - wrap(SupplierEx<T>) - Static method in class io.activej.common.collection.Try
-
Creates a new
Trywhich is either successful or failed based on the result of a supplier call - wrap(Callable<? extends T>) - Static method in class io.activej.common.collection.Try
-
Creates a new
Trywhich is either successful or failed based on the result of a callable call
Z
A B C D E F G H I K L M N O P R S T U V W ZAll Classes and Interfaces|All Packages|Constant Field Values|Serialized Form