ActorProxyEventUtility Class
- java.
lang. Object - microsoft.
servicefabric. actors. client. ActorProxyEventUtility
- microsoft.
public class ActorProxyEventUtility
Contains extension methods related to actor events.
Method Summary
Modifier and Type | Method and Description |
---|---|
static<TEvent extends Actor |
subscribeAsync(ActorEventPublisher actorProxy, TEvent subscriber)
Subscribe to a published actor event. When actorProxy is not of type ActorProxy When TEvent doesn't implement ActorEvents |
static<TEvent extends Actor |
subscribeAsync(ActorEventPublisher actorProxy, TEvent subscriber, Duration resubscriptionInterval)
Subscribe to a published actor event. When actorProxy is not of type ActorProxy When TEvent doesn't implement ActorEvents |
static<TEvent extends Actor |
unsubscribeAsync(ActorEventPublisher actorProxy, TEvent subscriber)
Unsubscribe from a published actor event. When actorProxy is not of type ActorProxy When TEvent doesn't implement ActorEvents |
Method Details
subscribeAsync
public static static
Subscribe to a published actor event.
When actorProxy is not of type ActorProxy
When TEvent doesn't implement ActorEvents
Parameters:
Returns:
Throws:
subscribeAsync
public static static
Subscribe to a published actor event.
When actorProxy is not of type ActorProxy
When TEvent doesn't implement ActorEvents
Parameters:
Returns:
Throws:
unsubscribeAsync
public static static
Unsubscribe from a published actor event.
When actorProxy is not of type ActorProxy
When TEvent doesn't implement ActorEvents
Parameters:
Returns:
Throws:
Applies to
Azure SDK for Java
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente las Cuestiones de GitHub como mecanismo de retroalimentación para el contenido y lo sustituiremos por un nuevo sistema de retroalimentación. Para más información, consulta:Enviar y ver comentarios de