MarkLogic 12 EA 1 Product Documentation
admin.databaseRecurringMergeBlackoutadmin.databaseRecurringMergeBlackout(
limit as Number,
merge-priority as String,
days as String[],
start-time as (Number|String)?,
end-time as (Number|String)?,
duration as xs.duration?
) as element(db.mergeBlackout)
Summary
This function constructs a merge-blackout specification.
Parameters |
limit |
The maximum number of megabytes for a merge.
|
merge-priority |
The CPU scheduler priority for merges. Must be one of
normal or lower .
|
days |
The day(s) of the week. Must be a sequence of zero
or more of monday , tuesday ,
wednesday , thursday ,
friday , saturday ,
sunday .
|
start-time |
A time for the merge blackout to start.
|
end-time |
A time for the merge blackout to end.
|
duration |
The amount of time for the blackout to last.
|
Example
const admin = require('/MarkLogic/admin.xqy');
admin.databaseRecurringMergeBlackout(500, "lower", "monday",
xs.time("09:45:00"), xs.time("11:45:00"), [] )
//returns the mergeBlackout specification.
//Use admin.saveConfiguration to save these changes.
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.