io.ray.api.parallelactor.ParallelActorInstance Maven / Gradle / Ivy
package io.ray.api.parallelactor;
public class ParallelActorInstance implements ActorCall {
private ParallelActorHandle parallelActorHandle;
private int instanceId;
public ParallelActorInstance(ParallelActorHandle parallelActorHandle, int instanceId) {
this.parallelActorHandle = parallelActorHandle;
this.instanceId = instanceId;
}
ParallelActorHandle getActor() {
return parallelActorHandle;
}
int getInstanceId() {
return instanceId;
}
}