Uses of Interface
stormpot.Slot
-
-
Uses of Slot in stormpot
Fields in stormpot declared as Slot Modifier and Type Field Description protected Slot
BasePoolable. slot
TheSlot
representing this objects place in the pool.Methods in stormpot with parameters of type Slot Modifier and Type Method Description T
Allocator. allocate(Slot slot)
Create a fresh new instance of T for the given slot.T
Reallocator. reallocate(Slot slot, T poolable)
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.Constructors in stormpot with parameters of type Slot Constructor Description BasePoolable(Slot slot)
Build aBasePoolable
for the given slot.Pooled(Slot slot, T object)
Create a pooled object for the given slot and object to be pooled.
-