Packages that use TryCache.ObjectFactory
Package
Description
NTCP2, the TCP transport: framed, ratchet-encrypted and mutually authenticated connections between routers.
SSU2, the UDP transport: datagram sessions with Holepunch peer discovery, plus the older SSU compatibility code.
General utility classes shared across the core libraries and the router.
Uses of TryCache.ObjectFactory in net.i2p.router.transport.ntcp
Classes in net.i2p.router.transport.ntcp that implement TryCache.ObjectFactoryModifier and TypeClassDescriptionprivate static classCreates byte buffers for the read buffer cache.private static classCreates byte arrays for the write buffer cache.Uses of TryCache.ObjectFactory in net.i2p.router.transport.udp
Classes in net.i2p.router.transport.udp that implement TryCache.ObjectFactoryModifier and TypeClassDescriptionprivate static classFactory for UDP packet caching.Fields in net.i2p.router.transport.udp declared as TryCache.ObjectFactoryModifier and TypeFieldDescriptionprivate static final TryCache.ObjectFactory<UDPPacket> UDPPacket._packetFactoryFactory creating the cached packets.Uses of TryCache.ObjectFactory in net.i2p.util
Classes in net.i2p.util that implement TryCache.ObjectFactoryModifier and TypeClassDescriptionprivate static classFactory for cached byte arrays.private static classFactory for cached byte arrays.Fields in net.i2p.util declared as TryCache.ObjectFactoryModifier and TypeFieldDescriptionprivate final TryCache.ObjectFactory<T> TryCache.factoryThe factory making missing objects.Constructors in net.i2p.util with parameters of type TryCache.ObjectFactoryModifierConstructorDescriptionTryCache(TryCache.ObjectFactory<T> factory, int capacity) Stores the factory and clamps a negative capacity to zero.