Uses of Interface
stormpot.SlotInfo

Packages that use SlotInfo
Package
Description
Stormpot
 
  • Uses of SlotInfo in stormpot

    Methods in stormpot with parameters of type SlotInfo
    Modifier and Type
    Method
    Description
    boolean
    Expiration.hasExpired(SlotInfo<? extends T> info)
    Test whether the Slot and Poolable object, represented by the given SlotInfo object, is still valid, or if the pool should deallocate it and allocate a replacement.
  • Uses of SlotInfo in stormpot.internal

    Classes in stormpot.internal that implement SlotInfo
    Modifier and Type
    Class
    Description
    class 
    BSlot<T extends Poolable>
    The BSlot implements the Slot and SlotInfo interfaces for the blaze pool implementation.
    class 
    A BSlot type with extra padding to ensure each slot is on their own CPU cache line.
    Methods in stormpot.internal with parameters of type SlotInfo
    Modifier and Type
    Method
    Description
    boolean
    EveryExpiration.hasExpired(SlotInfo<? extends T> info)
     
    boolean
    OrExpiration.hasExpired(SlotInfo<? extends T> info)
    Returns true if any of the given Expiration has expired.
    boolean
    TimeExpiration.hasExpired(SlotInfo<? extends T> info)
    Returns true if the Poolable represented by the given SlotInfo is older than the maximum age permitted by this TimeExpiration.
    boolean
    TimeSpreadExpiration.hasExpired(SlotInfo<? extends T> info)
    Returns true, with uniformly increasing probability, if the Poolable represented by the given SlotInfo is older than the lower bound, eventually returning true with 100% certainty when the age of the Poolable is equal to or greater than the upper bound.