All Types

org.apache.tuweni.concurrent.AsyncCompletion

A completion that will be complete at a future time.

org.apache.tuweni.concurrent.AsyncResult

A result that will be available at a future time.

org.apache.tuweni.concurrent.AtomicSlotMap

An atomic map that locates available keys within a DiscreteDomain.

This is an atomic map that will allocate key slots based on availability. It will attempt to keep the range compact by filling slots as they become available.

This implementation should be used with small sets, as addition is an O(N) operation.

org.apache.tuweni.concurrent.CompletableAsyncCompletion

An AsyncCompletion that can later be completed successfully or with a provided exception.

org.apache.tuweni.concurrent.CompletableAsyncResult

An AsyncResult that can be later completed successfully with a provided value, or completed with an exception.

org.apache.tuweni.concurrent.ExpiringMap

A concurrent hash map that stores values along with an expiry. Values are stored in the map until their expiry is reached, after which they will no longer be available and will appear as if removed. The actual removal is done lazily whenever the map is accessed, or when the #purgeExpired() method is invoked.

org.apache.tuweni.concurrent.ExpiringSet

A concurrent hash set that stores values along with an expiry. Elements are stored in the set until their expiry is reached, after which they will no longer be available and will appear as if removed. The actual removal is done lazily whenever the set is accessed, or when the #purgeExpired() method is invoked.