- getAgeMillis() - Method in interface stormpot.SlotInfo
-
Get the approximate number of milliseconds that have transpired since the
object was allocated.
- getAllocationCount() - Method in class stormpot.BlazePool
-
- getAllocationCount() - Method in interface stormpot.ManagedPool
-
Return the number of objects the pool has allocated since it was created.
- getAllocationCount() - Method in class stormpot.QueuePool
-
- getAllocationFailureLatencyPercentile(double) - Method in class stormpot.BlazePool
-
- getAllocationFailureLatencyPercentile(double) - Method in interface stormpot.ManagedPool
-
- getAllocationFailureLatencyPercentile(double) - Method in interface stormpot.MetricsRecorder
-
Get the approximate latency value, in milliseconds, for failed allocation
latencies within the given percentile/quantile of what has been recorded
so far.
- getAllocationFailureLatencyPercentile(double) - Method in class stormpot.QueuePool
-
- getAllocationLatencyPercentile(double) - Method in class stormpot.BlazePool
-
- getAllocationLatencyPercentile(double) - Method in interface stormpot.ManagedPool
-
- getAllocationLatencyPercentile(double) - Method in interface stormpot.MetricsRecorder
-
Get the approximate Poolable object allocation latency value, in
milliseconds, of the given percentile/quantile of the values recorded so
far.
- getAllocationLatencyPercentile(double) - Method in class stormpot.QueuePool
-
- getAllocator() - Method in class stormpot.Config
-
- getBaseUnit() - Method in class stormpot.Timeout
-
- getClaimCount() - Method in interface stormpot.SlotInfo
-
Get the number of times the object has been claimed since it was
allocated.
- getDeadline() - Method in class stormpot.Timeout
-
Calculate a deadline, as an instant in the future, in terms of the
base unit.
- getDeallocationLatencyPercentile(double) - Method in class stormpot.BlazePool
-
- getDeallocationLatencyPercentile(double) - Method in interface stormpot.ManagedPool
-
- getDeallocationLatencyPercentile(double) - Method in interface stormpot.MetricsRecorder
-
Get the approximate latency value, in milliseconds, for deallocation
latencies within the given percentile/quantile of what has been recorded
so far.
- getDeallocationLatencyPercentile(double) - Method in class stormpot.QueuePool
-
- getExpiration() - Method in class stormpot.Config
-
- getFailedAllocationCount() - Method in class stormpot.BlazePool
-
- getFailedAllocationCount() - Method in interface stormpot.ManagedPool
-
Return the number of allocations that has failed, either because the
allocator threw an exception or because it returned null, since the pool
was created.
- getFailedAllocationCount() - Method in class stormpot.QueuePool
-
- getLeakedObjectsCount() - Method in class stormpot.BlazePool
-
- getLeakedObjectsCount() - Method in interface stormpot.ManagedPool
-
If the pool is capable of precise object leak detection, this method will
return the number of object leaks that have been detected, and prevented,
since the pool was created.
- getLeakedObjectsCount() - Method in class stormpot.QueuePool
-
- getMetricsRecorder() - Method in class stormpot.Config
-
Get the configured
MetricsRecorder instance, or null if none has
been configured.
- getObjectLifetimePercentile(double) - Method in class stormpot.BlazePool
-
- getObjectLifetimePercentile(double) - Method in interface stormpot.ManagedPool
-
- getObjectLifetimePercentile(double) - Method in interface stormpot.MetricsRecorder
-
Get the approximate object lifetime, in milliseconds, for the given
percentile/quantile.
- getObjectLifetimePercentile(double) - Method in class stormpot.QueuePool
-
- getPoolable() - Method in interface stormpot.SlotInfo
-
Get the Poolable object represented by this SlotInfo instance.
- getReallocationFailureLatencyPercentile(double) - Method in class stormpot.BlazePool
-
- getReallocationFailureLatencyPercentile(double) - Method in interface stormpot.ManagedPool
-
- getReallocationFailureLatencyPercentile(double) - Method in class stormpot.QueuePool
-
- getReallocationFailurePercentile(double) - Method in interface stormpot.MetricsRecorder
-
Get the approximate latency value, in milliseconds, for failed
reallocation latencies within the given percentile/quantile of what has
been recorded so far.
- getReallocationLatencyPercentile(double) - Method in class stormpot.BlazePool
-
- getReallocationLatencyPercentile(double) - Method in interface stormpot.ManagedPool
-
- getReallocationLatencyPercentile(double) - Method in interface stormpot.MetricsRecorder
-
Get the approximate latency value, in milliseconds, for reallocation
latencies within the given percentile/quantile of what has been recorded
so far.
- getReallocationLatencyPercentile(double) - Method in class stormpot.QueuePool
-
- getReallocator() - Method in class stormpot.Config
-
- getSize() - Method in class stormpot.Config
-
Get the currently configured size.
- getStamp() - Method in interface stormpot.SlotInfo
-
Get the stamp value that has been set on this SlotInfo, or 0 if none has
been set since the Poolable was allocated.
- getTargetSize() - Method in class stormpot.BlazePool
-
- getTargetSize() - Method in interface stormpot.ManagedPool
-
- getTargetSize() - Method in class stormpot.QueuePool
-
- getTargetSize() - Method in interface stormpot.ResizablePool
-
Get the currently configured target size of the pool.
- getThreadFactory() - Method in class stormpot.Config
-
Get the ThreadFactory that has been configured, and will be used to create
the background allocation threads for the pools.
- getTimeLeft(long) - Method in class stormpot.Timeout
-
Calculate the amount of time that is left until the deadline, in terms
of the
base unit.
- getTimeout() - Method in class stormpot.Timeout
-
Get the timeout value in terms of the
unit.
- getTimeoutInBaseUnit() - Method in class stormpot.Timeout
-
Get the timeout value in terms of the
base unit.
- getUnit() - Method in class stormpot.Timeout
-
- randomInt() - Method in interface stormpot.SlotInfo
-
Produce a random int number.
- reallocate(Slot, T) - Method in interface stormpot.Reallocator
-
Possibly reallocate the given instance of T for the given slot, and
return it if the reallocation was successful, or a fresh replacement if
the instance could not be reallocated.
- Reallocator<T extends Poolable> - Interface in stormpot
-
Reallocators are a special kind of
Allocator that can reallocate
Poolables that have expired.
- recordAllocationFailureLatencySampleMillis(long) - Method in interface stormpot.MetricsRecorder
-
Record a latency sample of a failed allocation, in milliseconds.
- recordAllocationLatencySampleMillis(long) - Method in interface stormpot.MetricsRecorder
-
Record a latency sample of a successful allocation, in milliseconds.
- recordDeallocationLatencySampleMillis(long) - Method in interface stormpot.MetricsRecorder
-
Record a latency sample of a deallocation, in milliseconds.
- recordObjectLifetimeSampleMillis(long) - Method in interface stormpot.MetricsRecorder
-
Record an object lifetime sample, in milliseconds.
- recordReallocationFailureLatencySampleMillis(long) - Method in interface stormpot.MetricsRecorder
-
Record a latency sample of a failed reallocation, in milliseconds.
- recordReallocationLatencySampleMillis(long) - Method in interface stormpot.MetricsRecorder
-
Record a latency sample of a successful reallocation, in milliseconds.
- release() - Method in interface stormpot.Poolable
-
Release this Poolable object back into the pool from where it came,
so that others can claim it, or the pool deallocate it if it has
expired.
- release(Poolable) - Method in interface stormpot.Slot
-
Signal to the pool that the currently claimed object in this slot has been
released.
- ResizablePool<T extends Poolable> - Interface in stormpot
-
ResizablePools are pools that can change their size after they have been
created.