Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

AbstractServer<S extends AbstractServer<S>> - Class in io.datakernel.eventloop
It is implementation of EventloopServer.
AbstractServer(Eventloop) - Constructor for class io.datakernel.eventloop.AbstractServer
 
AbstractServer.AcceptFilter - Interface in io.datakernel.eventloop
 
accept(T, Throwable) - Method in class io.datakernel.async.NextStage
 
AcceptCallback - Interface in io.datakernel.eventloop
 
acceptOnce - Variable in class io.datakernel.eventloop.AbstractServer
 
accumulate(A, int, T) - Method in interface io.datakernel.async.IndexedCollector
 
accumulate(A, T) - Method in interface io.datakernel.async.Reducer
 
accumulator(int) - Method in interface io.datakernel.async.IndexedCollector
 
add(EventloopStats.DurationRunnable) - Method in class io.datakernel.eventloop.EventloopStats.DurationRunnable
 
add(EventStats) - Method in class io.datakernel.jmx.EventStats
 
add(ExceptionStats) - Method in class io.datakernel.jmx.ExceptionStats
 
add(T) - Method in interface io.datakernel.jmx.JmxStats
 
add(ValueStats) - Method in class io.datakernel.jmx.ValueStats
 
addStage(Stage<V>, Reducer<A, V>) - Method in class io.datakernel.async.StagesAccumulator
 
all() - Static method in class io.datakernel.async.Stages
 
all(Stage<?>) - Static method in class io.datakernel.async.Stages
 
all(Stage<?>, Stage<?>) - Static method in class io.datakernel.async.Stages
Optimized for 2 stages.
all(Stage<?>...) - Static method in class io.datakernel.async.Stages
 
all(Stream<? extends Stage<?>>) - Static method in class io.datakernel.async.Stages
 
all(Iterable<? extends Stage<?>>) - Static method in class io.datakernel.async.Stages
 
all(List<? extends Stage<?>>) - Static method in class io.datakernel.async.Stages
 
all(Iterator<? extends Stage<?>>) - Static method in class io.datakernel.async.Stages
 
all() - Static method in class io.datakernel.eventloop.InetAddressRange
 
alwaysFalse() - Static method in interface io.datakernel.async.AsyncPredicate
 
alwaysTrue() - Static method in interface io.datakernel.async.AsyncPredicate
 
and(AsyncPredicate<? super T>) - Method in interface io.datakernel.async.AsyncPredicate
 
and(Predicate<? super T>) - Method in interface io.datakernel.async.AsyncPredicate
 
andThen(Function<? super R, ? extends U>) - Method in interface io.datakernel.async.AsyncFunction
 
andThen(AsyncFunction<? super R, ? extends U>) - Method in interface io.datakernel.async.AsyncFunction
 
any(int) - Static method in interface io.datakernel.async.CollectListener
 
any() - Static method in class io.datakernel.async.Stages
 
any(Stage<? extends T>) - Static method in class io.datakernel.async.Stages
 
any(Stage<? extends T>, Stage<? extends T>) - Static method in class io.datakernel.async.Stages
Optimized for 2 stages.
any(Stage<? extends T>...) - Static method in class io.datakernel.async.Stages
 
any(Stream<? extends Stage<? extends T>>) - Static method in class io.datakernel.async.Stages
 
any(Iterable<? extends Stage<? extends T>>) - Static method in class io.datakernel.async.Stages
 
any(List<? extends Stage<? extends T>>) - Static method in class io.datakernel.async.Stages
 
any(Iterator<? extends Stage<? extends T>>) - Static method in class io.datakernel.async.Stages
 
apply(T) - Method in interface io.datakernel.async.AsyncFunction
Returns the result of applying this function to input.
apply(T) - Method in interface io.datakernel.async.Stage.ThrowingFunction
 
applySettings(DatagramChannel) - Method in class io.datakernel.net.DatagramSocketSettings
 
applySettings(ServerSocketChannel) - Method in class io.datakernel.net.ServerSocketSettings
 
applySettings(SocketChannel) - Method in class io.datakernel.net.SocketSettings
 
asAsyncCallable(T) - Method in interface io.datakernel.async.AsyncFunction
 
assertNoCalls() - Static method in interface io.datakernel.async.Callback
 
assertNoExceptions() - Static method in interface io.datakernel.async.Callback
 
AsyncCallable<T> - Interface in io.datakernel.async
 
AsyncCancellable - Interface in io.datakernel.async
 
AsyncFile - Class in io.datakernel.file
This class represents a file with asynchronous capabilities.
AsyncFunction<T,R> - Interface in io.datakernel.async
Asynchronous determines an output value based on an input value.
AsyncPredicate<T> - Interface in io.datakernel.async
 
AsyncSslSocket - Class in io.datakernel.eventloop
 
AsyncTcpSocket - Interface in io.datakernel.eventloop
Common interface for connection-oriented transport protocols.
AsyncTcpSocket.EventHandler - Interface in io.datakernel.eventloop
Handles events of socket
AsyncTcpSocketImpl - Class in io.datakernel.eventloop
 
AsyncTcpSocketImpl.Inspector - Interface in io.datakernel.eventloop
 
AsyncTcpSocketImpl.JmxInspector - Class in io.datakernel.eventloop
 
AsyncUdpSocket - Interface in io.datakernel.eventloop
 
AsyncUdpSocket.EventHandler - Interface in io.datakernel.eventloop
 
AsyncUdpSocketImpl - Class in io.datakernel.eventloop
 
AsyncUdpSocketImpl.Inspector - Interface in io.datakernel.eventloop
 
AsyncUdpSocketImpl.JmxInspector - Class in io.datakernel.eventloop
 

B

BlockingEventloopExecutor - Class in io.datakernel.eventloop
 
BlockingSocketServer - Class in io.datakernel.net
 
BlockingSocketServer.AcceptHandler - Interface in io.datakernel.net
 
both(Stage<?>) - Method in interface io.datakernel.async.Stage
Combines two Stage in one and completes when both have been completed.
breakEventloop() - Method in class io.datakernel.eventloop.Eventloop
 

C

call() - Method in interface io.datakernel.async.AsyncCallable
 
Callback<T> - Interface in io.datakernel.async
 
cancel() - Method in interface io.datakernel.async.AsyncCancellable
 
cancel() - Method in class io.datakernel.eventloop.ScheduledRunnable
 
classHasPublicNoArgConstructor(Class<?>) - Static method in class io.datakernel.util.ReflectionUtils
 
classHasPublicStaticFactoryMethod(Class<?>, String) - Static method in class io.datakernel.util.ReflectionUtils
 
close() - Method in class io.datakernel.eventloop.AbstractServer
 
close() - Method in class io.datakernel.eventloop.AsyncSslSocket
 
close() - Method in interface io.datakernel.eventloop.AsyncTcpSocket
Closes socket, regardless of any remaining buffered data.
close() - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl
 
close() - Method in interface io.datakernel.eventloop.AsyncUdpSocket
 
close() - Method in class io.datakernel.eventloop.AsyncUdpSocketImpl
 
close() - Method in class io.datakernel.eventloop.Eventloop.Scope
 
close() - Method in interface io.datakernel.eventloop.EventloopServer
Closes the server.
close() - Method in class io.datakernel.file.AsyncFile
Closes the channel
closeChannel(SelectionKey) - Method in class io.datakernel.eventloop.Eventloop
 
closeChannel(SelectableChannel) - Method in class io.datakernel.eventloop.Eventloop
 
closeFuture() - Method in class io.datakernel.eventloop.AbstractServer
 
CloseWithoutNotifyException - Exception in io.datakernel.net
 
CloseWithoutNotifyException() - Constructor for exception io.datakernel.net.CloseWithoutNotifyException
 
CloseWithoutNotifyException(Throwable) - Constructor for exception io.datakernel.net.CloseWithoutNotifyException
 
CloseWithoutNotifyException(String, Throwable) - Constructor for exception io.datakernel.net.CloseWithoutNotifyException
 
CloseWithoutNotifyException(String) - Constructor for exception io.datakernel.net.CloseWithoutNotifyException
 
collect(List<? extends Stage<? extends T>>, Collector<T, A, R>) - Static method in class io.datakernel.async.Stages
 
collect(List<? extends Stage<? extends T>>, IndexedCollector<T, A, R>) - Static method in class io.datakernel.async.Stages
Accumulates results of Stages using IndexedCollector.
collect(List<? extends Stage<? extends T>>, CollectListener<T, A, R>, IndexedCollector<T, A, R>) - Static method in class io.datakernel.async.Stages
Allows you to do something on completion of every Stage.
CollectListener<T,A,R> - Interface in io.datakernel.async
 
CollectListener.CollectCanceller - Interface in io.datakernel.async
 
collectSequence(Stream<AsyncCallable<? extends T>>, Collector<T, A, R>) - Static method in class io.datakernel.async.Stages
 
collectSequence(Iterable<? extends AsyncCallable<? extends T>>, Collector<T, A, R>) - Static method in class io.datakernel.async.Stages
 
