Package com.rpl.rama

Interface SubindexOptions

All Known Subinterfaces:
SubindexOptions.Impl
All Known Implementing Classes:
SubindexOptions.CapturedSubindexOptions

public interface SubindexOptions
Interface for declaring options on a subindexed PState schema
See Also:
  • Method Details

    • create

      static SubindexOptions.Impl create()
      Creates an empty SubindexOptions. SubindexOptions.withoutSizeTracking() is the same as SubindexOptions.create().withoutSizeTracking()
    • withoutSizeTracking

      static SubindexOptions.Impl withoutSizeTracking()
      Disable automatic size tracking on this subindexed data structure. Automatic size tracking, enabled by default, makes querying the size of a subindexed structure (e.g. with Ops.SIZE O(1). The tradeoff is increased cost per write to the subindexed structure. Turning size tracking off makes writes faster but makes computing the size an expensive O(N) operation.