[
https://issues.apache.org/jira/browse/JENA-1209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15375331#comment-15375331
]
Andy Seaborne commented on JENA-1209:
-------------------------------------
It waits for transactions to finish. There isn't a way to kill transactions
(c.f. killing java threads).
There is a {{startExclusveMode}} that blocks until ready.
There is a {{tryExclusveMode}} that returns true/false and does not wait.
When entering exclusive mode, the journal is flushed.
> Add "exclusive mode" for TDB
> ----------------------------
>
> Key: JENA-1209
> URL: https://issues.apache.org/jira/browse/JENA-1209
> Project: Apache Jena
> Issue Type: Bug
> Reporter: Andy Seaborne
> Assignee: Andy Seaborne
>
> In exclusive mode, the current thread is guaranteed there are no other read
> or write transactions active.
> This allows specialized code to _*very*_ carefully manipulate the internals
> of the database.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)