collectSequence(Iterator<? extends AsyncCallable<? extends T>>, Collector<T, A, R>) - Static method in class io.datakernel.async.Stages
Accumulate Stage results into one final using Collector sequentially
combine(Stage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in interface io.datakernel.async.Stage
Combines two Stage in one using fn.
compareTo(InetAddressRange) - Method in class io.datakernel.eventloop.InetAddressRange
 
compareTo(ScheduledRunnable) - Method in class io.datakernel.eventloop.ScheduledRunnable
 
complete() - Method in class io.datakernel.eventloop.ScheduledRunnable
 
completeExternalTask() - Method in class io.datakernel.eventloop.Eventloop
Notifies the event loop about completion of corrensponding operation in other threads.
compose(Function<? super U, ? extends T>) - Method in interface io.datakernel.async.AsyncFunction
 
compose(AsyncFunction<? super U, ? extends T>) - Method in interface io.datakernel.async.AsyncFunction
 
connect(SocketAddress) - Method in class io.datakernel.eventloop.Eventloop
Connects to given socket address asynchronously.
connect(SocketAddress, int) - Method in class io.datakernel.eventloop.Eventloop
Connects to given socket address asynchronously with a specified timeout value.
CONNECT_TIMEOUT - Static variable in class io.datakernel.eventloop.Eventloop
 
contains(InetAddress) - Method in class io.datakernel.eventloop.InetAddressRange
 
copy(ExecutorService, Path, Path, CopyOption...) - Static method in class io.datakernel.file.AsyncFile
Copies a file to a target file.
create(Eventloop, AsyncCallable<?>) - Static method in class io.datakernel.async.EventloopTaskScheduler
 
create() - Static method in class io.datakernel.async.SettableStage
 
create(A) - Static method in class io.datakernel.async.StagesAccumulator
 
create(Eventloop, AsyncTcpSocket, SSLEngine, Executor) - Static method in class io.datakernel.eventloop.AsyncSslSocket
 
create(Eventloop, DatagramChannel) - Static method in class io.datakernel.eventloop.AsyncUdpSocketImpl
 
create(Eventloop, int) - Static method in class io.datakernel.eventloop.BlockingEventloopExecutor
 
create() - Static method in class io.datakernel.eventloop.Eventloop
 
create(CurrentTimeProvider) - Static method in class io.datakernel.eventloop.Eventloop
 
create(Eventloop, List<? extends WorkerServer>) - Static method in class io.datakernel.eventloop.PrimaryServer
 
create(Eventloop, WorkerServer...) - Static method in class io.datakernel.eventloop.PrimaryServer
 
create(long, Runnable) - Static method in class io.datakernel.eventloop.ScheduledRunnable
 
create(Eventloop, SimpleServer.SocketHandlerProvider) - Static method in class io.datakernel.eventloop.SimpleServer
 
create() - Static method in class io.datakernel.eventloop.ThrottlingController
 
create(Duration) - Static method in class io.datakernel.jmx.EventStats
Creates new EventStats with specified smoothing window
create() - Static method in class io.datakernel.jmx.ExceptionStats
 
create(Duration) - Static method in class io.datakernel.jmx.StageStats
 
create(Duration) - Static method in class io.datakernel.jmx.ValueStats
Creates new ValueStats with specified smoothing window
create() - Static method in class io.datakernel.net.DatagramSocketSettings
 
create(int) - Static method in class io.datakernel.net.ServerSocketSettings
 
create() - Static method in class io.datakernel.net.SocketSettings
 
createAccumulator() - Static method in class io.datakernel.jmx.EventStats
 
createAccumulator() - Static method in class io.datakernel.jmx.ValueStats
 
createDatagramChannel(DatagramSocketSettings, InetSocketAddress, InetSocketAddress) - Static method in class io.datakernel.eventloop.Eventloop
Registers new UDP connection in this eventloop.
createDirectories(ExecutorService, Path, FileAttribute<?>[]) - Static method in class io.datakernel.file.AsyncFile
Creates a directory by creating all nonexistent parent directories first.
createDirectory(ExecutorService, Path, FileAttribute<?>[]) - Static method in class io.datakernel.file.AsyncFile
Creates a new directory.
createMBean(Eventloop, Duration) - Static method in class io.datakernel.jmx.StageStats
 
createSocketHandler(AsyncTcpSocket) - Method in class io.datakernel.eventloop.AbstractServer
 
createSocketHandler(AsyncTcpSocket) - Method in class io.datakernel.eventloop.PrimaryServer
 
createSocketHandler(AsyncTcpSocket) - Method in class io.datakernel.eventloop.SimpleServer
 
createSocketHandler(AsyncTcpSocket) - Method in interface io.datakernel.eventloop.SimpleServer.SocketHandlerProvider
 
currentTimeMillis() - Method in class io.datakernel.eventloop.Eventloop
Returns current time of this eventloop

D

DatagramSocketSettings - Class in io.datakernel.net
This class used to change settings for socket.
DEF_BOOL - Static variable in class io.datakernel.net.DatagramSocketSettings
 
DEF_BOOL - Static variable in class io.datakernel.net.ServerSocketSettings
 
DEF_BOOL - Static variable in class io.datakernel.net.SocketSettings
 
DEFAULT_BACKLOG - Static variable in class io.datakernel.net.ServerSocketSettings
 
DEFAULT_IDLE_INTERVAL - Static variable in class io.datakernel.eventloop.Eventloop
 
DEFAULT_READ_BUF_SIZE - Static variable in class io.datakernel.eventloop.AsyncTcpSocketImpl
 
DEFAULT_REDUCER - Static variable in annotation type io.datakernel.jmx.JmxAttribute
 
DEFAULT_SERVER_SOCKET_SETTINGS - Static variable in class io.datakernel.eventloop.AbstractServer
 
DEFAULT_SOCKET_SETTINGS - Static variable in class io.datakernel.eventloop.AbstractServer
 
delay(long, Runnable) - Method in interface io.datakernel.eventloop.Scheduler
 
delay(Duration, Runnable) - Method in interface io.datakernel.eventloop.Scheduler
 
delayBackground(long, Runnable) - Method in interface io.datakernel.eventloop.Scheduler
 
delayBackground(Duration, Runnable) - Method in interface io.datakernel.eventloop.Scheduler
 
delete(ExecutorService, Path) - Static method in class io.datakernel.file.AsyncFile
Concurrently deletes the file.
doAccept(SocketChannel, InetSocketAddress, InetAddress, boolean, SocketSettings) - Method in class io.datakernel.eventloop.AbstractServer
 
doAccept(SocketChannel, InetSocketAddress, InetAddress, boolean, SocketSettings) - Method in interface io.datakernel.eventloop.WorkerServer
 
DurationRunnable() - Constructor for class io.datakernel.eventloop.EventloopStats.DurationRunnable
 

E

either(Stage<? extends T>) - Method in interface io.datakernel.async.Stage
Combines two Stage in one.
END - Static variable in class io.datakernel.eventloop.InetAddressRange
 
equals(Object) - Method in class io.datakernel.eventloop.InetAddressRange
 
equals(Object) - Method in class io.datakernel.eventloop.ScheduledRunnable
 
eventloop - Variable in class io.datakernel.eventloop.AbstractServer
 
Eventloop - Class in io.datakernel.eventloop
It is internal class for asynchronous programming.
Eventloop.Scope - Class in io.datakernel.eventloop
 
EventloopExecutor - Interface in io.datakernel.eventloop
 
EventloopJmxMBean - Interface in io.datakernel.jmx
 
EventloopJmxMBeanEx - Interface in io.datakernel.jmx
 
EventloopServer - Interface in io.datakernel.eventloop
Represents non-blocking server which listens new connection and accepts it asynchronous.
EventloopService - Interface in io.datakernel.eventloop
 
EventloopStats - Class in io.datakernel.eventloop
 
EventloopStats.DurationRunnable - Class in io.datakernel.eventloop
 
EventloopStats.Keys - Class in io.datakernel.eventloop
 
EventloopStats.ScheduledTaskStats - Class in io.datakernel.eventloop
 
EventloopStats.Tasks - Class in io.datakernel.eventloop
 
EventloopStats.TaskStats - Class in io.datakernel.eventloop
 
EventloopTaskScheduler - Class in io.datakernel.async
 
EventloopTaskScheduler.Schedule - Interface in io.datakernel.async
 
EventStats - Class in io.datakernel.jmx
Computes total amount of events and dynamic rate using exponential smoothing algorithm
exception - Variable in class io.datakernel.async.SettableStage
 
ExceptionStats - Class in io.datakernel.jmx
 
execute(Runnable) - Method in class io.datakernel.eventloop.BlockingEventloopExecutor
 
execute(Runnable) - Method in class io.datakernel.eventloop.Eventloop
Posts a new task from other threads.
exitOnAnyError() - Static method in class io.datakernel.eventloop.FatalErrorHandlers
 
exitOnJvmError() - Static method in class io.datakernel.eventloop.FatalErrorHandlers
 
exitOnMatchedError(List<Class>, List<Class>) - Static method in class io.datakernel.eventloop.FatalErrorHandlers
 
exponentialBackoff(long, long, double) - Static method in interface io.datakernel.async.RetryPolicy
 
exponentialBackoff(long, long) - Static method in interface io.datakernel.async.RetryPolicy
 
extractFieldNameFromGetter(Method) - Static method in class io.datakernel.util.ReflectionUtils
 
extractFieldNameFromSetter(Method) - Static method in class io.datakernel.util.ReflectionUtils
 

F

FALSE - Static variable in class io.datakernel.net.DatagramSocketSettings
 
FALSE - Static variable in class io.datakernel.net.ServerSocketSettings
 
FALSE - Static variable in class io.datakernel.net.SocketSettings
 
FatalErrorHandler - Interface in io.datakernel.eventloop
 
FatalErrorHandlers - Class in io.datakernel.eventloop
 
fetchAnnotationElementValue(Annotation, Method) - Static method in class io.datakernel.util.ReflectionUtils
Returns values if it is not null, otherwise throws exception
filterAccept(SocketChannel, InetSocketAddress, InetAddress, boolean) - Method in interface io.datakernel.eventloop.AbstractServer.AcceptFilter
 
filterNonEmptyElements(Annotation) - Static method in class io.datakernel.util.ReflectionUtils
 
finish() - Method in interface io.datakernel.async.CollectListener.CollectCanceller
 
finish(A) - Method in interface io.datakernel.async.IndexedCollector
 
finishExceptionally(Throwable) - Method in interface io.datakernel.async.CollectListener.CollectCanceller
 
first(Stream<? extends AsyncCallable<? extends T>>, BiPredicate<? super T, ? super Throwable>) - Static method in class io.datakernel.async.Stages
 
first(Iterable<? extends AsyncCallable<? extends T>>, BiPredicate<? super T, ? super Throwable>) - Static method in class io.datakernel.async.Stages
 
first(Iterator<? extends AsyncCallable<? extends T>>, BiPredicate<? super T, ? super Throwable>) - Static method in class io.datakernel.async.Stages
 
firstSuccessful(AsyncCallable<? extends T>...) - Static method in class io.datakernel.async.Stages
Predicate in this case picks first Stage that was completed normally
firstSuccessful(Stream<AsyncCallable<? extends T>>) - Static method in class io.datakernel.async.Stages
 
firstSuccessful(Iterable<? extends AsyncCallable<? extends T>>) - Static method in class io.datakernel.async.Stages
Predicate in this case picks first Stage that was completed normally
firstSuccessful(Iterator<? extends AsyncCallable<? extends T>>) - Static method in class io.datakernel.async.Stages
Predicate in this case picks first Stage that was completed normally
fixedDelay(long) - Static method in interface io.datakernel.async.RetryPolicy
 
forBiConsumer(BiConsumer<T, Throwable>) - Static method in interface io.datakernel.async.Callback
 
force(boolean) - Method in class io.datakernel.file.AsyncFile
Forces any updates to this file to be written to the storage device that contains it.
forceAndClose(boolean) - Method in class io.datakernel.file.AsyncFile
Forces physical write and then closes the channel
forFuture(CompletableFuture<T>) - Static method in interface io.datakernel.async.Callback
 
format(long, double, String, DecimalFormat) - Static method in class io.datakernel.jmx.EventStats
 
formatCall(String, Object...) - Static method in class io.datakernel.util.LogUtils
 
formatException(Throwable) - Static method in class io.datakernel.jmx.MBeanFormat
 
formatExceptionMultiline(Throwable) - Static method in class io.datakernel.jmx.MBeanFormat
 
formatInstant(Instant) - Static method in class io.datakernel.jmx.MBeanFormat
 
formatListAsMultilineString(List<?>) - Static method in class io.datakernel.jmx.MBeanFormat
 
formatMultilineStringAsList(String) - Static method in class io.datakernel.jmx.MBeanFormat
 
formatResult(String, Object, Object...) - Static method in class io.datakernel.util.LogUtils
 
formatTimestamp(long) - Static method in class io.datakernel.jmx.MBeanFormat
 
fromAddress(InetAddress) - Static method in class io.datakernel.eventloop.InetAddressRange
 
fromAddressMask(Inet6Address, Inet6Address) - Static method in class io.datakernel.eventloop.InetAddressRange
 
fromAddressMask(Inet4Address, Inet4Address) - Static method in class io.datakernel.eventloop.InetAddressRange
 
fromCidr(Inet4Address, int) - Static method in class io.datakernel.eventloop.InetAddressRange
 
fromCidr(Inet6Address, int) - Static method in class io.datakernel.eventloop.InetAddressRange
 
fromRange(Inet4Address, Inet4Address) - Static method in class io.datakernel.eventloop.InetAddressRange
 
fromRange(Inet6Address, Inet6Address) - Static method in class io.datakernel.eventloop.InetAddressRange
 

G

GC_TIME - Static variable in class io.datakernel.eventloop.ThrottlingController
 
get() - Method in class io.datakernel.async.StagesAccumulator
 
get() - Method in class io.datakernel.jmx.EventStats
 
get() - Method in class io.datakernel.jmx.ValueStats
 
getAbsoluteMax() - Method in class io.datakernel.jmx.ValueStats
Returns maximum of all added values
getAbsosuteMin() - Method in class io.datakernel.jmx.ValueStats
Returns minimum of all added values
getAcceptPerLoop() - Method in class io.datakernel.eventloop.EventloopStats.Keys
 
getAccepts() - Method in class io.datakernel.eventloop.AbstractServer
 
getAcceptsSsl() - Method in class io.datakernel.eventloop.AbstractServer
 
getAccumulator() - Method in class io.datakernel.async.StagesAccumulator
 
getActiveStages() - Method in class io.datakernel.async.StagesAccumulator
 
getActiveStages() - Method in class io.datakernel.jmx.StageStats
 
getAll() - Method in class io.datakernel.eventloop.EventloopStats.Keys
 
getAnnotationString(Annotation) - Static method in class io.datakernel.util.ReflectionUtils
Builds string representation of annotation with its elements.
getAverage() - Method in class io.datakernel.jmx.ValueStats
 
getAvgKeysPerSecond() - Method in class io.datakernel.eventloop.ThrottlingController
 
getAvgThrottling() - Method in class io.datakernel.eventloop.ThrottlingController
 
getAvgTimePerKeyMillis() - Method in class io.datakernel.eventloop.ThrottlingController
 
getBackground() - Method in class io.datakernel.eventloop.EventloopStats.Tasks
 
getBacklog() - Method in class io.datakernel.net.ServerSocketSettings
 
getBroadcast() - Method in class io.datakernel.net.DatagramSocketSettings
 
getBuf() - Method in class io.datakernel.eventloop.UdpPacket
Returns the data buffer to send or which was received
getBusinessLogicTime() - Method in class io.datakernel.eventloop.EventloopStats
 
getChannel() - Method in class io.datakernel.file.AsyncFile
 
getCidrPrefix() - Method in class io.datakernel.eventloop.InetAddressRange
 
getClassName() - Method in class io.datakernel.eventloop.EventloopStats.DurationRunnable
 
getConcurrent() - Method in class io.datakernel.eventloop.EventloopStats.Tasks
 
getConnectionCount() - Static method in class io.datakernel.eventloop.AsyncTcpSocketImpl
 
getConnectPerLoop() - Method in class io.datakernel.eventloop.EventloopStats.Keys
 
getContext() - Method in class io.datakernel.jmx.ExceptionStats
 
getCount() - Method in class io.datakernel.eventloop.EventloopStats.TaskStats
 
getCount() - Method in class io.datakernel.jmx.ValueStats
 
getCurrentDuration() - Method in class io.datakernel.jmx.StageStats
 
getCurrentEventloop() - Static method in class io.datakernel.eventloop.Eventloop
 
getDuration() - Method in class io.datakernel.eventloop.EventloopStats.DurationRunnable
 
getDuration() - Method in class io.datakernel.jmx.StageStats
 
getEndAddress() - Method in class io.datakernel.eventloop.InetAddressRange
 
getError() - Method in class io.datakernel.jmx.ExceptionStats
 
getEventloop() - Method in class io.datakernel.async.EventloopTaskScheduler
 
getEventloop() - Method in class io.datakernel.eventloop.AbstractServer
 
getEventloop() - Method in class io.datakernel.eventloop.Eventloop
 
getEventloop() - Method in interface io.datakernel.eventloop.EventloopServer
 
getEventloop() - Method in interface io.datakernel.eventloop.EventloopService
 
getEventloop() - Method in class io.datakernel.eventloop.ThrottlingController
 
getEventloop() - Method in interface io.datakernel.eventloop.WorkerServer
 
getEventloop() - Method in interface io.datakernel.jmx.EventloopJmxMBean
 
getEventloopThread() - Method in class io.datakernel.eventloop.Eventloop
 
getException() - Method in class io.datakernel.async.StagesAccumulator
 
getExceptions() - Method in class io.datakernel.jmx.StageStats
 
getExecutor() - Method in class io.datakernel.file.AsyncFile
 
getFatalErrorHandler() - Method in class io.datakernel.eventloop.Eventloop
 
getFatalErrors() - Method in class io.datakernel.eventloop.EventloopStats
 
getFatalErrorsMap() - Method in class io.datakernel.eventloop.EventloopStats
 
getFilteredAccepts() - Method in class io.datakernel.eventloop.AbstractServer
 
getGcTimeMillis() - Method in class io.datakernel.eventloop.ThrottlingController
 
getHistogram() - Method in class io.datakernel.jmx.ValueStats
 
getIdleInterval() - Method in class io.datakernel.eventloop.Eventloop
 
getIdleLoops() - Method in class io.datakernel.eventloop.EventloopStats
 
getIdleLoopsWaitingExternalTask() - Method in class io.datakernel.eventloop.EventloopStats
 
getImplReadSize() - Method in class io.datakernel.net.SocketSettings
 
getImplReadTimeout() - Method in class io.datakernel.net.SocketSettings
 
getImplWriteSize() - Method in class io.datakernel.net.SocketSettings
 
getImplWriteTimeout() - Method in class io.datakernel.net.SocketSettings
 
getInfoRoundsGc() - Method in class io.datakernel.eventloop.ThrottlingController
 
getInitialDelay() - Method in class io.datakernel.async.EventloopTaskScheduler
 
getInterval() - Method in class io.datakernel.async.EventloopTaskScheduler
 
getInvalid() - Method in class io.datakernel.eventloop.EventloopStats.Keys
 
getKeepAlive() - Method in class io.datakernel.eventloop.Eventloop
 
getKeepAlive() - Method in class io.datakernel.net.SocketSettings
 
getKeys() - Method in class io.datakernel.eventloop.EventloopStats
 
getLastCompleteTime() - Method in class io.datakernel.jmx.StageStats
 
getLastException() - Method in class io.datakernel.async.EventloopTaskScheduler
 
getLastException() - Method in class io.datakernel.jmx.ExceptionStats
 
getLastMessage() - Method in class io.datakernel.jmx.ExceptionStats
 
getLastStartTime() - Method in class io.datakernel.jmx.StageStats
 
getLastTime() - Method in class io.datakernel.jmx.ExceptionStats
 
getLastType() - Method in class io.datakernel.jmx.ExceptionStats
 
getLastValue() - Method in class io.datakernel.jmx.ValueStats
Returns last added value
getLimit() - Method in class io.datakernel.eventloop.BlockingEventloopExecutor
 
getLocal() - Method in class io.datakernel.eventloop.EventloopStats.Tasks
 
getLongestTask() - Method in class io.datakernel.eventloop.EventloopStats.TaskStats
 
getLoop() - Method in class io.datakernel.eventloop.Eventloop
 
getLoops() - Method in class io.datakernel.eventloop.EventloopStats
 
getLoopTime() - Method in class io.datakernel.eventloop.EventloopStats.Keys
 
getLoopTime() - Method in class io.datakernel.eventloop.EventloopStats.TaskStats
 
getMaskAddress() - Method in class io.datakernel.eventloop.InetAddressRange
 
getMultilineError() - Method in class io.datakernel.jmx.ExceptionStats
 
getNetworkAddress() - Method in class io.datakernel.eventloop.InetAddressRange
 
getOneKeyTime() - Method in class io.datakernel.eventloop.EventloopStats.Keys
 
getOneTaskTime() - Method in class io.datakernel.eventloop.EventloopStats.TaskStats
 
getOverdues() - Method in class io.datakernel.eventloop.EventloopStats.ScheduledTaskStats
 
getPeriod() - Method in class io.datakernel.async.EventloopTaskScheduler
 
getReadEndOfStreams() - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl.JmxInspector
 
getReadErrors() - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl.JmxInspector
 
getReadPerLoop() - Method in class io.datakernel.eventloop.EventloopStats.Keys
 
getReads() - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl.JmxInspector
 
getReadTimeouts() - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl.JmxInspector
 
getReceiveBufferSize() - Method in class io.datakernel.net.DatagramSocketSettings
 
getReceiveBufferSize() - Method in class io.datakernel.net.ServerSocketSettings
 
getReceiveBufferSize() - Method in class io.datakernel.net.SocketSettings
 
getReceiveErrors() - Method in class io.datakernel.eventloop.AsyncUdpSocketImpl.JmxInspector
 
getReceives() - Method in class io.datakernel.eventloop.AsyncUdpSocketImpl.JmxInspector
 
getRemoteSocketAddress() - Method in class io.datakernel.eventloop.AsyncSslSocket
 
getRemoteSocketAddress() - Method in interface io.datakernel.eventloop.AsyncTcpSocket
 
getRemoteSocketAddress() - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl
 
getResult() - Method in class io.datakernel.async.ResultWithStage
 
getReuseAddress() - Method in class io.datakernel.net.DatagramSocketSettings
 
getReuseAddress() - Method in class io.datakernel.net.ServerSocketSettings
 
getReuseAddress() - Method in class io.datakernel.net.SocketSettings
 
getRounds() - Method in class io.datakernel.eventloop.ThrottlingController
 
getRoundsExceededTargetTime() - Method in class io.datakernel.eventloop.ThrottlingController
 
getRoundsZeroThrottling() - Method in class io.datakernel.eventloop.ThrottlingController
 
getRunnable() - Method in class io.datakernel.eventloop.ScheduledRunnable
 
getScheduled() - Method in class io.datakernel.eventloop.EventloopStats.Tasks
 
getSelectorSelectTime() - Method in class io.datakernel.eventloop.EventloopStats
 
getSelectorSelectTimeout() - Method in class io.datakernel.eventloop.EventloopStats
 
getSelectOverdues() - Method in class io.datakernel.eventloop.EventloopStats
 
getSendBufferSize() - Method in class io.datakernel.net.DatagramSocketSettings
 
getSendBufferSize() - Method in class io.datakernel.net.SocketSettings
 
getSendErrors() - Method in class io.datakernel.eventloop.AsyncUdpSocketImpl.JmxInspector
 
getSends() - Method in class io.datakernel.eventloop.AsyncUdpSocketImpl.JmxInspector
 
getServerSocketSettings() - Method in class io.datakernel.eventloop.AbstractServer
 
getSmoothedAverage() - Method in class io.datakernel.jmx.ValueStats
Returns smoothed average of added values
getSmoothedMax() - Method in class io.datakernel.jmx.ValueStats
Returns smoothed maximum of all added values
getSmoothedMin() - Method in class io.datakernel.jmx.ValueStats
Returns smoothed minimum of all added values
getSmoothedRate() - Method in class io.datakernel.jmx.EventStats
Returns smoothed value of rate in events per second.
getSmoothedRate() - Method in class io.datakernel.jmx.ValueStats
 
getSmoothedStandardDeviation() - Method in class io.datakernel.jmx.ValueStats
Returns smoothed standard deviation
getSmoothingWindow() - Method in class io.datakernel.eventloop.ThrottlingController
 
getSmoothingWindow() - Method in interface io.datakernel.jmx.EventloopJmxMBeanEx
 
getSmoothingWindow() - Method in class io.datakernel.jmx.EventStats
 
getSmoothingWindow() - Method in interface io.datakernel.jmx.JmxStatsWithSmoothingWindow
 
getSmoothingWindow() - Method in class io.datakernel.jmx.ValueStats
 
getSmoothingWindow(Object) - Static method in class io.datakernel.util.ReflectionUtils
 
getSocketAddress() - Method in class io.datakernel.eventloop.UdpPacket
Returns the address to which the packet should be sent or from which it was received.
getSocketChannel() - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl
 
getSocketInspector(InetAddress, InetSocketAddress, boolean) - Method in class io.datakernel.eventloop.AbstractServer
 
getSocketSettings() - Method in class io.datakernel.eventloop.AbstractServer
 
getSocketStats() - Method in class io.datakernel.eventloop.AbstractServer
 
getSocketStatsSsl() - Method in class io.datakernel.eventloop.AbstractServer
 
getStage() - Method in class io.datakernel.async.ResultWithStage
 
getStartAddress() - Method in class io.datakernel.eventloop.InetAddressRange
 
getStats() - Method in class io.datakernel.async.EventloopTaskScheduler
 
getStats() - Method in class io.datakernel.eventloop.Eventloop
 
getTargetTimeMillis() - Method in class io.datakernel.eventloop.ThrottlingController
 
getTasks() - Method in class io.datakernel.eventloop.EventloopStats
 
getTasksPerLoop() - Method in class io.datakernel.eventloop.EventloopStats.TaskStats
 
getTcpNoDelay() - Method in class io.datakernel.net.SocketSettings
 
getThreadPriority() - Method in class io.datakernel.eventloop.Eventloop
 
getThrottling() - Method in class io.datakernel.eventloop.ThrottlingController
 
getThrottlingController() - Method in class io.datakernel.eventloop.Eventloop
 
getThrottlingDecrease() - Method in class io.datakernel.eventloop.ThrottlingController
 
getTick() - Method in class io.datakernel.eventloop.Eventloop
 
getTimestamp() - Method in class io.datakernel.eventloop.ScheduledRunnable
 
getTotal() - Method in class io.datakernel.jmx.ExceptionStats
 
getTotalCount() - Method in class io.datakernel.jmx.EventStats
Returns total amount of recorded events
getTotalProcessed() - Method in class io.datakernel.eventloop.ThrottlingController
 
getTotalRequests() - Method in class io.datakernel.eventloop.ThrottlingController
 
getTotalRequestsThrottled() - Method in class io.datakernel.eventloop.ThrottlingController
 
getTotalTimeMillis() - Method in class io.datakernel.eventloop.ThrottlingController
 
getWorkerServer() - Method in class io.datakernel.eventloop.AbstractServer
 
getWorkerServer() - Method in class io.datakernel.eventloop.PrimaryServer
 
getWriteErrors() - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl.JmxInspector
 
getWriteOverloaded() - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl.JmxInspector
 
getWritePerLoop() - Method in class io.datakernel.eventloop.EventloopStats.Keys
 
getWrites() - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl.JmxInspector
 
getWriteTimeouts() - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl.JmxInspector
 

H

handle(Throwable, Object) - Method in interface io.datakernel.eventloop.FatalErrorHandler
 
hasBroadcast() - Method in class io.datakernel.net.DatagramSocketSettings
 
hashCode() - Method in class io.datakernel.eventloop.InetAddressRange
 
hashCode() - Method in class io.datakernel.eventloop.ScheduledRunnable
 
hasImplReadSize() - Method in class io.datakernel.net.SocketSettings
 
hasImplReadTimeout() - Method in class io.datakernel.net.SocketSettings
 
hasImplWriteSize() - Method in class io.datakernel.net.SocketSettings
 
hasImplWriteTimeout() - Method in class io.datakernel.net.SocketSettings
 
hasKeepAlive() - Method in class io.datakernel.net.SocketSettings
 
hasReceiveBufferSize() - Method in class io.datakernel.net.DatagramSocketSettings
 
hasReceiveBufferSize() - Method in class io.datakernel.net.ServerSocketSettings
 
hasReceiveBufferSize() - Method in class io.datakernel.net.SocketSettings
 
hasReuseAddress() - Method in class io.datakernel.net.DatagramSocketSettings
 
hasReuseAddress() - Method in class io.datakernel.net.ServerSocketSettings
 
hasReuseAddress() - Method in class io.datakernel.net.SocketSettings
 
hasSendBufferSize() - Method in class io.datakernel.net.DatagramSocketSettings
 
hasSendBufferSize() - Method in class io.datakernel.net.SocketSettings
 
hasTcpNoDelay() - Method in class io.datakernel.net.SocketSettings
 

I

identity() - Static method in interface io.datakernel.async.AsyncFunction
 
ignore() - Static method in interface io.datakernel.async.Callback
 
IGNORE_CALLBACK - Static variable in interface io.datakernel.async.Callback
 
ignoreAllErrors() - Static method in class io.datakernel.eventloop.FatalErrorHandlers
 
immediate() - Static method in interface io.datakernel.async.EventloopTaskScheduler.Schedule
Scheduling immediate execution
immediateRetry() - Static method in interface io.datakernel.async.RetryPolicy
 
IndexedCollector<T,A,R> - Interface in io.datakernel.async
 
InetAddressRange - Class in io.datakernel.eventloop
 
inEventloopThread() - Method in class io.datakernel.eventloop.Eventloop
 
INITIAL_KEYS_PER_SECOND - Static variable in class io.datakernel.eventloop.ThrottlingController
 
INITIAL_THROTTLING - Static variable in class io.datakernel.eventloop.ThrottlingController
 
io.datakernel.async - package io.datakernel.async
 
io.datakernel.eventloop - package io.datakernel.eventloop
 
io.datakernel.file - package io.datakernel.file
 
io.datakernel.jmx - package io.datakernel.jmx
 
io.datakernel.net - package io.datakernel.net
 
io.datakernel.util - package io.datakernel.util
 
isCancelled() - Method in class io.datakernel.eventloop.ScheduledRunnable
 
isComplete() - Method in class io.datakernel.eventloop.ScheduledRunnable
 
isEnabled() - Method in class io.datakernel.async.EventloopTaskScheduler
 
isEnabled(Logger) - Method in enum io.datakernel.util.LogUtils.Level
 
isExtendedMonitoring() - Method in class io.datakernel.eventloop.Eventloop
 
isGetter(Method) - Static method in class io.datakernel.util.ReflectionUtils
 
isJmxRefreshableStats(Class<?>) - Static method in class io.datakernel.util.ReflectionUtils
 
isJmxStats(Class<?>) - Static method in class io.datakernel.util.ReflectionUtils
 
isOpen() - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl
 
isOpen() - Method in class io.datakernel.eventloop.AsyncUdpSocketImpl
 
isOpen() - Method in class io.datakernel.file.AsyncFile
 
isOverloaded() - Method in class io.datakernel.eventloop.ThrottlingController
 
isPrimitiveType(Class<?>) - Static method in class io.datakernel.util.ReflectionUtils
 
isPrimitiveTypeWrapper(Class<?>) - Static method in class io.datakernel.util.ReflectionUtils
 
isRunning() - Method in class io.datakernel.eventloop.AbstractServer
 
isSet() - Method in class io.datakernel.async.SettableStage
 
isSetter(Method) - Static method in class io.datakernel.util.ReflectionUtils
 
isSingle() - Method in class io.datakernel.eventloop.InetAddressRange
 
isString(Class<?>) - Static method in class io.datakernel.util.ReflectionUtils
 
isSubnet() - Method in class io.datakernel.eventloop.InetAddressRange
 
isThrowable(Class<?>) - Static method in class io.datakernel.util.ReflectionUtils
 
iterable(Iterable<? extends AsyncCallable<? extends T>>) - Static method in class io.datakernel.async.Stages
Transforms Iterable over AsyncCallable to Iterable over Stages
iterator(Iterator<? extends AsyncCallable<? extends T>>) - Static method in class io.datakernel.async.Stages
Transforms Iterator over AsyncCallable to Iterator over Stages
iterator() - Method in class io.datakernel.eventloop.InetAddressRange
 

J

JmxAttribute - Annotation Type in io.datakernel.jmx
 
JmxInspector() - Constructor for class io.datakernel.eventloop.AsyncTcpSocketImpl.JmxInspector
 
JmxInspector(Duration) - Constructor for class io.datakernel.eventloop.AsyncUdpSocketImpl.JmxInspector
 
JmxOperation - Annotation Type in io.datakernel.jmx
 
JmxParameter - Annotation Type in io.datakernel.jmx
 
JmxReducer<T> - Interface in io.datakernel.jmx
Reduces input list to single value.
JmxReducerDistinct() - Constructor for class io.datakernel.jmx.JmxReducers.JmxReducerDistinct
 
JmxReducerMax() - Constructor for class io.datakernel.jmx.JmxReducers.JmxReducerMax
 
JmxReducerMin() - Constructor for class io.datakernel.jmx.JmxReducers.JmxReducerMin
 
JmxReducers - Class in io.datakernel.jmx
 
JmxReducers.JmxReducerDistinct - Class in io.datakernel.jmx
 
JmxReducers.JmxReducerMax - Class in io.datakernel.jmx
 
JmxReducers.JmxReducerMin - Class in io.datakernel.jmx
 
JmxReducers.JmxReducerSum - Class in io.datakernel.jmx
 
JmxReducerSum() - Constructor for class io.datakernel.jmx.JmxReducers.JmxReducerSum
 
JmxRefreshable - Interface in io.datakernel.jmx
 
JmxRefreshableStats<T extends JmxRefreshableStats> - Interface in io.datakernel.jmx
 
JmxStats<T extends JmxStats> - Interface in io.datakernel.jmx
 
JmxStatsWithReset - Interface in io.datakernel.jmx
 
JmxStatsWithSmoothingWindow - Interface in io.datakernel.jmx
 

K

keepAlive(boolean) - Method in class io.datakernel.eventloop.Eventloop
Sets the flag keep alive, if it is true it means that working of this Eventloop will be continued even in case when all tasks have been executed and it doesn't have selected keys.
Keys() - Constructor for class io.datakernel.eventloop.EventloopStats.Keys
 

L

listen() - Method in class io.datakernel.eventloop.AbstractServer
 
listen(InetSocketAddress, ServerSocketSettings, AcceptCallback) - Method in class io.datakernel.eventloop.Eventloop
Creates ServerSocketChannel that listens on InetSocketAddress.
listen() - Method in interface io.datakernel.eventloop.EventloopServer
Tells the NioServer to start listen on its port and hostname.
listenAddresses - Variable in class io.datakernel.eventloop.AbstractServer
 
log(Logger, Supplier<String>) - Method in enum io.datakernel.util.LogUtils.Level
 
log(Logger, String) - Method in enum io.datakernel.util.LogUtils.Level
 
logger - Variable in class io.datakernel.eventloop.AbstractServer
 
LogUtils - Class in io.datakernel.util
 
LogUtils() - Constructor for class io.datakernel.util.LogUtils
 
LogUtils.Level - Enum in io.datakernel.util
 

M

maxCalls(int) - Method in interface io.datakernel.async.AsyncCallable
 
maxCalls(int, int) - Method in interface io.datakernel.async.AsyncCallable
 
maxCalls(AsyncCallable<T>, int, int) - Static method in interface io.datakernel.async.AsyncCallable
 
MBeanFormat - Class in io.datakernel.jmx
 
monitor(Stage<T>) - Method in class io.datakernel.jmx.StageStats
 
move(ExecutorService, Path, Path, CopyOption...) - Static method in class io.datakernel.file.AsyncFile
Moves or renames a file to a target file.

N

negate() - Method in interface io.datakernel.async.AsyncPredicate
 
newStage(Reducer<A, V>) - Method in class io.datakernel.async.StagesAccumulator
 
nextRetryTimestamp(long, Throwable, int, long) - Method in interface io.datakernel.async.RetryPolicy
 
NextStage<T,R> - Class in io.datakernel.async
 
NextStage() - Constructor for class io.datakernel.async.NextStage
 
nextTimestamp(long, long, long) - Method in interface io.datakernel.async.EventloopTaskScheduler.Schedule
 
NioChannelEventHandler - Interface in io.datakernel.eventloop
 
NO_DESCRIPTION - Static variable in annotation type io.datakernel.jmx.JmxAttribute
 
NO_TIMEOUT - Static variable in class io.datakernel.eventloop.AsyncTcpSocketImpl
 
noRetry() - Static method in interface io.datakernel.async.RetryPolicy
 

O

of(Supplier<Stage<T>>) - Static method in interface io.datakernel.async.AsyncCallable
 
of(AsyncFunction<? super A, T>, A) - Static method in interface io.datakernel.async.AsyncCallable
 
of(BiFunction<? super A, ? super B, Stage<T>>, A, B) - Static method in interface io.datakernel.async.AsyncCallable
 
of(Function<T, R>) - Static method in interface io.datakernel.async.AsyncFunction
 
of(Predicate<T>) - Static method in interface io.datakernel.async.AsyncPredicate
 
of(T, Stage<V>) - Static method in class io.datakernel.async.ResultWithStage
 
of(T) - Static method in interface io.datakernel.async.Stage
Creates successfully completed Stage
of(T, Throwable) - Static method in interface io.datakernel.async.Stage
Creates a completed stage from value and throwable variables.
of(ByteBuf, InetSocketAddress) - Static method in class io.datakernel.eventloop.UdpPacket
Creates a new instance of UDP packet
ofCallable(Executor, Callable<? extends T>) - Static method in interface io.datakernel.async.Stage
Runs some task in other thread (executed by a given Executor) and returns a Stage for it.
ofCallback(Consumer<SettableStage<T>>) - Static method in interface io.datakernel.async.Stage
 
ofCollector(Collector<T, A, R>) - Static method in interface io.datakernel.async.IndexedCollector
 
ofCompletionStage(CompletionStage<? extends T>) - Static method in interface io.datakernel.async.Stage
Wraps Java CompletionStage in a Stage, running it in current eventloop.
ofDelay(Duration) - Static method in interface io.datakernel.async.EventloopTaskScheduler.Schedule
Scheduling task after delay
ofDelay(long) - Static method in interface io.datakernel.async.EventloopTaskScheduler.Schedule
 
ofException(Throwable) - Static method in interface io.datakernel.async.Stage
Creates exceptionally completed Stage
ofFuture(CompletableFuture<? extends T>) - Static method in interface io.datakernel.async.Stage
Creates a Stage wrapper around default java CompletableFuture and runs it immediately.
ofFuture(Executor, Future<? extends T>) - Static method in interface io.datakernel.async.Stage
Wraps Java Future in a Stage running it with given executor.
ofInterval(Duration) - Static method in interface io.datakernel.async.EventloopTaskScheduler.Schedule
Scheduling task after last complete time and next task
ofInterval(long) - Static method in interface io.datakernel.async.EventloopTaskScheduler.Schedule
 
ofPeriod(Duration) - Static method in interface io.datakernel.async.EventloopTaskScheduler.Schedule
Scheduling task in period of current and next task
ofPeriod(long) - Static method in interface io.datakernel.async.EventloopTaskScheduler.Schedule
 
ofRunnable(Executor, Runnable) - Static method in interface io.datakernel.async.Stage
ofThrowingRunnable(Executor, ThrowingRunnable) - Static method in interface io.datakernel.async.Stage
Same as Stage.ofCallable(Executor, Callable), but without a result (returned stage is only a marker of completion).
onAccept(SocketChannel, InetSocketAddress, InetAddress, boolean) - Method in class io.datakernel.eventloop.AbstractServer
 
onAccept(SocketChannel) - Method in interface io.datakernel.eventloop.AcceptCallback
 
onAccept(Socket) - Method in interface io.datakernel.net.BlockingSocketServer.AcceptHandler
 
onClose(SettableStage<Void>) - Method in class io.datakernel.eventloop.AbstractServer
 
onClosedWithError(Exception) - Method in class io.datakernel.eventloop.AsyncSslSocket
 
onClosedWithError(Exception) - Method in interface io.datakernel.eventloop.AsyncTcpSocket.EventHandler
Is called when socket is closed with error.
onClosedWithError(Exception) - Method in interface io.datakernel.eventloop.AsyncUdpSocket.EventHandler
 
onCollectException(Throwable) - Method in interface io.datakernel.async.CollectListener
 
onCollectResult(R) - Method in interface io.datakernel.async.CollectListener
 
onComplete(T) - Method in class io.datakernel.async.NextStage
 
onCompleteExceptionally(Throwable) - Method in class io.datakernel.async.NextStage
 
onException(Throwable, int) - Method in interface io.datakernel.async.CollectListener
 
onFilteredAccept(SocketChannel, InetSocketAddress, InetAddress, boolean) - Method in class io.datakernel.eventloop.AbstractServer
 
onListen() - Method in class io.datakernel.eventloop.AbstractServer
 
onRead(ByteBuf) - Method in class io.datakernel.eventloop.AsyncSslSocket
 
onRead(ByteBuf) - Method in interface io.datakernel.eventloop.AsyncTcpSocket.EventHandler
Is called when new input data was received by socket.
onRead(ByteBuf) - Method in interface io.datakernel.eventloop.AsyncTcpSocketImpl.Inspector
 
onRead(ByteBuf) - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl.JmxInspector
 
onReadEndOfStream() - Method in class io.datakernel.eventloop.AsyncSslSocket
 
onReadEndOfStream() - Method in interface io.datakernel.eventloop.AsyncTcpSocket.EventHandler
Is called when other side closed output, namely other side won't send any more data
onReadEndOfStream() - Method in interface io.datakernel.eventloop.AsyncTcpSocketImpl.Inspector
 
onReadEndOfStream() - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl.JmxInspector
 
onReadError(IOException) - Method in interface io.datakernel.eventloop.AsyncTcpSocketImpl.Inspector
 
onReadError(IOException) - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl.JmxInspector
 
onReadReady() - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl
 
onReadReady() - Method in class io.datakernel.eventloop.AsyncUdpSocketImpl
 
onReadReady() - Method in interface io.datakernel.eventloop.NioChannelEventHandler
 
onReadTimeout() - Method in interface io.datakernel.eventloop.AsyncTcpSocketImpl.Inspector
 
onReadTimeout() - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl.JmxInspector
 
onReceive(UdpPacket) - Method in interface io.datakernel.eventloop.AsyncUdpSocket.EventHandler
 
onReceive(UdpPacket) - Method in interface io.datakernel.eventloop.AsyncUdpSocketImpl.Inspector
 
onReceive(UdpPacket) - Method in class io.datakernel.eventloop.AsyncUdpSocketImpl.JmxInspector
 
onReceiveError(IOException) - Method in interface io.datakernel.eventloop.AsyncUdpSocketImpl.Inspector
 
onReceiveError(IOException) - Method in class io.datakernel.eventloop.AsyncUdpSocketImpl.JmxInspector
 
onRegistered() - Method in class io.datakernel.eventloop.AsyncSslSocket
 
onRegistered() - Method in interface io.datakernel.eventloop.AsyncTcpSocket.EventHandler
 
onRegistered() - Method in interface io.datakernel.eventloop.AsyncUdpSocket.EventHandler
 
onResult(T, int) - Method in interface io.datakernel.async.CollectListener
 
onSend() - Method in interface io.datakernel.eventloop.AsyncUdpSocket.EventHandler
 
onSend(UdpPacket) - Method in interface io.datakernel.eventloop.AsyncUdpSocketImpl.Inspector
 
onSend(UdpPacket) - Method in class io.datakernel.eventloop.AsyncUdpSocketImpl.JmxInspector
 
onSendError(IOException) - Method in interface io.datakernel.eventloop.AsyncUdpSocketImpl.Inspector
 
onSendError(IOException) - Method in class io.datakernel.eventloop.AsyncUdpSocketImpl.JmxInspector
 
onStart(CollectListener.CollectCanceller, A) - Method in interface io.datakernel.async.CollectListener
 
onWrite() - Method in class io.datakernel.eventloop.AsyncSslSocket
 
onWrite() - Method in interface io.datakernel.eventloop.AsyncTcpSocket.EventHandler
Is called when all buffered data is flushed to network.
onWrite(ByteBuf, int) - Method in interface io.datakernel.eventloop.AsyncTcpSocketImpl.Inspector
 
onWrite(ByteBuf, int) - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl.JmxInspector
 
onWriteError(IOException) - Method in interface io.datakernel.eventloop.AsyncTcpSocketImpl.Inspector
 
onWriteError(IOException) - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl.JmxInspector
 
onWriteReady() - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl
 
onWriteReady() - Method in class io.datakernel.eventloop.AsyncUdpSocketImpl
 
onWriteReady() - Method in interface io.datakernel.eventloop.NioChannelEventHandler
 
onWriteTimeout() - Method in interface io.datakernel.eventloop.AsyncTcpSocketImpl.Inspector
 
onWriteTimeout() - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl.JmxInspector
 
OP_POSTPONED - Static variable in class io.datakernel.eventloop.AsyncTcpSocketImpl
 
open(ExecutorService, Path, OpenOption[]) - Static method in class io.datakernel.file.AsyncFile
Synchronously opens file
open(ExecutorService, Path, OpenOption[], Object) - Static method in class io.datakernel.file.AsyncFile
 
openAsync(ExecutorService, Path, OpenOption[]) - Static method in class io.datakernel.file.AsyncFile
Asynchronously opens file
openAsync(ExecutorService, Path, OpenOption[], Object) - Static method in class io.datakernel.file.AsyncFile
 
or(Predicate<? super T>) - Method in interface io.datakernel.async.AsyncPredicate
 
or(AsyncPredicate<? super T>) - Method in interface io.datakernel.async.AsyncPredicate
 

P

parse(String) - Static method in class io.datakernel.eventloop.InetAddressRange
Supported formats:
All: * CIDR: address/cidrPrefix : 192.168.1.0/24
RANGE: address1-address2 : 192.168.1.0 - 192.169.1.255
ALONE: address : 192.168.0.1
Not Supported:
RANGE/CIDR address1-address2/cidrPrefix
post() - Method in interface io.datakernel.async.Stage
When this stage is completed it's completion will be postponed to the next eventloop tick.
post(Runnable) - Method in class io.datakernel.eventloop.Eventloop
Posts a new task to the beginning of localTasks.
postLater(Runnable) - Method in class io.datakernel.eventloop.Eventloop
Posts a new task to the end localTasks.
postTo(Eventloop) - Method in interface io.datakernel.async.Stage
 
POWERS_OF_TEN - Static variable in class io.datakernel.jmx.ValueStats
 
POWERS_OF_TEN_SEMI_LINEAR - Static variable in class io.datakernel.jmx.ValueStats
 
POWERS_OF_TEN_SEMI_LINEAR_1000 - Static variable in class io.datakernel.jmx.ValueStats
 
POWERS_OF_TEN_SHORTENED - Static variable in class io.datakernel.jmx.ValueStats
 
POWERS_OF_TWO - Static variable in class io.datakernel.jmx.ValueStats
 
prefetch(int) - Method in interface io.datakernel.async.AsyncCallable
 
prefetch(AsyncCallable<T>, AsyncCallable<T>, int) - Static method in interface io.datakernel.async.AsyncCallable
 
PrimaryServer - Class in io.datakernel.eventloop
It is the AbstractServer which only handles connections.

R

read() - Method in class io.datakernel.eventloop.AsyncSslSocket
 
read() - Method in interface io.datakernel.eventloop.AsyncTcpSocket
Must be called to inform the async socket that additional read data is needed.
read() - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl
 
read() - Method in class io.datakernel.file.AsyncFile
Asynchronously reads all bytes from this file into a buffer.
read(long) - Method in class io.datakernel.file.AsyncFile
Asynchronously reads all bytes from this file into a buffer starting at given position.
read(ByteBuf, long) - Method in class io.datakernel.file.AsyncFile
Asynchronously reads a sequence of bytes from this channel into the given buffer, starting at the given position.
readFile(ExecutorService, Path) - Static method in class io.datakernel.file.AsyncFile
Reads all bytes from this channel into the given buffer.
readMaxSize - Variable in class io.datakernel.eventloop.AsyncTcpSocketImpl
 
receive() - Method in interface io.datakernel.eventloop.AsyncUdpSocket
 
receive() - Method in class io.datakernel.eventloop.AsyncUdpSocketImpl
 
recordEvent() - Method in class io.datakernel.jmx.EventStats
Records event and updates rate
recordEvents(int) - Method in class io.datakernel.jmx.EventStats
Records events and updates rate
recordException(Throwable, Object) - Method in class io.datakernel.jmx.ExceptionStats
 
recordException(Throwable) - Method in class io.datakernel.jmx.ExceptionStats
 
recordFatalError(Throwable, Object) - Method in class io.datakernel.eventloop.Eventloop
 
recordFatalError(Throwable, Object) - Method in class io.datakernel.eventloop.EventloopStats
 
recordScheduledTaskOverdue(int, boolean) - Method in class io.datakernel.eventloop.EventloopStats
 
recordStats() - Method in class io.datakernel.jmx.StageStats
 
recordValue(int) - Method in class io.datakernel.jmx.ValueStats
Adds value
recordValue(double) - Method in class io.datakernel.jmx.ValueStats
 
recycle() - Method in class io.datakernel.eventloop.UdpPacket
Recycles data buffer.
reduce(List<? extends T>) - Method in interface io.datakernel.jmx.JmxReducer
 
reduce(List<?>) - Method in class io.datakernel.jmx.JmxReducers.JmxReducerDistinct
 
reduce(List<? extends Number>) - Method in class io.datakernel.jmx.JmxReducers.JmxReducerMax
 
reduce(List<? extends Number>) - Method in class io.datakernel.jmx.JmxReducers.JmxReducerMin
 
reduce(List<? extends Number>) - Method in class io.datakernel.jmx.JmxReducers.JmxReducerSum
 
Reducer<A,T> - Interface in io.datakernel.async
 
ReflectionUtils - Class in io.datakernel.util
 
refresh(long) - Method in class io.datakernel.jmx.EventStats
 
refresh(long) - Method in interface io.datakernel.jmx.JmxRefreshable
 
refresh(long) - Method in class io.datakernel.jmx.ValueStats
 
refreshTimestampAndGet() - Method in class io.datakernel.eventloop.Eventloop
 
register() - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl
 
register() - Method in class io.datakernel.eventloop.AsyncUdpSocketImpl
 
resetInfo() - Method in class io.datakernel.eventloop.ThrottlingController
 
resetStats() - Method in class io.datakernel.eventloop.EventloopStats.DurationRunnable
 
resetStats() - Method in interface io.datakernel.jmx.EventloopJmxMBeanEx
 
resetStats() - Method in class io.datakernel.jmx.EventStats
Resets rate to zero
resetStats() - Method in class io.datakernel.jmx.ExceptionStats
 
resetStats() - Method in interface io.datakernel.jmx.JmxStatsWithReset
 
resetStats() - Method in class io.datakernel.jmx.ValueStats
Resets stats and sets new parameters
resetStats(Object) - Static method in class io.datakernel.util.ReflectionUtils
 
result - Variable in class io.datakernel.async.SettableStage
 
resultOf() - Method in interface io.datakernel.async.IndexedCollector
 
resultOf(T) - Method in interface io.datakernel.async.IndexedCollector
 
resultOf(T, T) - Method in interface io.datakernel.async.IndexedCollector
 
resultOf(List<? extends T>) - Method in interface io.datakernel.async.IndexedCollector
 
ResultWithStage<T,V> - Class in io.datakernel.async
 
rethrowOnAnyError() - Static method in class io.datakernel.eventloop.FatalErrorHandlers
 
rethrowOnMatchedError(List<Class>, List<Class>) - Static method in class io.datakernel.eventloop.FatalErrorHandlers
 
retry(RetryPolicy) - Method in interface io.datakernel.async.AsyncCallable
 
retry(AsyncCallable<T>, RetryPolicy) - Static method in interface io.datakernel.async.AsyncCallable
 
RetryPolicy - Interface in io.datakernel.async
 
run() - Method in class io.datakernel.eventloop.Eventloop
Overridden method from Runnable that executes tasks while this eventloop is alive.
runSequence() - Static method in class io.datakernel.async.Stages
 
runSequence(AsyncCallable<?>) - Static method in class io.datakernel.async.Stages
 
runSequence(AsyncCallable<?>, AsyncCallable<?>) - Static method in class io.datakernel.async.Stages
 
runSequence(AsyncCallable<?>...) - Static method in class io.datakernel.async.Stages
 
runSequence(AsyncCallable<?>, AsyncCallable<?>, AsyncCallable<?>) - Static method in class io.datakernel.async.Stages
 
runSequence(Stream<? extends AsyncCallable<?>>) - Static method in class io.datakernel.async.Stages
 
runSequence(Iterable<? extends AsyncCallable<?>>) - Static method in class io.datakernel.async.Stages
 
runSequence(Iterator<? extends AsyncCallable<?>>) - Static method in class io.datakernel.async.Stages
Calls every Stage from stages in sequence.

S

schedule(long, Runnable) - Method in class io.datakernel.eventloop.Eventloop
Schedules new task.
schedule(long, Runnable) - Method in interface io.datakernel.eventloop.Scheduler
 
schedule(Instant, Runnable) - Method in interface io.datakernel.eventloop.Scheduler
 
scheduleBackground(long, Runnable) - Method in class io.datakernel.eventloop.Eventloop
Schedules new background task.
scheduleBackground(long, Runnable) - Method in interface io.datakernel.eventloop.Scheduler
 
scheduleBackground(Instant, Runnable) - Method in interface io.datakernel.eventloop.Scheduler
 
ScheduledRunnable - Class in io.datakernel.eventloop
 
ScheduledTaskStats(EventloopStats.Count) - Constructor for class io.datakernel.eventloop.EventloopStats.ScheduledTaskStats
 
Scheduler - Interface in io.datakernel.eventloop
 
Scope(Eventloop) - Constructor for class io.datakernel.eventloop.Eventloop.Scope
 
send(UdpPacket) - Method in interface io.datakernel.eventloop.AsyncUdpSocket
 
send(UdpPacket) - Method in class io.datakernel.eventloop.AsyncUdpSocketImpl
 
serverSocketSettings - Variable in class io.datakernel.eventloop.AbstractServer
 
ServerSocketSettings - Class in io.datakernel.net
This class used to change settings for server socket.
set(T) - Method in interface io.datakernel.async.Callback
 
set(T, Throwable) - Method in interface io.datakernel.async.Callback
 
set(T) - Method in interface io.datakernel.async.Settable
 
set(T) - Method in class io.datakernel.async.SettableStage
Sets the result of this SettableStage and completes it.
setEnabled(boolean) - Method in class io.datakernel.async.EventloopTaskScheduler
 
setEventHandler(AsyncTcpSocket.EventHandler) - Method in class io.datakernel.eventloop.AsyncSslSocket
 
setEventHandler(AsyncTcpSocket.EventHandler) - Method in interface io.datakernel.eventloop.AsyncTcpSocket
 
setEventHandler(AsyncTcpSocket.EventHandler) - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl
 
setEventHandler(AsyncUdpSocket.EventHandler) - Method in interface io.datakernel.eventloop.AsyncUdpSocket
 
setEventHandler(AsyncUdpSocket.EventHandler) - Method in class io.datakernel.eventloop.AsyncUdpSocketImpl
 
setException(Throwable) - Method in interface io.datakernel.async.Callback
 
setException(Throwable) - Method in class io.datakernel.async.SettableStage
Sets exception and completes this SettableStage exceptionally.
setGcTimeMillis(Duration) - Method in class io.datakernel.eventloop.ThrottlingController
 
setGlobalFatalErrorHandler(FatalErrorHandler) - Static method in class io.datakernel.eventloop.Eventloop
 
setHistogramLevels(int[]) - Method in class io.datakernel.jmx.StageStats
 
setHistogramLevels(int[]) - Method in class io.datakernel.jmx.ValueStats
 
setIdleInterval(Duration) - Method in class io.datakernel.eventloop.Eventloop
 
setInterval(Duration) - Method in class io.datakernel.async.EventloopTaskScheduler
 
setPeriod(Duration) - Method in class io.datakernel.async.EventloopTaskScheduler
 
setReceiveBufferSize(int) - Method in class io.datakernel.eventloop.AsyncUdpSocketImpl
 
setRetryPolicy(RetryPolicy) - Method in class io.datakernel.async.EventloopTaskScheduler
 
setSchedule(EventloopTaskScheduler.Schedule) - Method in class io.datakernel.async.EventloopTaskScheduler
 
setSmoothingWindow(Duration) - Method in class io.datakernel.eventloop.ThrottlingController
 
setSmoothingWindow(Duration) - Method in interface io.datakernel.jmx.EventloopJmxMBeanEx
 
setSmoothingWindow(Duration) - Method in class io.datakernel.jmx.EventStats
 
setSmoothingWindow(Duration) - Method in interface io.datakernel.jmx.JmxStatsWithSmoothingWindow
 
setSmoothingWindow(Duration) - Method in class io.datakernel.jmx.ValueStats
 
setSmoothingWindow(Object, Duration) - Static method in class io.datakernel.util.ReflectionUtils
 
Settable<T> - Interface in io.datakernel.async
 
SettableStage<T> - Class in io.datakernel.async
Stage that can be completed or completedExceptionally manually.
SettableStage() - Constructor for class io.datakernel.async.SettableStage
 
setTargetTimeMillis(Duration) - Method in class io.datakernel.eventloop.ThrottlingController
 
setThrottlingDecrease(double) - Method in class io.datakernel.eventloop.ThrottlingController
 
sharedCall() - Method in interface io.datakernel.async.AsyncCallable
 
sharedCall(AsyncCallable<T>) - Static method in interface io.datakernel.async.AsyncCallable
 
SimpleServer - Class in io.datakernel.eventloop
 
SimpleServer.SocketHandlerProvider - Interface in io.datakernel.eventloop
 
singleCall() - Method in interface io.datakernel.async.AsyncCallable
 
singleCall(int) - Method in interface io.datakernel.async.AsyncCallable
 
size(ExecutorService, Path) - Static method in class io.datakernel.file.AsyncFile
Checks the file size.
SMOOTHING_WINDOW - Static variable in class io.datakernel.eventloop.AsyncTcpSocketImpl.JmxInspector
 
SMOOTHING_WINDOW - Static variable in class io.datakernel.eventloop.ThrottlingController
 
socketSettings - Variable in class io.datakernel.eventloop.AbstractServer
 
SocketSettings - Class in io.datakernel.net
This class used to change settings for socket.
sslListenAddresses - Variable in class io.datakernel.eventloop.AbstractServer
 
Stage<T> - Interface in io.datakernel.async
Replacement of default java CompletionStage interface.
Stage.ThrowingFunction<T,R> - Interface in io.datakernel.async
 
Stages - Class in io.datakernel.async
 
StagesAccumulator<A> - Class in io.datakernel.async
 
StageStats - Class in io.datakernel.jmx
 
StageStats(Eventloop, ValueStats) - Constructor for class io.datakernel.jmx.StageStats
 
stageToCallback(Stage<T>, Callback<T>) - Static method in interface io.datakernel.async.Callback
 
start() - Method in class io.datakernel.async.EventloopTaskScheduler
 
start() - Method in interface io.datakernel.eventloop.EventloopService
Starts this component asynchronously.
START - Static variable in class io.datakernel.eventloop.InetAddressRange
 
start() - Method in class io.datakernel.net.BlockingSocketServer
 
startExtendedMonitoring() - Method in class io.datakernel.eventloop.Eventloop
 
startExternalTask() - Method in class io.datakernel.eventloop.Eventloop
Notifies the event loop about concurrent operation in other threads.
startNow() - Method in class io.datakernel.async.EventloopTaskScheduler
 
stop() - Method in class io.datakernel.async.EventloopTaskScheduler
 
stop() - Method in interface io.datakernel.eventloop.EventloopService
Stops this component asynchronously.
stop() - Method in class io.datakernel.net.BlockingSocketServer
 
stopExtendedMonitoring() - Method in class io.datakernel.eventloop.Eventloop
 
submit(Runnable) - Method in class io.datakernel.eventloop.BlockingEventloopExecutor
 
submit(Callable<T>) - Method in class io.datakernel.eventloop.BlockingEventloopExecutor
 
submit(AsyncCallable<T>) - Method in class io.datakernel.eventloop.BlockingEventloopExecutor
 
submit(Runnable) - Method in class io.datakernel.eventloop.Eventloop
Submits Runnable to eventloop for execution
submit(Callable<T>) - Method in class io.datakernel.eventloop.Eventloop
Works the same as Eventloop.submit(Runnable) except for Callable
submit(AsyncCallable<T>) - Method in class io.datakernel.eventloop.Eventloop
Works the same as Eventloop.submit(Runnable) except for AsyncCallable
submit(Runnable) - Method in interface io.datakernel.eventloop.EventloopExecutor
 
submit(Callable<T>) - Method in interface io.datakernel.eventloop.EventloopExecutor
 
submit(AsyncCallable<T>) - Method in interface io.datakernel.eventloop.EventloopExecutor
 
subscribe(BiConsumer<? super T, Throwable>) - Method in class io.datakernel.async.SettableStage
 

T

TARGET_TIME - Static variable in class io.datakernel.eventloop.ThrottlingController
 
Tasks(Eventloop.ExtraStatsExtractor) - Constructor for class io.datakernel.eventloop.EventloopStats.Tasks
 
TaskStats(EventloopStats.Count) - Constructor for class io.datakernel.eventloop.EventloopStats.TaskStats
 
test(T) - Method in interface io.datakernel.async.AsyncPredicate
 
then(S) - Method in interface io.datakernel.async.Stage
Executes given stage after execution of this stage completes
thenApply(Function<? super T, ? extends V>) - Method in interface io.datakernel.async.AsyncCallable
 
thenApply(Function<? super T, ? extends U>) - Method in interface io.datakernel.async.Stage
Applies fn to the result of this Stage
thenApplyEx(BiFunction<? super T, Throwable, ? extends U>) - Method in interface io.datakernel.async.Stage
Applies fn to the result or exception of this Stage
thenCallback(BiConsumer<? super T, SettableStage<U>>) - Method in interface io.datakernel.async.Stage
 
thenCompose(Function<? super T, ? extends Stage<U>>) - Method in interface io.datakernel.async.Stage
Applies function to the result of this stage if it completes successfully.
thenComposeEx(BiFunction<? super T, Throwable, ? extends Stage<U>>) - Method in interface io.datakernel.async.Stage
Applies function to the result of this stage.
thenException(Function<? super T, Throwable>) - Method in interface io.datakernel.async.Stage
 
thenRun(Runnable) - Method in interface io.datakernel.async.Stage
Runs action after successful completion of this stage
thenRunEx(Runnable) - Method in interface io.datakernel.async.Stage
Runs action after completion of this stage
thenTry(Stage.ThrowingFunction<? super T, ? extends U>) - Method in interface io.datakernel.async.Stage
 
thisMethod() - Static method in class io.datakernel.util.LogUtils
 
THROTTLING_DECREASE - Static variable in class io.datakernel.eventloop.ThrottlingController
 
ThrottlingController - Class in io.datakernel.eventloop
 
tick() - Method in class io.datakernel.eventloop.Eventloop
 
timeout(long) - Static method in interface io.datakernel.async.CollectListener
 
timeout(Duration) - Method in interface io.datakernel.async.Stage
Returns stage that completes successfully if this stage completes before timeout.
TIMEOUT_EXCEPTION - Static variable in interface io.datakernel.async.Stage
 
TIMEOUT_EXCEPTION - Static variable in class io.datakernel.eventloop.AsyncTcpSocketImpl
 
TO_LIST - Static variable in interface io.datakernel.async.IndexedCollector
 
toArray(Class<T>) - Static method in interface io.datakernel.async.IndexedCollector
 
toArray(Class<T>) - Static method in class io.datakernel.async.Stages
 
toArray(Class<T>, Stage<? extends T>) - Static method in class io.datakernel.async.Stages
 
toArray(Class<T>, Stage<? extends T>, Stage<? extends T>) - Static method in class io.datakernel.async.Stages
 
toArray(Class<T>, Stage<? extends T>...) - Static method in class io.datakernel.async.Stages
 
toArray(Class<T>, Stream<? extends Stage<? extends T>>) - Static method in class io.datakernel.async.Stages
 
toArray(Class<T>, List<? extends Stage<? extends T>>) - Static method in class io.datakernel.async.Stages
Prepared version of reduce that reduces stages into Stage<Array>
toCidrString() - Method in class io.datakernel.eventloop.InetAddressRange
 
toCompletableFuture() - Method in interface io.datakernel.async.Stage
Wraps Stage into CompletableFuture
toList() - Static method in interface io.datakernel.async.IndexedCollector
 
toList() - Static method in class io.datakernel.async.Stages
 
toList(Stage<? extends T>) - Static method in class io.datakernel.async.Stages
 
toList(Stage<? extends T>, Stage<? extends T>) - Static method in class io.datakernel.async.Stages
 
toList(Stage<? extends T>...) - Static method in class io.datakernel.async.Stages
 
toList(Stream<? extends Stage<? extends T>>) - Static method in class io.datakernel.async.Stages
 
toList(List<? extends Stage<? extends T>>) - Static method in class io.datakernel.async.Stages
Prepared version of reduce that reduces stages into Stage<List>
toLogger(Logger, LogUtils.Level, Supplier<String>, LogUtils.Level, Function<T, String>, LogUtils.Level, Function<Throwable, String>) - Static method in class io.datakernel.util.LogUtils
 
toLogger(Logger, LogUtils.Level, Supplier<String>, LogUtils.Level, Function<T, String>) - Static method in class io.datakernel.util.LogUtils
 
toLogger(Logger, LogUtils.Level, LogUtils.Level, LogUtils.Level, String, Object...) - Static method in class io.datakernel.util.LogUtils
 
toLogger(Logger, LogUtils.Level, LogUtils.Level, String, Object...) - Static method in class io.datakernel.util.LogUtils
 
toLogger(Logger, LogUtils.Level, String, Object...) - Static method in class io.datakernel.util.LogUtils
 
toLogger(Logger, String, Object...) - Static method in class io.datakernel.util.LogUtils
 
toRangeString() - Method in class io.datakernel.eventloop.InetAddressRange
 
toString() - Method in class io.datakernel.async.SettableStage
 
toString() - Method in class io.datakernel.eventloop.AbstractServer
 
toString() - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl
 
toString() - Method in class io.datakernel.eventloop.AsyncUdpSocketImpl
 
toString() - Method in class io.datakernel.eventloop.Eventloop
 
toString() - Method in class io.datakernel.eventloop.InetAddressRange
 
toString() - Method in class io.datakernel.eventloop.PrimaryServer
 
toString() - Method in class io.datakernel.eventloop.ScheduledRunnable
 
toString() - Method in class io.datakernel.eventloop.ThrottlingController
 
toString() - Method in class io.datakernel.file.AsyncFile
 
toString() - Method in class io.datakernel.jmx.EventStats
 
toString() - Method in class io.datakernel.jmx.ExceptionStats
 
toString() - Method in class io.datakernel.jmx.ValueStats
 
toTry() - Method in interface io.datakernel.async.Stage
Returns stage that always completes successfully with result or exception wrapped in Try
toTuple(TupleConstructor1<T1, R>, Stage<? extends T1>) - Static method in class io.datakernel.async.Stages
 
toTuple(TupleConstructor2<T1, T2, R>, Stage<? extends T1>, Stage<? extends T2>) - Static method in class io.datakernel.async.Stages
 
toTuple(TupleConstructor3<T1, T2, T3, R>, Stage<? extends T1>, Stage<? extends T2>, Stage<? extends T3>) - Static method in class io.datakernel.async.Stages
 
toTuple(TupleConstructor4<T1, T2, T3, T4, R>, Stage<? extends T1>, Stage<? extends T2>, Stage<? extends T3>, Stage<? extends T4>) - Static method in class io.datakernel.async.Stages
 
toTuple(TupleConstructor5<T1, T2, T3, T4, T5, R>, Stage<? extends T1>, Stage<? extends T2>, Stage<? extends T3>, Stage<? extends T4>, Stage<? extends T5>) - Static method in class io.datakernel.async.Stages
 
toTuple(TupleConstructor6<T1, T2, T3, T4, T5, T6, R>, Stage<? extends T1>, Stage<? extends T2>, Stage<? extends T3>, Stage<? extends T4>, Stage<? extends T5>, Stage<? extends T6>) - Static method in class io.datakernel.async.Stages
 
toTuple(Stage<? extends T1>) - Static method in class io.datakernel.async.Stages
 
toTuple(Stage<? extends T1>, Stage<? extends T2>) - Static method in class io.datakernel.async.Stages
 
toTuple(Stage<? extends T1>, Stage<? extends T2>, Stage<? extends T3>) - Static method in class io.datakernel.async.Stages
 
toTuple(Stage<? extends T1>, Stage<? extends T2>, Stage<? extends T3>, Stage<? extends T4>) - Static method in class io.datakernel.async.Stages
 
toTuple(Stage<? extends T1>, Stage<? extends T2>, Stage<? extends T3>, Stage<? extends T4>, Stage<? extends T5>) - Static method in class io.datakernel.async.Stages
 
toTuple(Stage<? extends T1>, Stage<? extends T2>, Stage<? extends T3>, Stage<? extends T4>, Stage<? extends T5>, Stage<? extends T6>) - Static method in class io.datakernel.async.Stages
 
toVoid() - Method in interface io.datakernel.async.Stage
Waits for result and discard it.
TRUE - Static variable in class io.datakernel.net.DatagramSocketSettings
 
TRUE - Static variable in class io.datakernel.net.ServerSocketSettings
 
TRUE - Static variable in class io.datakernel.net.SocketSettings
 
truncate(long) - Method in class io.datakernel.file.AsyncFile
Truncates this file to the given size.
trySet(T) - Method in class io.datakernel.async.SettableStage
The same as SettableStage.trySet(Object, Throwable) )} but for result only.
trySet(T, Throwable) - Method in class io.datakernel.async.SettableStage
Tries to set result or exception for this SettableStage if it not yet set.
trySetException(Throwable) - Method in class io.datakernel.async.SettableStage
The same as SettableStage.trySet(Object, Throwable) )} but for exception only.

