Packages that use TryCache
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 in net.i2p.router.transport.ntcp
Fields in net.i2p.router.transport.ntcp declared as TryCacheModifier and TypeFieldDescriptionprivate static final TryCache<ByteBuffer> EventPumper._bufferCachePooled byte buffers for socket reads.private static final TryCache<byte[]> EventPumper._writeBufCacheNTCP2 write-frame buffers, fixedEventPumper.WRITE_BUFSIZEclass.Uses of TryCache in net.i2p.router.transport.udp
Fields in net.i2p.router.transport.udp declared as TryCacheUses of TryCache in net.i2p.util
Subclasses of TryCache in net.i2p.utilModifier and TypeClassDescriptionfinal classCache the objects frequently used to reduce memory churn.Fields in net.i2p.util declared as TryCacheModifier and TypeFieldDescriptionprivate final TryCache<byte[]> SimpleByteCache._availableThe buffers available for reuse.