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