| Interface | Description |
|---|---|
| AsyncCloseable |
An object that may hold resources until it is closed.
|
| Listenable<T> |
An interface that accepts item change listeners.
|
| ListenableAsyncCloseable |
A variant of
AsyncCloseable which allows a user to check whether the object is closed or to get
notified when closed. |
| ReleasableHolder<T> |
A holder of releasable resource
T. |
| SafeCloseable |
An
AutoCloseable whose SafeCloseable.close() method does not throw an exception. |
| Sampler<T> |
Sampler is responsible for deciding if a particular trace should be "sampled", i.e. whether the
overhead of tracing will occur and/or if a trace will be reported to the collection tier.
|
| Ticker |
A time source; returns a time value representing the number of nanoseconds elapsed since some
fixed but arbitrary point in time.
|
| Unwrappable |
Provides a way to unwrap an object in decorator pattern, similar to down-casting in an inheritance pattern.
|
| Class | Description |
|---|---|
| AbstractListenable<T> |
A skeletal
Listenable implementation. |
| AbstractOption<T> |
A configuration option.
|
| AbstractOptions |
A set of configuration options and their respective values.
|
| AbstractOptionValue<O extends AbstractOption<V>,V> |
A holder of a value of an
AbstractOption. |
| AbstractUnwrappable<T extends Unwrappable> |
Skeletal
Unwrappable implementation. |
| AppRootFinder | |
| AsyncCloseableSupport |
Provides support for implementing
AsyncCloseable or ListenableAsyncCloseable. |
| CompletionActions |
Provides the common actions that are useful when handling a
CompletionStage. |
| EventLoopCheckingFuture<T> |
A
CompletableFuture that warns the user if they call a method that blocks the event loop. |
| EventLoopGroups |
Provides methods that are useful for creating an
EventLoopGroup. |
| EventLoopThreadFactory | Deprecated |
| Exceptions |
Provides methods that are useful for handling exceptions.
|
| Functions |
Utility methods related with function composition.
|
| InetAddressPredicates |
A utility class which provides factory methods in order to easily create a
Predicate of an
InetAddress. |
| LruMap<T,U> |
LRU (Least Recently Used) cache
Map. |
| NativeLibraries | Deprecated
Use
Flags instead. |
| StartStopSupport<T,U,V,L> |
Provides asynchronous start-stop life cycle support.
|
| SystemInfo |
Provides utilities for accessing the information about the current system and process.
|
| TextFormatter |
A utility class to format things as a
String with ease. |
| ThreadFactories |
Provides a builder for
ThreadFactory. |
| ThreadFactoryBuilder |
Builds a new
ThreadFactory. |
| UnmodifiableFuture<T> |
A
CompletableFuture which prevents the caller from completing it. |
| Version |
Retrieves the version information of available Armeria artifacts.
|
| Enum | Description |
|---|---|
| OsType |
Operating system.
|
| Annotation Type | Description |
|---|---|
| NonNullByDefault |
Indicates the return values, parameters and fields are non-nullable by default.
|
| UnstableApi |
Indicates the API of the target is not mature enough to guarantee the compatibility between releases.
|
Copyright © 2020 LeanCloud. All rights reserved.