Class ServiceRecoveryManager
- java.lang.Object
-
- org.opendaylight.serviceutils.srm.impl.ServiceRecoveryManager
-
@Singleton public final class ServiceRecoveryManager extends Object
-
-
Constructor Summary
Constructors Constructor Description ServiceRecoveryManager(ServiceRecoveryRegistryImpl serviceRecoveryRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
recoverService(Class<? extends EntityTypeBase> entityType, Class<? extends EntityNameBase> entityName, String entityId)
Initiates recovery mechanism for a particular interface-manager entity.
-
-
-
Constructor Detail
-
ServiceRecoveryManager
@Inject public ServiceRecoveryManager(ServiceRecoveryRegistryImpl serviceRecoveryRegistry)
-
-
Method Detail
-
recoverService
public void recoverService(Class<? extends EntityTypeBase> entityType, Class<? extends EntityNameBase> entityName, String entityId)
Initiates recovery mechanism for a particular interface-manager entity. This method tries to check whether there is a registered handler for the incoming service recovery request within interface-manager and redirects the call to the respective handler if found.- Parameters:
entityType
- The type of service recovery. eg :SERVICE or INSTANCE.entityName
- The type entity for which recovery has to be started. eg : INTERFACE or DPN.entityId
- The unique id to represent the entity to be recovered
-
-