U

UdpPacket - Class in io.datakernel.eventloop
This class represents a UDP packet.
updateBusinessLogicTime(int, int, long) - Method in class io.datakernel.eventloop.EventloopStats
 
updateConcurrentTaskDuration(Runnable, Stopwatch) - Method in class io.datakernel.eventloop.EventloopStats
 
updateConcurrentTasksStats(int, long) - Method in class io.datakernel.eventloop.EventloopStats
 
updateLocalTaskDuration(Runnable, Stopwatch) - Method in class io.datakernel.eventloop.EventloopStats
 
updateLocalTasksStats(int, long) - Method in class io.datakernel.eventloop.EventloopStats
 
updateScheduledTaskDuration(Runnable, Stopwatch, boolean) - Method in class io.datakernel.eventloop.EventloopStats
 
updateScheduledTasksStats(int, long, boolean) - Method in class io.datakernel.eventloop.EventloopStats
 
updateSelectedKeyDuration(Stopwatch) - Method in class io.datakernel.eventloop.EventloopStats
 
updateSelectedKeysStats(int, int, int, int, int, int, long) - Method in class io.datakernel.eventloop.EventloopStats
 
updateSelectorSelectTime(long) - Method in class io.datakernel.eventloop.EventloopStats
 
updateSelectorSelectTimeout(long) - Method in class io.datakernel.eventloop.EventloopStats
 
