Skip to content

Commit 864847a

Browse files
committed
Update javadoc
1 parent bf83b9b commit 864847a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/main/java/io/eigr/spawn/api/Spawn.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,16 @@ public ActorRef createActorRef(ActorIdentity identity) throws ActorCreationExcep
100100
return ActorRef.of(this.client, this.actorIdCache, identity);
101101
}
102102

103+
/**
104+
* <p>This method is responsible for creating instances of the ActorRef in batch.
105+
* See more about ActorRef in {@link io.eigr.spawn.api.InvocationOpts} class
106+
* </p>
107+
*
108+
* @param identities the name of the actor that this ActorRef instance should represent
109+
* @return stream of the ActorRef instances
110+
* @throws {@link io.eigr.spawn.api.exceptions.ActorCreationException}
111+
* @since 0.8.0
112+
*/
103113
public Stream<ActorRef> createMultiActorRefs(List<ActorIdentity> identities) throws ActorCreationException {
104114
List<ActorOuterClass.ActorId> ids = identities.stream().map(identity -> {
105115
if (identity.isParent()) {

0 commit comments

Comments
 (0)