@@ -81,27 +81,30 @@ public ReferenceDataConfig(@JsonProperty("maxPutsBeforeCommit") final int maxPut
8181 }
8282
8383 @ Min (0 )
84- @ JsonPropertyDescription ("The maximum number of puts into the store (in a single load) before the " +
85- "transaction is committed. There is only one write transaction available at a time so reducing " +
86- "this value allows multiple loads to potentially each load a chunk at a time. However, load times " +
87- "increase rapidly with values below around 2,000. For maximum performance of a single load set this " +
88- "value to 0 to only commit at the very end of the load." )
84+ @ JsonPropertyDescription (
85+ "The maximum number of puts into the store (in a single load) before the " +
86+ "transaction is committed. There is only one write transaction available at a time so reducing " +
87+ "this value allows multiple loads to potentially each load a chunk at a time. However, load times " +
88+ "increase rapidly with values below around 2,000. For maximum performance of a single load set this " +
89+ "value to 0 to only commit at the very end of the load." )
8990 public int getMaxPutsBeforeCommit () {
9091 return maxPutsBeforeCommit ;
9192 }
9293
9394 @ Min (0 )
94- @ JsonPropertyDescription ("The maximum number of entries in one reference stream to purge before the " +
95- "transaction is committed. A value high enough to purge all entries in one transaction is " +
96- "preferable but for large reference streams this may result in errors due to the transaction " +
97- "being too large." )
95+ @ JsonPropertyDescription (
96+ "The maximum number of entries in one reference stream to purge before the " +
97+ "transaction is committed. A value high enough to purge all entries in one transaction is " +
98+ "preferable but for large reference streams this may result in errors due to the transaction " +
99+ "being too large." )
98100 public int getMaxPurgeDeletesBeforeCommit () {
99101 return maxPurgeDeletesBeforeCommit ;
100102 }
101103
102- @ JsonPropertyDescription ("The time to retain reference data for in the off heap store. The time is taken " +
103- "from the time that the reference stream was last accessed, e.g. a lookup was made against it. " +
104- "In ISO-8601 duration format, e.g. 'P1DT12H'. Used by job '" + RefDataPurge .JOB_NAME + "'." )
104+ @ JsonPropertyDescription (
105+ "The time to retain reference data for in the off heap store. The time is taken " +
106+ "from the time that the reference stream was last accessed, e.g. a lookup was made against it. " +
107+ "In ISO-8601 duration format, e.g. 'P1DT12H'. Used by job '" + RefDataPurge .JOB_NAME + "'." )
105108 public StroomDuration getPurgeAge () {
106109 return purgeAge ;
107110 }
@@ -111,19 +114,21 @@ public boolean isAutoPurgeEnabled() {
111114 return autoPurgeEnabled ;
112115 }
113116
114- @ JsonPropertyDescription ("If true a compaction process will be run after a successful purge to free " +
115- "up disk space. If compaction is not run, space will be freed up inside the store for " +
116- "future loads of that feed, but disk space will not be freed up. For compaction to " +
117- "work, property lmdb.readerBlockedByWriter must also be set to true." )
117+ @ JsonPropertyDescription (
118+ "If true a compaction process will be run after a successful purge to free " +
119+ "up disk space. If compaction is not run, space will be freed up inside the store for " +
120+ "future loads of that feed, but disk space will not be freed up. For compaction to " +
121+ "work, property lmdb.readerBlockedByWriter must also be set to true." )
118122 public boolean isCompactAfterPurgeEnabled () {
119123 return compactAfterPurgeEnabled ;
120124 }
121125
122126 @ Min (2 )
123127 @ RequiresRestart (RestartScope .SYSTEM )
124- @ JsonPropertyDescription ("The number of lock stripes used for preventing multiple pipeline processes " +
125- "from loading the same reference stream at the same time. Values should be a power of 2. " +
126- "Lower values will mean it is more likely for two different streams from blocking one another." )
128+ @ JsonPropertyDescription (
129+ "The number of lock stripes used for preventing multiple pipeline processes " +
130+ "from loading the same reference stream at the same time. Values should be a power of 2. " +
131+ "Lower values will mean it is more likely for two different streams from blocking one another." )
127132 public int getLoadingLockStripes () {
128133 return loadingLockStripes ;
129134 }
0 commit comments