Package org.zvec.binding
Class CollectionOptions
java.lang.Object
org.zvec.binding.CollectionOptions
- All Implemented Interfaces:
AutoCloseable
High-level wrapper for
zvec_collection_options_t.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voiddestroy()booleanlongbooleanvoidsetEnableMmap(boolean enable) voidsetMaxBufferSize(long size) voidsetReadOnly(boolean readOnly)
-
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:
closein interfaceAutoCloseable
-
destroy
public void destroy()
-