A C E G N O P R S T W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addBucket() - Method in class pl.morgwai.base.util.concurrent.OrderedConcurrentOutputBuffer
-
Adds a new empty bucket at the end of this buffer.
- await(long) - Method in interface pl.morgwai.base.util.concurrent.Awaitable
-
A timed blocking operation}, such as
Thread.join(long),Object.wait(long),ExecutorService.awaitTermination(long, TimeUnit)etc. - await(long) - Method in interface pl.morgwai.base.util.concurrent.Awaitable.WithUnit
- await(long, TimeUnit) - Method in interface pl.morgwai.base.util.concurrent.Awaitable.WithUnit
-
A version of
Awaitable.WithUnit.await(long)method with additionalTimeUnitparam. - Awaitable - Interface in pl.morgwai.base.util.concurrent
-
An object performing
timed blocking operation, such asThread.join(long),Object.wait(long),ExecutorService.awaitTermination(long, TimeUnit)etc. - Awaitable.AwaitInterruptedException - Exception in pl.morgwai.base.util.concurrent
-
An
InterruptedExceptionthat contains results ofAwaitable operationspassed to one ofawaitMultipe(...) functionsthat was interrupted. - Awaitable.Entry<T> - Class in pl.morgwai.base.util.concurrent
- Awaitable.WithUnit - Interface in pl.morgwai.base.util.concurrent
-
A more precise and flexible
Awaitable. - AwaitInterruptedException(List<T>, List<T>, Iterator<Awaitable.Entry<T>>) - Constructor for exception pl.morgwai.base.util.concurrent.Awaitable.AwaitInterruptedException
- awaitMultiple(long, boolean, Function<? super T, Awaitable>, List<T>) - Static method in interface pl.morgwai.base.util.concurrent.Awaitable
- awaitMultiple(long, boolean, Awaitable.Entry<T>...) - Static method in interface pl.morgwai.base.util.concurrent.Awaitable
- awaitMultiple(long, boolean, Awaitable.WithUnit...) - Static method in interface pl.morgwai.base.util.concurrent.Awaitable
- awaitMultiple(long, boolean, Awaitable...) - Static method in interface pl.morgwai.base.util.concurrent.Awaitable
- awaitMultiple(long, TimeUnit, boolean, Function<? super T, Awaitable>, List<T>) - Static method in interface pl.morgwai.base.util.concurrent.Awaitable
- awaitMultiple(long, TimeUnit, boolean, Iterator<Awaitable.Entry<T>>) - Static method in interface pl.morgwai.base.util.concurrent.Awaitable
-
Awaits for multiple
timed blocking operationsspecified byoperationEntries. - awaitMultiple(long, TimeUnit, boolean, Awaitable.Entry<T>...) - Static method in interface pl.morgwai.base.util.concurrent.Awaitable
- awaitMultiple(long, TimeUnit, boolean, Awaitable.WithUnit...) - Static method in interface pl.morgwai.base.util.concurrent.Awaitable
- awaitMultiple(long, TimeUnit, boolean, Awaitable...) - Static method in interface pl.morgwai.base.util.concurrent.Awaitable
- awaitMultiple(long, TimeUnit, Function<? super T, Awaitable>, List<T>) - Static method in interface pl.morgwai.base.util.concurrent.Awaitable
- awaitMultiple(long, TimeUnit, Awaitable.Entry<T>...) - Static method in interface pl.morgwai.base.util.concurrent.Awaitable
- awaitMultiple(long, TimeUnit, Awaitable.WithUnit...) - Static method in interface pl.morgwai.base.util.concurrent.Awaitable
- awaitMultiple(long, TimeUnit, Awaitable...) - Static method in interface pl.morgwai.base.util.concurrent.Awaitable
- awaitMultiple(long, Function<? super T, Awaitable>, List<T>) - Static method in interface pl.morgwai.base.util.concurrent.Awaitable
- awaitMultiple(long, Awaitable.Entry<T>...) - Static method in interface pl.morgwai.base.util.concurrent.Awaitable
- awaitMultiple(long, Awaitable.WithUnit...) - Static method in interface pl.morgwai.base.util.concurrent.Awaitable
- awaitMultiple(long, Awaitable...) - Static method in interface pl.morgwai.base.util.concurrent.Awaitable
C
- close() - Method in interface pl.morgwai.base.util.concurrent.OrderedConcurrentOutputBuffer.OutputStream
- close() - Method in class pl.morgwai.base.util.io.NoCopyByteArrayOutputStream
-
Marks this stream as closed.
- completableFutureSupplyAsync(Callable<T>, Executor) - Static method in interface pl.morgwai.base.util.concurrent.ConcurrentUtils
-
Convenient version of
CompletableFuture.supplyAsync(Supplier, Executor)that takes aCallableinstead of aSupplier. - ConcurrentUtils - Interface in pl.morgwai.base.util.concurrent
-
Various concurrent utility functions.
E
- Entry(T, Awaitable) - Constructor for class pl.morgwai.base.util.concurrent.Awaitable.Entry
G
- getBuffer() - Method in class pl.morgwai.base.util.io.NoCopyByteArrayOutputStream
-
Returns the whole underlying output buffer without copying it.
- getFailed() - Method in exception pl.morgwai.base.util.concurrent.Awaitable.AwaitInterruptedException
- getInterrupted() - Method in exception pl.morgwai.base.util.concurrent.Awaitable.AwaitInterruptedException
- getObject() - Method in class pl.morgwai.base.util.concurrent.Awaitable.Entry
- getOperation() - Method in class pl.morgwai.base.util.concurrent.Awaitable.Entry
- getUnexecuted() - Method in exception pl.morgwai.base.util.concurrent.Awaitable.AwaitInterruptedException
N
- newEntry(T, Awaitable) - Static method in interface pl.morgwai.base.util.concurrent.Awaitable
- NoCopyByteArrayOutputStream - Class in pl.morgwai.base.util.io
-
A
ByteArrayOutputStreamthat allows to directlyaccess its underlying bufferafter the stream was closed. - NoCopyByteArrayOutputStream(int) - Constructor for class pl.morgwai.base.util.io.NoCopyByteArrayOutputStream
-
Constructs a new stream.
O
- ofEnforcedTermination(ExecutorService) - Static method in interface pl.morgwai.base.util.concurrent.Awaitable
- ofJoin(Thread) - Static method in interface pl.morgwai.base.util.concurrent.Awaitable
-
Creates
Awaitable.WithUnitofjoining a thread. - ofMonitorCondition(Object, BooleanSupplier) - Static method in interface pl.morgwai.base.util.concurrent.Awaitable
-
Creates an
Awaitable.WithUnitofwaiting for a monitor condition. - ofTermination(ExecutorService) - Static method in interface pl.morgwai.base.util.concurrent.Awaitable
- OrderedConcurrentOutputBuffer<MessageT> - Class in pl.morgwai.base.util.concurrent
-
Buffers messages until all of those that should be written before to the output are available, so that they all will be written in the correct order.
- OrderedConcurrentOutputBuffer(OrderedConcurrentOutputBuffer.OutputStream<MessageT>) - Constructor for class pl.morgwai.base.util.concurrent.OrderedConcurrentOutputBuffer
- OrderedConcurrentOutputBuffer.OutputStream<MessageT> - Interface in pl.morgwai.base.util.concurrent
P
- pl.morgwai.base.util.concurrent - package pl.morgwai.base.util.concurrent
-
Multithreading utilities.
- pl.morgwai.base.util.io - package pl.morgwai.base.util.io
-
Input/Output utilities.
R
- reset() - Method in class pl.morgwai.base.util.io.NoCopyByteArrayOutputStream
-
Ensures
close()hasn't been called yet and callssuper.
S
- signalNoMoreBuckets() - Method in class pl.morgwai.base.util.concurrent.OrderedConcurrentOutputBuffer
-
Indicates that no more new buckets will be added.
T
- toAwaitableWithUnit() - Method in interface pl.morgwai.base.util.concurrent.Awaitable
-
Adapts this
AwaitabletoAwaitable.WithUnit. - toAwaitableWithUnit() - Method in interface pl.morgwai.base.util.concurrent.Awaitable.WithUnit
-
Returns this.
W
- write(byte[], int, int) - Method in class pl.morgwai.base.util.io.NoCopyByteArrayOutputStream
-
Ensures
close()hasn't been called yet and callssuper. - write(int) - Method in class pl.morgwai.base.util.io.NoCopyByteArrayOutputStream
-
Ensures
close()hasn't been called yet and callssuper. - write(MessageT) - Method in interface pl.morgwai.base.util.concurrent.OrderedConcurrentOutputBuffer.OutputStream
All Classes All Packages