org.apache.activemq.leveldb
Class LevelDBStoreFactory

java.lang.Object
  extended by org.apache.activemq.leveldb.LevelDBStoreFactory
All Implemented Interfaces:
PersistenceAdapterFactory

public class LevelDBStoreFactory
extends Object
implements PersistenceAdapterFactory

A factory which can create configured LevelDBStore objects.


Constructor Summary
LevelDBStoreFactory()
           
 
Method Summary
 PersistenceAdapter createPersistenceAdapter()
          Creates a persistence Adapter that can use a given directory to store it's data.
 int getAsyncBufferSize()
           
 File getDirectory()
           
 int getFlushDelay()
           
 int getIndexBlockRestartInterval()
           
 int getIndexBlockSize()
           
 long getIndexCacheSize()
           
 String getIndexCompression()
           
 String getIndexFactory()
           
 int getIndexMaxOpenFiles()
           
 int getIndexWriteBufferSize()
           
 String getLogCompression()
           
 File getLogDirectory()
           
 long getLogSize()
           
 boolean isMonitorStats()
           
 boolean isParanoidChecks()
           
 boolean isSync()
           
 boolean isVerifyChecksums()
           
 void setAsyncBufferSize(int asyncBufferSize)
           
 void setDirectory(File directory)
           
 void setFlushDelay(int flushDelay)
           
 void setIndexBlockRestartInterval(int indexBlockRestartInterval)
           
 void setIndexBlockSize(int indexBlockSize)
           
 void setIndexCacheSize(long indexCacheSize)
           
 void setIndexCompression(String indexCompression)
           
 void setIndexFactory(String indexFactory)
           
 void setIndexMaxOpenFiles(int indexMaxOpenFiles)
           
 void setIndexWriteBufferSize(int indexWriteBufferSize)
           
 void setLogCompression(String logCompression)
           
 void setLogDirectory(File logDirectory)
           
 void setLogSize(long logSize)
           
 void setMonitorStats(boolean monitorStats)
           
 void setParanoidChecks(boolean paranoidChecks)
           
 void setSync(boolean sync)
           
 void setVerifyChecksums(boolean verifyChecksums)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LevelDBStoreFactory

public LevelDBStoreFactory()
Method Detail

createPersistenceAdapter

public PersistenceAdapter createPersistenceAdapter()
                                            throws IOException
Description copied from interface: PersistenceAdapterFactory
Creates a persistence Adapter that can use a given directory to store it's data.

Specified by:
createPersistenceAdapter in interface PersistenceAdapterFactory
Throws:
IOException

getAsyncBufferSize

public int getAsyncBufferSize()

setAsyncBufferSize

public void setAsyncBufferSize(int asyncBufferSize)

getDirectory

public File getDirectory()

setDirectory

public void setDirectory(File directory)

getFlushDelay

public int getFlushDelay()

setFlushDelay

public void setFlushDelay(int flushDelay)

getIndexBlockRestartInterval

public int getIndexBlockRestartInterval()

setIndexBlockRestartInterval

public void setIndexBlockRestartInterval(int indexBlockRestartInterval)

getIndexBlockSize

public int getIndexBlockSize()

setIndexBlockSize

public void setIndexBlockSize(int indexBlockSize)

getIndexCacheSize

public long getIndexCacheSize()

setIndexCacheSize

public void setIndexCacheSize(long indexCacheSize)

getIndexCompression

public String getIndexCompression()

setIndexCompression

public void setIndexCompression(String indexCompression)

getIndexFactory

public String getIndexFactory()

setIndexFactory

public void setIndexFactory(String indexFactory)

getIndexMaxOpenFiles

public int getIndexMaxOpenFiles()

setIndexMaxOpenFiles

public void setIndexMaxOpenFiles(int indexMaxOpenFiles)

getIndexWriteBufferSize

public int getIndexWriteBufferSize()

setIndexWriteBufferSize

public void setIndexWriteBufferSize(int indexWriteBufferSize)

getLogCompression

public String getLogCompression()

setLogCompression

public void setLogCompression(String logCompression)

getLogDirectory

public File getLogDirectory()

setLogDirectory

public void setLogDirectory(File logDirectory)

getLogSize

public long getLogSize()

setLogSize

public void setLogSize(long logSize)

isMonitorStats

public boolean isMonitorStats()

setMonitorStats

public void setMonitorStats(boolean monitorStats)

isParanoidChecks

public boolean isParanoidChecks()

setParanoidChecks

public void setParanoidChecks(boolean paranoidChecks)

isSync

public boolean isSync()

setSync

public void setSync(boolean sync)

isVerifyChecksums

public boolean isVerifyChecksums()

setVerifyChecksums

public void setVerifyChecksums(boolean verifyChecksums)


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.