Uses of Interface
stormpot.Allocator
-
-
Uses of Allocator in stormpot
Subinterfaces of Allocator in stormpot Modifier and Type Interface Description interfaceReallocator<T extends Poolable>Methods in stormpot that return Allocator Modifier and Type Method Description Allocator<T>PoolBuilder. getAllocator()Get the configuredAllocatorinstance.Methods in stormpot with parameters of type Allocator Modifier and Type Method Description static <T extends Poolable>
PoolBuilder<T>Pool. from(Allocator<T> allocator)Get aPoolBuilderbased on the givenAllocatororReallocator, which can then in turn be used to build aPoolinstance with the desired configuration.static <T extends Poolable>
PoolBuilder<T>Pool. fromInline(Allocator<T> allocator)Get aPoolBuilderbased on the givenAllocatororReallocator, which can then in turn be used to build aPooloperating in the <em>inline</em> mode, with the desired configuration.static <T extends Poolable>
PoolBuilder<T>Pool. fromThreaded(Allocator<T> allocator)Get aPoolBuilderbased on the givenAllocatororReallocator, which can then in turn be used to build a <em>threaded</em>Poolinstance with the desired configuration.<X extends Poolable>
PoolBuilder<X>PoolBuilder. setAllocator(Allocator<X> allocator)Set theAllocatororReallocatorto use for the pools we want to configure.
-