Skip to content

Commit 118c86c

Browse files
committed
Fix javadoc for module "monitoring" (#396)
1 parent b5fb327 commit 118c86c

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

metafacture-monitoring/src/main/java/org/metafacture/monitoring/ObjectBatchLogger.java

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ public final class ObjectBatchLogger<T> extends DefaultObjectPipe<T, ObjectRecei
6161
private long recordCount;
6262
private long batchCount;
6363

64+
/**
65+
* Constructs a ObjectBatchLogger with the not changeable default format of
66+
* {@value #DEFAULT_FORMAT}.
67+
*/
6468
public ObjectBatchLogger() {
6569
this.format = DEFAULT_FORMAT;
6670

@@ -70,7 +74,14 @@ public ObjectBatchLogger(final String format) {
7074
this.format = format;
7175
}
7276

73-
public ObjectBatchLogger(final String format, final Map<String, String> vars) {
77+
/**
78+
* Constructs an ObjectBatchLogger with a not changeable format and a map of
79+
* variables.
80+
*
81+
* @param format a not changeable format
82+
* @param vars a map of not changeable variables
83+
*/
84+
ObjectBatchLogger(final String format, final Map<String, String> vars) {
7485
this.format = format;
7586
this.vars.putAll(vars);
7687
}

metafacture-monitoring/src/main/java/org/metafacture/monitoring/StreamBatchLogger.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ public StreamBatchLogger(final String format) {
7070
this.format = format;
7171
}
7272

73+
/**
74+
* Constructs a StreamBatchLogger with a not changeable format and a map of
75+
* variables.
76+
*
77+
* @param format a not changeable format
78+
* @param vars a map of variables
79+
*/
7380
public StreamBatchLogger(final String format, final Map<String, String> vars) {
7481
this.format = format;
7582
this.vars.putAll(vars);

0 commit comments

Comments
 (0)