USE_GETTER_NAME - Static variable in annotation type io.datakernel.jmx.JmxAttribute
 
useCurrentThread() - Method in class io.datakernel.eventloop.Eventloop
 

V

valueOf(String) - Static method in enum io.datakernel.util.LogUtils.Level
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.datakernel.util.LogUtils.Level
Returns an array containing the constants of this enum type, in the order they are declared.
ValueStats - Class in io.datakernel.jmx
Counts added values and computes dynamic average using exponential smoothing algorithm

W

whenComplete(BiConsumer<? super T, Throwable>) - Method in interface io.datakernel.async.AsyncCallable
 
whenComplete(BiConsumer<? super T, Throwable>) - Method in interface io.datakernel.async.Stage
Subscribes given action to be executed after this stage completes
whenException(Consumer<Throwable>) - Method in interface io.datakernel.async.Stage
Subscribes given action to be executed after this stage completes exceptionally
whenResult(Consumer<? super T>) - Method in interface io.datakernel.async.Stage
Subscribes given action to be executed after this stage completes successfully
with(UnaryOperator<AsyncCallable<T>>) - Method in interface io.datakernel.async.AsyncCallable
 
withAbortOnError(boolean) - Method in class io.datakernel.async.EventloopTaskScheduler
 
withAbsoluteValues(boolean) - Method in class io.datakernel.jmx.ValueStats
 
