java.lang.Object
dev.engine_room.flywheel.backend.engine.AbstractArena
dev.engine_room.flywheel.backend.engine.indirect.ObjectStorage

public class ObjectStorage extends AbstractArena
  • Field Details

  • Constructor Details

    • ObjectStorage

      public ObjectStorage(long objectSizeBytes)
  • Method Details

    • createMapping

      public ObjectStorage.Mapping createMapping()
    • byteCapacity

      public long byteCapacity()
      Specified by:
      byteCapacity in class AbstractArena
    • free

      public void free(int i)
      Overrides:
      free in class AbstractArena
    • grow

      protected void grow()
      Specified by:
      grow in class AbstractArena
    • uploadDescriptors

      public void uploadDescriptors(StagingBuffer stagingBuffer)
    • delete

      public void delete()
    • objectIndex2PageIndex

      public static int objectIndex2PageIndex(int objectIndex)
    • pageIndex2ObjectIndex

      public static int pageIndex2ObjectIndex(int pageIndex)