Class DeltaCache

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      (package private) static class  DeltaCache.Ref  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int entryLimit  
      private java.lang.ref.ReferenceQueue<byte[]> queue  
      private long size  
      private long used  
    • Field Detail

      • size

        private final long size
      • entryLimit

        private final int entryLimit
      • queue

        private final java.lang.ref.ReferenceQueue<byte[]> queue
      • used

        private long used
    • Constructor Detail

    • Method Detail

      • credit

        void credit​(int reservedSize)
      • cache

        DeltaCache.Ref cache​(byte[] data,
                             int actLen,
                             int reservedSize)
      • resize

        byte[] resize​(byte[] data,
                      int actLen)
      • checkForGarbageCollectedObjects

        private void checkForGarbageCollectedObjects()