Packages that use SimpleByteCache
Package
Description
General utility classes shared across the core libraries and the router.
Uses of SimpleByteCache in net.i2p.util
Fields in net.i2p.util with type parameters of type SimpleByteCacheModifier and TypeFieldDescriptionprivate final AtomicReferenceArray<SimpleByteCache> SimpleByteCache.IntCacheMap.Table.valsThe caches stored in the table.Methods in net.i2p.util that return SimpleByteCacheModifier and TypeMethodDescription(package private) SimpleByteCacheSimpleByteCache.IntCacheMap.get(int key) The cached array for the key, creating it if needed.static SimpleByteCacheSimpleByteCache.getInstance(int size) Cache responsible for arrays of the given size, using the default size.static SimpleByteCacheSimpleByteCache.getInstance(int cacheSize, int size) Cache responsible for objects of the given size.(package private) SimpleByteCacheSimpleByteCache.IntCacheMap.putIfAbsent(int key, SimpleByteCache val) Store a cache unless the key is already present.Methods in net.i2p.util that return types with arguments of type SimpleByteCacheModifier and TypeMethodDescription(package private) List<SimpleByteCache> SimpleByteCache.IntCacheMap.values()Snapshot of the caches, for the cleanup task andSimpleByteCache.clearAll().Methods in net.i2p.util with parameters of type SimpleByteCacheModifier and TypeMethodDescription(package private) SimpleByteCacheSimpleByteCache.IntCacheMap.putIfAbsent(int key, SimpleByteCache val) Store a cache unless the key is already present.