Skip to content

Commit e48cda1

Browse files
authored
Add SplitEvent constructor docs (#1174)
1 parent a7abd05 commit e48cda1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

driver-core/src/main/com/mongodb/client/model/changestream/SplitEvent.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ public final class SplitEvent {
3535
private final int fragment;
3636
private final int of;
3737

38+
/**
39+
* @param fragment the fragment number
40+
* @param of the total number of fragments
41+
*/
3842
@BsonCreator
3943
public SplitEvent(
4044
@BsonProperty("fragment") final int fragment,

0 commit comments

Comments
 (0)