public interface ActorProxy
Modifier and Type | Method and Description |
---|---|
ActorId |
getActorId()
Returns the ActorId associated with the proxy object.
|
String |
getActorType()
Returns actor implementation type of the actor associated with the proxy object.
|
reactor.core.publisher.Mono<Void> |
invokeActorMethod(String methodName)
Invokes an Actor method on Dapr.
|
<T> reactor.core.publisher.Mono<T> |
invokeActorMethod(String methodName,
Class<T> clazz)
Invokes an Actor method on Dapr.
|
reactor.core.publisher.Mono<Void> |
invokeActorMethod(String methodName,
Object data)
Invokes an Actor method on Dapr.
|
<T> reactor.core.publisher.Mono<T> |
invokeActorMethod(String methodName,
Object data,
Class<T> clazz)
Invokes an Actor method on Dapr.
|
ActorId getActorId()
String getActorType()
<T> reactor.core.publisher.Mono<T> invokeActorMethod(String methodName, Class<T> clazz)
T
- The type to be returned.methodName
- Method name to invoke.clazz
- The type of the return class.<T> reactor.core.publisher.Mono<T> invokeActorMethod(String methodName, Object data, Class<T> clazz)
T
- The type to be returned.methodName
- Method name to invoke.data
- Object with the data.clazz
- The type of the return class.reactor.core.publisher.Mono<Void> invokeActorMethod(String methodName)
methodName
- Method name to invoke.Copyright © 2020. All rights reserved.