Class CollectionOptions

java.lang.Object
org.zvec.binding.CollectionOptions
All Implemented Interfaces:
AutoCloseable

public class CollectionOptions extends Object implements AutoCloseable
High-level wrapper for zvec_collection_options_t.
  • Constructor Details

    • CollectionOptions

      public CollectionOptions()
  • Method Details

    • setEnableMmap

      public void setEnableMmap(boolean enable)
    • getEnableMmap

      public boolean getEnableMmap()
    • setMaxBufferSize

      public void setMaxBufferSize(long size)
    • getMaxBufferSize

      public long getMaxBufferSize()
    • setReadOnly

      public void setReadOnly(boolean readOnly)
    • getReadOnly

      public boolean getReadOnly()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • destroy

      public void destroy()