withAcceptFilter(AbstractServer.AcceptFilter) - Method in class io.datakernel.eventloop.AbstractServer
 
withAcceptOnce() - Method in class io.datakernel.eventloop.AbstractServer
 
withAcceptOnce(boolean) - Method in class io.datakernel.eventloop.AbstractServer
 
withAcceptThreadFactory(ThreadFactory) - Method in class io.datakernel.net.BlockingSocketServer
 
withAverageAndDeviation(boolean) - Method in class io.datakernel.jmx.ValueStats
 
withBacklog(int) - Method in class io.datakernel.net.ServerSocketSettings
 
withBroadcast(boolean) - Method in class io.datakernel.net.DatagramSocketSettings
 
withCurrentThread() - Method in class io.datakernel.eventloop.Eventloop
 
withFatalErrorHandler(FatalErrorHandler) - Method in class io.datakernel.eventloop.Eventloop
 
withGcTime(Duration) - Method in class io.datakernel.eventloop.ThrottlingController
 
withHistogram(int[]) - Method in class io.datakernel.jmx.StageStats
 
withHistogram(int[]) - Method in class io.datakernel.jmx.ValueStats
 
withIdleInterval(Duration) - Method in class io.datakernel.eventloop.Eventloop
 
withImplReadSize(MemSize) - Method in class io.datakernel.net.SocketSettings
 
