Skip to content

Commit 6acb016

Browse files
committed
Document getDatabaseTransactionInfo of StatisticsManager
1 parent 211a6f2 commit 6acb016

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

Diff for: src/docs/asciidoc/chapters/services/services.adoc

+18-4
Original file line numberDiff line numberDiff line change
@@ -920,10 +920,10 @@ It is the responsibility of the application to correctly parse the text output i
920920
|===
921921
|Method |Description
922922

923-
|getDatabaseStatistics()
923+
|getDatabase{zwsp}Statistics()
924924
|Get complete statistics about the database.
925925

926-
|getDatabaseStatistics(int)
926+
|getDatabase{zwsp}Statistics(int)
927927
a|Get the statistical information for the specified options.
928928

929929
Possible values are (bit mask, can be combined):
@@ -933,11 +933,25 @@ Possible values are (bit mask, can be combined):
933933
* `INDEX_STATISTICS`
934934
* `RECORD_VERSION_STATISTICS`
935935

936-
|getHeaderPage()
936+
|getHeader{zwsp}Page()
937937
|Get information from the header page (e.g. page size, OIT, OAT and Next transaction values, etc.)
938938

939-
|getTableStatistics(String[])
939+
|getTable{zwsp}Statistics(String[])
940940
|Get statistic information for the specified tables.
941941

942942
This method allows to limit the reported statistical information to a single or couple of the tables, not for the whole database.
943+
944+
|getDatabase{zwsp}Transaction{zwsp}Info()
945+
a|Get transaction information of a database
946+
947+
The returned `DatabaseTransactionInfo` object has the following properties:
948+
949+
* `oldestTransaction`
950+
* `oldestActiveTransaction`
951+
* `oldestSnapshotTransaction`
952+
* `nextTransaction`
953+
* `activeTransactionCount`
954+
955+
|static getDatabase{zwsp}Transaction{zwsp}Info(Connection)
956+
|Same as previous, but using an existing connection (must unwrap to `FirebirdConnection`)
943957
|===

0 commit comments

Comments
 (0)