Class DHTPluginStorageManager.storageKey

    • Field Detail

      • type

        private byte type
      • size

        private int size
      • entries

        private int entries
      • expiry

        private long expiry
      • read_count_start

        private long read_count_start
      • reads_per_min

        private short reads_per_min
    • Method Detail

      • serialise

        protected java.util.Map serialise()
      • serialiseStats

        public void serialiseStats​(java.io.DataOutputStream dos)
                            throws java.io.IOException
        Specified by:
        serialiseStats in interface DHTStorageKey
        Throws:
        java.io.IOException
      • getExpiry

        protected long getExpiry()
      • getReadsPerMinute

        public int getReadsPerMinute()
      • getSize

        public int getSize()
      • getEntryCount

        public int getEntryCount()
      • valueChanged

        protected void valueChanged​(int entries_diff,
                                    int size_diff)