public interface ServiceNodeActivity
This interface is implemented by Service Node Activity objects.
Service Node Activities can be used by SBBs to monitor the managed lifecycle of the service they are a part of on their individual cluster node.
When a service is started on a node, a Service Node Activity is created on that node and a ServiceNodeStartedEvent is fired on the activity to the service.
When the service is stopped on a node, the service node activity on that node is ended and a ActivityEndEvent is fired on the activity.
Service Node Activities are never replicated. Each node has their own Service Node Activity that does not share state with any other node.
ServiceNodeActivityFactory,
ServiceNodeActivityContextInterfaceFactory| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Determine if this Service Node Activity is equal to another object.
|
ServiceID |
getService()
Get the service component identifier that identifies the service component that this Service Node Activity was created for.
|
ServiceID getService()
Get the service component identifier that identifies the service component that this Service Node Activity was created for.