K - The type for the keysV - The type for the stored valuespublic class InMemoryBTreeConfiguration<K,V> extends Object
| Constructor and Description |
|---|
InMemoryBTreeConfiguration() |
public int getPageSize()
public void setPageSize(int pageSize)
pageSize - the pageSize to setpublic ElementSerializer<K> getKeySerializer()
public ElementSerializer<V> getValueSerializer()
public void setSerializers(ElementSerializer<K> keySerializer, ElementSerializer<V> valueSerializer)
keySerializer - the key serializer to setvalueSerializer - the value serializer to setpublic void setKeySerializer(ElementSerializer<K> keySerializer)
serializer - the key serializer to setpublic void setValueSerializer(ElementSerializer<V> valueSerializer)
serializer - the key serializer to setpublic long getReadTimeOut()
public void setReadTimeOut(long readTimeOut)
readTimeOut - the readTimeOut to setpublic long getJournalSize()
public void setJournalSize(long journalSize)
journalSize - the journalSize to setpublic long getCheckPointDelay()
public void setCheckPointDelay(long checkPointDelay)
checkPointDelay - the checkPointDelay to setpublic String getFilePath()
public void setFilePath(String filePath)
filePath - the filePath to setpublic String getJournalName()
public void setJournalName(String journalName)
journalName - the journal name to setpublic int getWriteBufferSize()
public void setWriteBufferSize(int writeBufferSize)
writeBufferSize - the writeBufferSize to setpublic String getName()
public void setName(String name)
name - the name to setpublic boolean isAllowDuplicates()
public void setAllowDuplicates(boolean allowDuplicates)
allowDuplicates - IllegalStateException - if the btree was already initialized or when tried to turn off duplicate suport on
an existing btree containing duplicate keyspublic BTreeTypeEnum getType()
public void setType(BTreeTypeEnum type)
type - the type of the treeCopyright © 2012–2015 Apache Mavibot Project Parent. All rights reserved.