@@ -81,27 +81,30 @@ public ReferenceDataConfig(@JsonProperty("maxPutsBeforeCommit") final int maxPut
81
81
}
82
82
83
83
@ 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." )
89
90
public int getMaxPutsBeforeCommit () {
90
91
return maxPutsBeforeCommit ;
91
92
}
92
93
93
94
@ 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." )
98
100
public int getMaxPurgeDeletesBeforeCommit () {
99
101
return maxPurgeDeletesBeforeCommit ;
100
102
}
101
103
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 + "'." )
105
108
public StroomDuration getPurgeAge () {
106
109
return purgeAge ;
107
110
}
@@ -111,19 +114,21 @@ public boolean isAutoPurgeEnabled() {
111
114
return autoPurgeEnabled ;
112
115
}
113
116
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." )
118
122
public boolean isCompactAfterPurgeEnabled () {
119
123
return compactAfterPurgeEnabled ;
120
124
}
121
125
122
126
@ Min (2 )
123
127
@ 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." )
127
132
public int getLoadingLockStripes () {
128
133
return loadingLockStripes ;
129
134
}
0 commit comments