withImplReadTimeout(Duration) - Method in class io.datakernel.net.SocketSettings
 
withImplWriteSize(MemSize) - Method in class io.datakernel.net.SocketSettings
 
withImplWriteTimeout(Duration) - Method in class io.datakernel.net.SocketSettings
 
withInitialDelay(Duration) - Method in class io.datakernel.async.EventloopTaskScheduler
 
withInitialKeysPerSecond(double) - Method in class io.datakernel.eventloop.ThrottlingController
 
withInitialThrottling(double) - Method in class io.datakernel.eventloop.ThrottlingController
 
withInspector(AsyncTcpSocketImpl.Inspector) - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl
 
withInspector(AsyncUdpSocketImpl.Inspector) - Method in class io.datakernel.eventloop.AsyncUdpSocketImpl
 
withInterval(Duration) - Method in class io.datakernel.async.EventloopTaskScheduler
 
withKeepAlive(boolean) - Method in class io.datakernel.net.SocketSettings
 
withLastValue(boolean) - Method in class io.datakernel.jmx.ValueStats
 
withListenAddress(InetSocketAddress) - Method in class io.datakernel.eventloop.AbstractServer
 
withListenAddress(InetSocketAddress) - Method in class io.datakernel.net.BlockingSocketServer
 
withListenAddresses(List<InetSocketAddress>) - Method in class io.datakernel.eventloop.AbstractServer
 
