Package biopb.tensor

Class TensorConnectionPool.SharedCache

java.lang.Object
biopb.tensor.TensorConnectionPool.SharedCache
Enclosing class:
TensorConnectionPool

public static final class TensorConnectionPool.SharedCache extends Object
Shared cache for cross-thread cache hits. Uses soft references to allow GC under memory pressure.
  • Method Details

    • get

      public Object get(String key)
    • put

      public void put(String key, Object value, long bytes)
    • clear

      public void clear()
    • getTotalBytes

      public long getTotalBytes()