Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 2.62 KB

systemProperties.adoc

File metadata and controls

21 lines (19 loc) · 2.62 KB

System Properties

Below, a number of relevant System Properties are listed.

Note
With getBoolean, returns if a System Property with the provided {@code systemPropertyKey} either exists, is set to "yes" or is set to "true", see javadoc.
Table 1. System properties
Property Key Default Description Java Variable Name (Type)

chronicle.queue.checkrollcycle

false

Setting this property to "yes", "true" or "", prints a warning message every time a roll cycle file is created

SHOULD_CHECK_CYCLE (boolean)

chronicle.queue.checkInterrupts

false

Setting this property to "yes", "true" or "", overrides any programmatic setting of checkInterrupt which will result in the tailer throwing an InterruptedException rather than rolling back any ongoing operation upon queue close

checkInterrupts (boolean)

chronicle.queue.report.linear.scan.latency

false

Setting this property to "yes", "true" or "" - when scan time between two indexes exceeds 100 ms - the scan time will be printed

REPORT_LINEAR_SCAN (boolean)

chronicle.queue.rollingResourceCache.size

128

Determines how many information elements (at most) pertaining to rolled queue files that should be held in memory at any given moment

CACHE_SIZE (int)

chronicle.queue.warnSlowAppenderMs

100

Triggers warning message if an appender takes longer than default time

WARN_SLOW_APPENDER_MS (int)

chronicle.table.store.timeoutMS

10000 ms

The maximum time allowed when trying to acquire the exclusive table store lock

timeoutMS (long)

queue.force.unlock.mode

LOCKING_PROCESS_DEAD

See UnlockMode enum for allowable values

queue.ignoreIndexingFailure

false

Setting this property to "yes", "true" or "", an exception is not thrown if the number of entries exceeds the max number for the current rollcycle

IGNORE_INDEXING_FAILURE (boolean)

queue.check.index

false

Setting this property to "yes", "true" or "" returns if Chronicle Queue shall assert certain index invariants on various occasions throughout the code. Setting this property to "", "yes" or "true" will enable this feature. Enabling the feature will slow down execution if assertions (-ea) are enabled.

CHECK_INDEX (boolean)

SingleChronicleQueueExcerpts.earlyAcquireNextCycle

false

Used by the pretoucher to acquire the next cycle file, but does NOT do the roll. Setting this property to "yes", "true" or "" results in acquiring the cycle file early

EARLY_ACQUIRE_NEXT_CYCLE (boolean)