Interface ValuesHolder<T>

All Known Implementing Classes:
DeserializedValuesHolder, SerializedValuesHolder

public interface ValuesHolder<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
    Note: After this method is called, the ValuesHolder is invalid, we can't store data and get estimate size again.
    void
    storeValue(T value)
     
  • Method Details

    • estimatedSize

      long estimatedSize()
    • getBuilder

      MemoryEntryBuilder<T> getBuilder()
      Note: After this method is called, the ValuesHolder is invalid, we can't store data and get estimate size again.
      Returns:
      a MemoryEntryBuilder which is used to build a memory entry and get the stored data size.
    • storeValue

      void storeValue(T value)