Uses of Interface
stormpot.SlotInfo
Packages that use SlotInfo
-
Uses of SlotInfo in stormpot
Modifier and TypeMethodDescriptionbooleanExpiration.hasExpired(SlotInfo<? extends T> info) Test whether the Slot and Poolable object, represented by the givenSlotInfoobject, 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 SlotInfoModifier and TypeClassDescriptionclassclassBSlotPadded<T extends Poolable>ABSlottype with extra padding to ensure each slot is on their own CPU cache line.Methods in stormpot.internal with parameters of type SlotInfoModifier and TypeMethodDescriptionbooleanEveryExpiration.hasExpired(SlotInfo<? extends T> info) booleanOrExpiration.hasExpired(SlotInfo<? extends T> info) Returnstrueif any of the givenExpirationhas expired.booleanTimeExpiration.hasExpired(SlotInfo<? extends T> info) booleanTimeSpreadExpiration.hasExpired(SlotInfo<? extends T> info)