Skip to content

Commit e1528c2

Browse files
author
yevhenii.nadtochii
committed
Proofread javadoc
1 parent 6cfe114 commit e1528c2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

server/src/main/java/io/spine/server/delivery/AbstractWorkRegistry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ private Optional<ShardProcessingSession> pickUp(ShardIndex index, WorkerId worke
7979
/**
8080
* Returns an identifier of the current worker that is now going to process the shard.
8181
*
82-
* Typically, it would a thread ID.
82+
* <p>An example of such an identifier could be ID of the thread which performs processing.
8383
*
8484
* @param node
8585
* the node to which the resulted worker belongs

server/src/main/proto/spine/server/delivery/delivery.proto

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ message WorkerId {
102102
// A node to which this worker belongs.
103103
NodeId nodeId = 1 [(required) = true];
104104

105-
// Worker's identifier, typically it would a Thread ID.
105+
// Worker's identifier.
106+
//
107+
// An example of such an identifier could be ID of the thread which processes a shard.
106108
string value = 2 [(required) = true];
107109
}

0 commit comments

Comments
 (0)