|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
org.exist.storage.DBBroker
org.exist.storage.NativeBroker
Main class for the native XML storage backend.
By "native" it is meant file-based, embedded backend.
Provides access to all low-level operations required by
the database. Extends DBBroker.
Observer Design Pattern: role : this class is the subject (alias observable)
for various classes that generate indices for the database content :
| Nested Class Summary | |
static class |
NativeBroker.NodeRef
|
| Field Summary | |
static int |
BUFFERS
default buffer size setting |
static java.lang.String |
COLLECTIONS_DBX
|
static byte |
COLLECTIONS_DBX_ID
|
protected CollectionStore |
collectionsDb
the database files |
protected java.lang.String |
dataDir
|
protected BFile |
dbWords
|
java.lang.String |
DEFAULT_DATA_DIR
|
int |
DEFAULT_INDEX_DEPTH
|
int |
DEFAULT_MIN_MEMORY
|
static int |
DEFAULT_NODES_BEFORE_MEMORY_CHECK
check available memory after storing DEFAULT_NODES_BEFORE_MEMORY_CHECK nodes |
int |
DEFAULT_PAGE_SIZE
|
double |
DEFAULT_VALUE_CACHE_GROWTH
|
double |
DEFAULT_VALUE_KEY_THRESHOLD
|
double |
DEFAULT_VALUE_VALUE_THRESHOLD
|
double |
DEFAULT_WORD_CACHE_GROWTH
|
double |
DEFAULT_WORD_KEY_THRESHOLD
|
double |
DEFAULT_WORD_VALUE_THRESHOLD
|
protected int |
defaultIndexDepth
|
static java.lang.String |
DOM_DBX
|
static byte |
DOM_DBX_ID
|
protected DOMFile |
domDb
|
protected NativeElementIndex |
elementIndex
|
static java.lang.String |
ELEMENTS_DBX
|
static byte |
ELEMENTS_DBX_ID
|
protected BFile |
elementsDb
|
protected IndexSpec |
idxConf
|
protected int |
memMinFree
|
protected int |
nodesCount
used to count the nodes inserted after the last memory check |
protected int |
pageSize
|
protected NativeValueIndexByQName |
qnameValueIndex
|
protected boolean |
readOnly
|
static long |
TEMP_FRAGMENT_TIMEOUT
|
protected NativeTextEngine |
textEngine
the index processors |
protected NativeValueIndex |
valueIndex
|
static java.lang.String |
VALUES_DBX
|
static byte |
VALUES_DBX_ID
|
static java.lang.String |
VALUES_QNAME_DBX
|
static byte |
VALUES_QNAME_DBX_ID
|
protected BFile |
valuesDb
|
protected BFile |
valuesDbQname
|
static java.lang.String |
WORDS_DBX
|
static byte |
WORDS_DBX_ID
|
protected Serializer |
xmlSerializer
|
| Fields inherited from class org.exist.storage.DBBroker |
caseSensitive, config, docFragmentationLimit, id, MATCH_EXACT, MATCH_REGEXP, MATCH_WILDCARDS, NATIVE, NATIVE_CLUSTER, pool, ROOT_COLLECTION, ROOT_COLLECTION_NAME, symbols, symbolsFile, SYSTEM_COLLECTION, TEMP_COLLECTION, user, xqueryService, xupdateConsistencyChecks, xupdateGrowthFactor |
| Constructor Summary | |
NativeBroker(BrokerPool pool,
Configuration config)
initialize database; read configuration, etc. |
|
| Method Summary | |
void |
addContentLoadingObserver(ContentLoadingObserver observer)
Observer Design Pattern: add an observer. |
void |
addObserver(java.util.Observer o)
|
void |
checkXMLResourceConsistency(DocumentImpl doc)
consistency Check of the database; useful after XUpdates; called if xupdate.consistency-checks is true in configuration |
void |
checkXMLResourceTree(DocumentImpl doc)
consistency Check of the database; useful after XUpdates; called by #checkResourceConsistency() |
void |
cleanUpTempCollection()
remove temporary collection |
void |
cleanUpTempResources()
remove all documents from temporary collection |
void |
cleanUpTempResources(java.util.List docs)
remove from the temporary collection of the database a given list of Documents. |
void |
clearContentLoadingObservers()
Remove all observers |
void |
closeDocument()
|
void |
copyCollection(Txn transaction,
Collection collection,
Collection destination,
java.lang.String newName)
Copy a collection to the destination collection and rename it. |
void |
copyXMLResource(Txn transaction,
DocumentImpl doc,
Collection destination,
java.lang.String newName)
Copy a resource to the destination collection and rename it. |
void |
defragXMLResource(Txn transaction,
DocumentImpl doc)
Defragment pages of this document. |
void |
deleteObservers()
|
void |
dropCollectionIndex(Collection collection)
|
void |
endElement(StoredNode node,
NodePath currentPath,
java.lang.String content,
long oldAddress)
Update indexes for the given element node. |
void |
endRemove()
Takes care of actually remove entries from the indices; must be called after one or more call to #removeNode(). |
void |
flush()
Flush all data that has not been written before. |
protected void |
freeCollectionId(Txn transaction,
short id)
Release the collection id assigned to a collection so it can be reused later. |
protected void |
freeResourceId(Txn transaction,
int id)
Release the document id reserved for a document so it can be reused. |
DocumentSet |
getAllXMLResources(DocumentSet docs)
Adds all the documents in the database to the specified DocumentSet. |
int |
getBackendType()
|
byte[] |
getBinaryResource(BinaryDocument blob)
Retrieve the binary data stored under the resource descriptor BinaryDocument. |
Collection |
getCollection(java.lang.String name)
Returns the database collection identified by the specified path. |
Collection |
getCollection(java.lang.String name,
long addr)
Returns the database collection identified by the specified path. |
void |
getCollectionResources(Collection collection)
|
DOMFile |
getDOMFile()
|
java.util.Iterator |
getDOMIterator(NodeProxy proxy)
Return a DOMFileIterator starting
at the specified node. |
ElementIndex |
getElementIndex()
|
short |
getFreeCollectionId(Txn transaction)
Get the next free collection id. |
int |
getFreeResourceId(Txn transaction)
Get the next unused document id. |
IndexSpec |
getIndexConfiguration()
|
short |
getNextCollectionId(Txn transaction)
Get the next available unique collection id. |
int |
getNextResourceId(Txn transaction,
Collection collection)
get next Free Doc Id |
java.util.Iterator |
getNodeIterator(NodeProxy proxy)
Return a NodeIterator starting
at the specified node. |
org.w3c.dom.NodeList |
getNodeRange(org.w3c.dom.Document doc,
long first,
long last)
Get a range of nodes with given owner document from the database, starting at first and ending at last. |
NodeSet |
getNodesEqualTo(NodeSet context,
DocumentSet docs,
int relation,
int truncation,
java.lang.String expr,
java.text.Collator collator)
Find all Nodes whose string value is equal to expr in the document set. |
java.lang.String |
getNodeValue(NodeProxy proxy,
boolean addWhitespace)
Get the string value of the specified node. |
Collection |
getOrCreateCollection(Txn transaction,
java.lang.String name)
Returns the database collection identified by the specified path. |
int |
getPageSize()
|
NativeValueIndexByQName |
getQNameValueIndex()
|
void |
getResourceMetadata(DocumentImpl doc)
|
Serializer |
getSerializer()
Get an instance of the Serializer used for converting nodes back to XML. |
BTree |
getStorage(byte id)
|
byte[] |
getStorageFileIds()
|
TextSearchEngine |
getTextEngine()
Get the TextSearchEngine associated with this broker. |
NativeValueIndex |
getValueIndex()
|
org.w3c.dom.Document |
getXMLResource(java.lang.String fileName)
get a document by its file name. |
DocumentImpl |
getXMLResource(java.lang.String fileName,
int lockMode)
|
DocumentSet |
getXMLResourcesByDoctype(java.lang.String doctypeName,
DocumentSet result)
get all the documents in this database matching the given document-type's name. |
void |
indexNode(Txn transaction,
StoredNode node,
NodePath currentPath)
Index a single node, which has been added through an XUpdate operation. |
void |
indexNode(Txn transaction,
StoredNode node,
NodePath currentPath,
boolean repairMode)
|
void |
insertNodeAfter(Txn transaction,
StoredNode previous,
StoredNode node)
Physically insert a node into the DOM storage. |
boolean |
isReadOnly()
Is the database running read-only? Returns false by default. |
void |
moveCollection(Txn transaction,
Collection collection,
Collection destination,
java.lang.String newName)
Move a collection and all its subcollections to another collection and rename it. |
void |
moveXMLResource(Txn transaction,
DocumentImpl doc,
Collection destination,
java.lang.String newName)
move Resource to another collection, with possible rename |
Serializer |
newSerializer()
|
org.w3c.dom.Node |
objectWith(org.w3c.dom.Document doc,
long gid)
Get a node with given owner document and id from the database. |
org.w3c.dom.Node |
objectWith(NodeProxy p)
|
Collection |
openCollection(java.lang.String name,
int lockMode)
Open a collection for reading or writing. |
Collection |
openCollection(java.lang.String name,
long addr,
int lockMode)
Get collection object. |
void |
reindexCollection(Collection collection,
boolean repairMode)
|
void |
reindexCollection(java.lang.String collectionName)
Reindex a collection. |
void |
reindexCollection(Txn transaction,
Collection collection,
boolean repairMode)
|
void |
reindexXMLResource(Txn transaction,
DocumentImpl oldDoc,
DocumentImpl doc,
StoredNode node)
Reindex the nodes in the document. |
void |
removeAllNodes(Txn transaction,
StoredNode node,
NodePath currentPath)
|
void |
removeBinaryResource(Txn transaction,
BinaryDocument blob)
Completely delete this binary document (descriptor and binary data). |
boolean |
removeCollection(Txn transaction,
Collection collection)
Remove the collection and all its subcollections from the database. |
void |
removeContentLoadingObserver(ContentLoadingObserver observer)
Observer Design Pattern: remove an observer. |
void |
removeNode(Txn transaction,
StoredNode node,
NodePath currentPath,
java.lang.String content)
Removes the Node Reference from the database. |
void |
removeXMLResource(Txn transaction,
DocumentImpl document,
boolean freeDocId)
|
void |
repair()
|
void |
saveCollection(Txn transaction,
Collection collection)
Saves the specified collection to storage. |
protected NodeSet |
scanNodesSequential(NodeSet context,
DocumentSet doc,
int relation,
int truncation,
java.lang.String expr,
java.text.Collator collator)
Do a sequential search through the DOM-file. |
void |
shutdown()
Shut down the database instance. |
void |
storeBinaryResource(Txn transaction,
BinaryDocument blob,
byte[] data)
Stores the given data under the given binary resource descriptor (BinaryDocument). |
void |
storeNode(Txn transaction,
StoredNode node,
NodePath currentPath,
boolean index)
Store a node into the database. |
DocumentImpl |
storeTempResource(DocumentImpl doc)
store into the temporary collection of the database a given in-memory Document |
void |
storeXMLResource(Txn transaction,
DocumentImpl doc)
store Document entry into its collection. |
void |
sync(int syncEvent)
Sync dom and collection state data (pages) to disk. |
void |
updateNode(Txn transaction,
StoredNode node)
Update a node's data. |
| Methods inherited from class org.exist.storage.DBBroker |
backupSymbolsTo, consistencyChecksEnabled, decReferenceCount, endElement, getBrokerPool, getConfiguration, getDOMIterator, getFragmentationLimit, getId, getReferenceCount, getSymbols, getUser, getXQueryService, getXUpdateGrowthFactor, incReferenceCount, indexNode, isCaseSensitive, loadSymbols, removeXMLResource, saveSymbols, setId, setUser, storeNode, toString |
| Methods inherited from class java.util.Observable |
clearChanged, countObservers, deleteObserver, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final byte COLLECTIONS_DBX_ID
public static final byte ELEMENTS_DBX_ID
public static final byte VALUES_DBX_ID
public static final byte WORDS_DBX_ID
public static final byte DOM_DBX_ID
public static final byte VALUES_QNAME_DBX_ID
public static final java.lang.String ELEMENTS_DBX
public static final java.lang.String VALUES_DBX
public static final java.lang.String VALUES_QNAME_DBX
public static final java.lang.String DOM_DBX
public static final java.lang.String COLLECTIONS_DBX
public static final java.lang.String WORDS_DBX
public final java.lang.String DEFAULT_DATA_DIR
public final int DEFAULT_PAGE_SIZE
public final int DEFAULT_INDEX_DEPTH
public final int DEFAULT_MIN_MEMORY
public static final long TEMP_FRAGMENT_TIMEOUT
public static final int BUFFERS
public static final int DEFAULT_NODES_BEFORE_MEMORY_CHECK
public final double DEFAULT_VALUE_CACHE_GROWTH
public final double DEFAULT_VALUE_KEY_THRESHOLD
public final double DEFAULT_VALUE_VALUE_THRESHOLD
public final double DEFAULT_WORD_CACHE_GROWTH
public final double DEFAULT_WORD_KEY_THRESHOLD
public final double DEFAULT_WORD_VALUE_THRESHOLD
protected CollectionStore collectionsDb
protected DOMFile domDb
protected BFile elementsDb
protected BFile valuesDb
protected BFile dbWords
protected BFile valuesDbQname
protected NativeTextEngine textEngine
protected NativeElementIndex elementIndex
protected NativeValueIndex valueIndex
protected NativeValueIndexByQName qnameValueIndex
protected IndexSpec idxConf
protected int defaultIndexDepth
protected Serializer xmlSerializer
protected boolean readOnly
protected int memMinFree
protected int nodesCount
protected java.lang.String dataDir
protected int pageSize
| Constructor Detail |
public NativeBroker(BrokerPool pool,
Configuration config)
throws EXistException
| Method Detail |
public void addObserver(java.util.Observer o)
public void deleteObservers()
public void clearContentLoadingObservers()
public void addContentLoadingObserver(ContentLoadingObserver observer)
public void removeContentLoadingObserver(ContentLoadingObserver observer)
public void endElement(StoredNode node,
NodePath currentPath,
java.lang.String content,
long oldAddress)
endElement in class DBBrokernode - the current element nodecurrentPath - node path leading to the elementcontent - contains the string value of the element. Needed if a range index
is defined on it.oldAddress - when copying a node, contains the storage address of the old node.public void endRemove()
#removeNode().
endRemove in class DBBrokerpublic int getBackendType()
getBackendType in class DBBrokerpublic boolean isReadOnly()
DBBroker
isReadOnly in class DBBrokerpublic int getPageSize()
getPageSize in class DBBrokerpublic DOMFile getDOMFile()
public BTree getStorage(byte id)
public byte[] getStorageFileIds()
public IndexSpec getIndexConfiguration()
getIndexConfiguration in class DBBrokerpublic Serializer getSerializer()
DBBroker
getSerializer in class DBBrokerpublic Serializer newSerializer()
newSerializer in class DBBrokerpublic ElementIndex getElementIndex()
getElementIndex in class DBBrokerpublic NativeValueIndex getValueIndex()
getValueIndex in class DBBrokerpublic NativeValueIndexByQName getQNameValueIndex()
getQNameValueIndex in class DBBrokerpublic TextSearchEngine getTextEngine()
DBBroker
getTextEngine in class DBBrokerpublic java.util.Iterator getDOMIterator(NodeProxy proxy)
DBBrokerDOMFileIterator starting
at the specified node.
getDOMIterator in class DBBrokerpublic java.util.Iterator getNodeIterator(NodeProxy proxy)
DBBrokerNodeIterator starting
at the specified node.
getNodeIterator in class DBBrokerproxy -
public void cleanUpTempCollection()
cleanUpTempCollection in class DBBroker
public Collection getOrCreateCollection(Txn transaction,
java.lang.String name)
throws PermissionDeniedException
DBBroker
getOrCreateCollection in class DBBrokerPermissionDeniedExceptionpublic Collection getCollection(java.lang.String name)
DBBroker
getCollection in class DBBroker
public Collection getCollection(java.lang.String name,
long addr)
DBBroker
getCollection in class DBBroker
public Collection openCollection(java.lang.String name,
int lockMode)
DBBroker
openCollection in class DBBrokername - the collection pathlockMode - one of the modes specified in class Lock
public Collection openCollection(java.lang.String name,
long addr,
int lockMode)
name - collection name
public void copyCollection(Txn transaction,
Collection collection,
Collection destination,
java.lang.String newName)
throws PermissionDeniedException,
LockException
DBBroker
copyCollection in class DBBrokerdestination - the destination collection
PermissionDeniedException
LockException
public void moveCollection(Txn transaction,
Collection collection,
Collection destination,
java.lang.String newName)
throws PermissionDeniedException,
LockException
DBBroker
moveCollection in class DBBrokercollection - the collection to movedestination - the destination collectionnewName - the new name the collection should have in the destination collection
PermissionDeniedException
LockException
public boolean removeCollection(Txn transaction,
Collection collection)
throws PermissionDeniedException
DBBroker
removeCollection in class DBBrokerPermissionDeniedException
public void saveCollection(Txn transaction,
Collection collection)
throws PermissionDeniedException
#addDocument(Collection, DocumentImpl) is called.
saveCollection in class DBBrokercollection - to store
PermissionDeniedException
protected void freeCollectionId(Txn transaction,
short id)
throws PermissionDeniedException
id -
PermissionDeniedException
public short getFreeCollectionId(Txn transaction)
throws ReadOnlyException
ReadOnlyException
public short getNextCollectionId(Txn transaction)
throws ReadOnlyException
ReadOnlyException
public void reindexCollection(java.lang.String collectionName)
throws PermissionDeniedException
DBBroker
reindexCollection in class DBBrokercollectionName -
PermissionDeniedException
public void reindexCollection(Collection collection,
boolean repairMode)
throws PermissionDeniedException
PermissionDeniedException
public void reindexCollection(Txn transaction,
Collection collection,
boolean repairMode)
throws PermissionDeniedException
PermissionDeniedException
public void dropCollectionIndex(Collection collection)
throws PermissionDeniedException
PermissionDeniedException
public DocumentImpl storeTempResource(DocumentImpl doc)
throws EXistException,
PermissionDeniedException,
LockException
storeTempResource in class DBBrokerPermissionDeniedException
EXistException
LockExceptionpublic void cleanUpTempResources()
cleanUpTempResources in class DBBrokerpublic void cleanUpTempResources(java.util.List docs)
cleanUpTempResources in class DBBrokerdocs -
public void storeXMLResource(Txn transaction,
DocumentImpl doc)
storeXMLResource in class DBBrokerdoc - the document's metadata to store.
public void storeBinaryResource(Txn transaction,
BinaryDocument blob,
byte[] data)
DBBroker
storeBinaryResource in class DBBrokerblob - the binary document descriptordata - the document binary data
public org.w3c.dom.Document getXMLResource(java.lang.String fileName)
throws PermissionDeniedException
getXMLResource in class DBBrokerfileName - absolute file name in the database;
name can be given with or without the leading path /db/shakespeare.
PermissionDeniedException
public DocumentImpl getXMLResource(java.lang.String fileName,
int lockMode)
throws PermissionDeniedException
getXMLResource in class DBBrokerPermissionDeniedExceptionpublic byte[] getBinaryResource(BinaryDocument blob)
DBBroker
getBinaryResource in class DBBrokerblob - the binary document descriptor
public void getCollectionResources(Collection collection)
getCollectionResources in class DBBroker
public DocumentSet getXMLResourcesByDoctype(java.lang.String doctypeName,
DocumentSet result)
getXMLResourcesByDoctype in class DBBrokerdoctypeName - Description of the Parameter
public DocumentSet getAllXMLResources(DocumentSet docs)
getAllXMLResources in class DBBrokerdocs - a (possibly empty) document set to which the found
documents are added.public void getResourceMetadata(DocumentImpl doc)
getResourceMetadata in class DBBroker
public void copyXMLResource(Txn transaction,
DocumentImpl doc,
Collection destination,
java.lang.String newName)
throws PermissionDeniedException,
LockException
DBBroker
copyXMLResource in class DBBrokerdoc - the resource to copydestination - the destination collectionnewName - the new name the resource should have in the destination collection
LockException
PermissionDeniedException
public void moveXMLResource(Txn transaction,
DocumentImpl doc,
Collection destination,
java.lang.String newName)
throws PermissionDeniedException,
LockException
moveXMLResource in class DBBrokerdoc - the resource to movedestination - the destination collection
PermissionDeniedException
LockException
public void removeXMLResource(Txn transaction,
DocumentImpl document,
boolean freeDocId)
throws PermissionDeniedException
removeXMLResource in class DBBrokerPermissionDeniedException
public void removeBinaryResource(Txn transaction,
BinaryDocument blob)
throws PermissionDeniedException
DBBroker
removeBinaryResource in class DBBrokerblob - the binary document descriptor
PermissionDeniedException - if you don't have the right to do this
protected void freeResourceId(Txn transaction,
int id)
throws PermissionDeniedException
id -
PermissionDeniedException
public int getFreeResourceId(Txn transaction)
throws ReadOnlyException
ReadOnlyException
public int getNextResourceId(Txn transaction,
Collection collection)
getNextResourceId in class DBBroker
public void reindexXMLResource(Txn transaction,
DocumentImpl oldDoc,
DocumentImpl doc,
StoredNode node)
reindexXMLResource in class DBBroker
public void defragXMLResource(Txn transaction,
DocumentImpl doc)
DBBroker
defragXMLResource in class DBBrokerdoc - to defrag
public void checkXMLResourceConsistency(DocumentImpl doc)
throws EXistException
checkXMLResourceConsistency in class DBBrokerEXistExceptionpublic void checkXMLResourceTree(DocumentImpl doc)
#checkResourceConsistency()
checkXMLResourceTree in class DBBrokerdoc -
public void storeNode(Txn transaction,
StoredNode node,
NodePath currentPath,
boolean index)
storeNode in class DBBrokernode - the node to be storedcurrentPath - path expression which points to this node's
element-parent or to itself if it is an element (currently used by
the Broker to determine if a node's content should be
fulltext-indexed). @param index switch to activate fulltext indexation
public void updateNode(Txn transaction,
StoredNode node)
DBBroker
updateNode in class DBBrokernode - Description of the Parameter
public void insertNodeAfter(Txn transaction,
StoredNode previous,
StoredNode node)
insertNodeAfter in class DBBroker
public void removeNode(Txn transaction,
StoredNode node,
NodePath currentPath,
java.lang.String content)
endRemove().
removeNode() just adds the node ids to the list in elementIndex
for later removal.
removeNode in class DBBroker
public void removeAllNodes(Txn transaction,
StoredNode node,
NodePath currentPath)
removeAllNodes in class DBBroker
public void indexNode(Txn transaction,
StoredNode node,
NodePath currentPath)
indexNode in class DBBroker
public void indexNode(Txn transaction,
StoredNode node,
NodePath currentPath,
boolean repairMode)
protected NodeSet scanNodesSequential(NodeSet context,
DocumentSet doc,
int relation,
int truncation,
java.lang.String expr,
java.text.Collator collator)
context - Description of the Parameterdoc - Description of the Parameterrelation - Description of the Parametertruncation - Description of the Parameterexpr - Description of the Parameter
public java.lang.String getNodeValue(NodeProxy proxy,
boolean addWhitespace)
DBBroker
getNodeValue in class DBBroker
public NodeSet getNodesEqualTo(NodeSet context,
DocumentSet docs,
int relation,
int truncation,
java.lang.String expr,
java.text.Collator collator)
DBBroker
getNodesEqualTo in class DBBrokercontext - the set of nodes to processdocs - the current set of documentsrelation - less-than, equal etc. One of the constants specified in
Constantsexpr - the string value to search for
public org.w3c.dom.NodeList getNodeRange(org.w3c.dom.Document doc,
long first,
long last)
DBBroker
getNodeRange in class DBBrokerdoc - the document the nodes belong tofirst - unique id of the first node to retrievelast - unique id of the last node to retrieve
public org.w3c.dom.Node objectWith(org.w3c.dom.Document doc,
long gid)
DBBroker
objectWith in class DBBrokerdoc - the document the node belongs togid - the node's unique identifierpublic org.w3c.dom.Node objectWith(NodeProxy p)
objectWith in class DBBroker
public void repair()
throws PermissionDeniedException
repair in class DBBrokerPermissionDeniedExceptionpublic void flush()
DBBroker
flush in class DBBrokerpublic void sync(int syncEvent)
DBBrokerorg.exist.storage.sync.Sync.MAJOR_SYNC, sync all
states (dom, collection, text and element) to disk.
sync in class DBBrokersyncEvent - Sync.MAJOR_SYNC or Sync.MINOR_SYNCpublic void shutdown()
DBBroker
shutdown in class DBBrokerpublic void closeDocument()
closeDocument in class DBBroker
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||