withListenAddresses(InetSocketAddress...) - Method in class io.datakernel.eventloop.AbstractServer
 
withListenAddresses(List<InetSocketAddress>) - Method in class io.datakernel.net.BlockingSocketServer
 
withListenAddresses(InetSocketAddress...) - Method in class io.datakernel.net.BlockingSocketServer
 
withListenPort(int) - Method in class io.datakernel.eventloop.AbstractServer
 
withListenPort(int) - Method in class io.datakernel.net.BlockingSocketServer
 
withLogger(Logger) - Method in class io.datakernel.eventloop.AbstractServer
 
withMaxTotalRetryCount(int) - Method in interface io.datakernel.async.RetryPolicy
 
withMaxTotalRetryTimeout(Duration) - Method in interface io.datakernel.async.RetryPolicy
 
withMinMax(boolean) - Method in class io.datakernel.jmx.ValueStats
 
withPeriod(Duration) - Method in class io.datakernel.async.EventloopTaskScheduler
 
withPrecision(int) - Method in class io.datakernel.jmx.EventStats
 
withPrecision(int) - Method in class io.datakernel.jmx.ValueStats
 
withRate(String) - Method in class io.datakernel.jmx.ValueStats
 
withRate() - Method in class io.datakernel.jmx.ValueStats
 
