|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.fusesource.hawtdb.api.TxPageFileFactory
org.apache.camel.component.hawtdb.HawtDBFile
public class HawtDBFile
Manages access to a shared HawtDB file.
Will by default not sync writes which allows it to be faster. You can force syncing by setting the sync option to true.
| Field Summary |
|---|
| Fields inherited from class org.fusesource.hawtdb.api.TxPageFileFactory |
|---|
drainOnClose, sync, useWorkerThread |
| Constructor Summary | |
|---|---|
HawtDBFile()
|
|
| Method Summary | ||
|---|---|---|
|
execute(org.apache.camel.component.hawtdb.Work<T> work)
|
|
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()
|
|
| Methods inherited from class org.fusesource.hawtdb.api.TxPageFileFactory |
|---|
close, getCacheSize, getFile, getMappingSegementSize, getMaxPages, getPageSize, getTxPageFile, isDrainOnClose, isSync, isUseWorkerThread, open, setCacheSize, setDrainOnClose, setFile, setMappingSegementSize, setMaxFileSize, setMaxPages, setPageSize, setSync, setUseWorkerThread |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HawtDBFile()
| Method Detail |
|---|
public void start()
start in interface Servicepublic void stop()
stop in interface Servicepublic <T> T execute(org.apache.camel.component.hawtdb.Work<T> work)
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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||