Uses of Interface
org.newsclub.net.unix.pool.ObjectPool.Lease
Packages that use ObjectPool.Lease
Package
Description
The junixsocket base implementation, including support for AF_UNIX sockets.
-
Uses of ObjectPool.Lease in org.newsclub.net.unix
Methods in org.newsclub.net.unix with parameters of type ObjectPool.LeaseModifier and TypeMethodDescription@NonNull TAFSocketAddress.AFSocketAddressConstructor.newAFSocketAddress(int port, byte[] socketAddress, ObjectPool.Lease<ByteBuffer> nativeAddress) Constructs a new AFSocketAddress instance.protected static <A extends AFSocketAddress>
AAFSocketAddress.newDeserializedAFSocketAddress(int port, byte[] socketAddress, ObjectPool.Lease<ByteBuffer> nativeAddress, AFAddressFamily<A> af, AFSocketAddress.AFSocketAddressConstructor<A> constructor) Returns a newAFSocketAddressinstance via deserialization.Constructors in org.newsclub.net.unix with parameters of type ObjectPool.LeaseModifierConstructorDescriptionprotectedAFSocketAddress(int port, byte[] socketAddress, ObjectPool.Lease<ByteBuffer> nativeAddress, AFAddressFamily<?> af) Creates a new socket address. -
Uses of ObjectPool.Lease in org.newsclub.net.unix.pool
Methods in org.newsclub.net.unix.pool that return ObjectPool.LeaseModifier and TypeMethodDescriptionConcurrentQueueObjectPool.take()ObjectPool.take()Takes an exclusive lease of an object from the pool.static <O> ObjectPool.Lease<O> ObjectPool.unpooledLease(O obj) Returns aObjectPool.Leasethat is not backed by any object pool.