withRateUnit(String) - Method in class io.datakernel.jmx.EventStats
 
withReceiveBufferSize(MemSize) - Method in class io.datakernel.net.DatagramSocketSettings
 
withReceiveBufferSize(MemSize) - Method in class io.datakernel.net.ServerSocketSettings
 
withReceiveBufferSize(MemSize) - Method in class io.datakernel.net.SocketSettings
 
withRetryPolicy(RetryPolicy) - Method in class io.datakernel.async.EventloopTaskScheduler
 
withReuseAddress(boolean) - Method in class io.datakernel.net.DatagramSocketSettings
 
withReuseAddress(boolean) - Method in class io.datakernel.net.ServerSocketSettings
 
withReuseAddress(boolean) - Method in class io.datakernel.net.SocketSettings
 
withSchedule(EventloopTaskScheduler.Schedule) - Method in class io.datakernel.async.EventloopTaskScheduler
 
withScientificNotation() - Method in class io.datakernel.jmx.EventStats
 
withScientificNotation() - Method in class io.datakernel.jmx.ValueStats
 
withSelectorProvider(SelectorProvider) - Method in class io.datakernel.eventloop.Eventloop
 
withSendBufferSize(MemSize) - Method in class io.datakernel.net.DatagramSocketSettings
 
withSendBufferSize(MemSize) - Method in class io.datakernel.net.SocketSettings
 
withServerSocketSettings(ServerSocketSettings) - Method in class io.datakernel.eventloop.AbstractServer
 
withServerSocketSettings(ServerSocketSettings) - Method in class io.datakernel.net.BlockingSocketServer
 
withSmoothingWindow(Duration) - Method in class io.datakernel.eventloop.ThrottlingController
 
withSocketSettings(SocketSettings) - Method in class io.datakernel.eventloop.AbstractServer
 
withSocketSettings(SocketSettings) - Method in class io.datakernel.net.BlockingSocketServer
 
withSslListenAddress(SSLContext, ExecutorService, InetSocketAddress) - Method in class io.datakernel.eventloop.AbstractServer
 
withSslListenAddresses(SSLContext, ExecutorService, List<InetSocketAddress>) - Method in class io.datakernel.eventloop.AbstractServer
 
withSslListenAddresses(SSLContext, ExecutorService, InetSocketAddress...) - Method in class io.datakernel.eventloop.AbstractServer
 
withSslListenPort(SSLContext, ExecutorService, int) - Method in class io.datakernel.eventloop.AbstractServer
 
withStage(Stage<V>, Reducer<A, V>) - Method in class io.datakernel.async.StagesAccumulator
 
withStatsHistogramLevels(int[]) - Method in class io.datakernel.async.EventloopTaskScheduler
 
withTargetTime(Duration) - Method in class io.datakernel.eventloop.ThrottlingController
 
withTcpNoDelay(boolean) - Method in class io.datakernel.net.SocketSettings
 
withThreadName(String) - Method in class io.datakernel.eventloop.Eventloop
 
withThreadPriority(int) - Method in class io.datakernel.eventloop.Eventloop
 
withThrottlingController(ThrottlingController) - Method in class io.datakernel.eventloop.Eventloop
 
withThrottlingDecrease(double) - Method in class io.datakernel.eventloop.ThrottlingController
 
withUnit(String) - Method in class io.datakernel.jmx.ValueStats
 
WorkerServer - Interface in io.datakernel.eventloop
 
wrapChannel(Eventloop, SocketChannel, SocketSettings) - Static method in class io.datakernel.eventloop.AsyncTcpSocketImpl
 
wrapChannel(Eventloop, SocketChannel) - Static method in class io.datakernel.eventloop.AsyncTcpSocketImpl
 
wrapClientSocket(Eventloop, AsyncTcpSocket, String, int, SSLContext, Executor) - Static method in class io.datakernel.eventloop.AsyncSslSocket
 
wrapClientSocket(Eventloop, AsyncTcpSocket, SSLContext, Executor) - Static method in class io.datakernel.eventloop.AsyncSslSocket
 
wrapper(AsyncCallable<T>) - Method in class io.datakernel.jmx.StageStats
 
wrapServerSocket(Eventloop, AsyncTcpSocket, SSLContext, Executor) - Static method in class io.datakernel.eventloop.AsyncSslSocket
 
wrapSocket(Eventloop, AsyncTcpSocket, SSLEngine, Executor) - Static method in class io.datakernel.eventloop.AsyncSslSocket
 
write(ByteBuf) - Method in class io.datakernel.eventloop.AsyncSslSocket
 
write(ByteBuf) - Method in interface io.datakernel.eventloop.AsyncTcpSocket
Asynchronously writes data to network.
write(ByteBuf) - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl
 
write(ByteBuf) - Method in class io.datakernel.file.AsyncFile
Asynchronously writes all bytes of the buffer into this file at its internal position.
write(ByteBuf, long) - Method in class io.datakernel.file.AsyncFile
Asynchronously writes all bytes of the buffer into this file starting at given position.
writeEndOfStream() - Method in class io.datakernel.eventloop.AsyncSslSocket
 
writeEndOfStream() - Method in interface io.datakernel.eventloop.AsyncTcpSocket
Informs socket that no more data will be written.
writeEndOfStream() - Method in class io.datakernel.eventloop.AsyncTcpSocketImpl
 
writeMaxSize - Variable in class io.datakernel.eventloop.AsyncTcpSocketImpl
 
writeNewFile(ExecutorService, Path, ByteBuf) - Static method in class io.datakernel.file.AsyncFile
Creates new file and writes a sequence of bytes to this file from the given buffer, starting at the given file position.
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links

Copyright © 2019. All rights reserved.