public class HawtDBFile
extends org.fusesource.hawtdb.api.TxPageFileFactory
implements org.apache.camel.Service
Constructor and Description |
---|
HawtDBFile() |
Modifier and Type | Method and Description |
---|---|
<T> T |
execute(org.apache.camel.component.hawtdb.Work<T> work) |
<T> T |
execute(org.apache.camel.component.hawtdb.Work<T> work,
boolean rollbackOnOptimisticUpdateException) |
org.fusesource.hawtdb.api.SortedIndex<org.fusesource.hawtbuf.Buffer,org.fusesource.hawtbuf.Buffer> |
getRepositoryIndex(org.fusesource.hawtdb.api.Transaction tx,
String name,
boolean create) |
void |
start() |
void |
stop() |
close, getFile, getMappingSegementSize, getMaxPages, getPageCache, getPageSize, getTxPageFile, isDrainOnClose, isSync, isUseWorkerThread, open, setDrainOnClose, setFile, setMappingSegementSize, setMaxFileSize, setMaxPages, setPageCache, setPageSize, setSync, setUseWorkerThread
public void start()
start
in interface org.apache.camel.Service
public void stop()
stop
in interface org.apache.camel.Service
public <T> T execute(org.apache.camel.component.hawtdb.Work<T> work)
public <T> T execute(org.apache.camel.component.hawtdb.Work<T> work, boolean rollbackOnOptimisticUpdateException)
public org.fusesource.hawtdb.api.SortedIndex<org.fusesource.hawtbuf.Buffer,org.fusesource.hawtbuf.Buffer> getRepositoryIndex(org.fusesource.hawtdb.api.Transaction tx, String name, boolean create)
Apache Camel