Class DefaultConnectorStatusService
- java.lang.Object
-
- com.snowflake.connectors.application.status.DefaultConnectorStatusService
-
- All Implemented Interfaces:
ConnectorStatusService
public class DefaultConnectorStatusService extends Object implements ConnectorStatusService
Default implementation ofConnectorStatusService
.
-
-
Constructor Summary
Constructors Constructor Description DefaultConnectorStatusService(ConnectorStatusRepository connectorStatusRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FullConnectorStatus
getConnectorStatus()
Returns the connector and connector configuration statuses.void
updateConnectorStatus(FullConnectorStatus connectorStatus)
Updates the connector and connector configuration statuses.
-
-
-
Constructor Detail
-
DefaultConnectorStatusService
public DefaultConnectorStatusService(ConnectorStatusRepository connectorStatusRepository)
-
-
Method Detail
-
getConnectorStatus
public FullConnectorStatus getConnectorStatus()
Description copied from interface:ConnectorStatusService
Returns the connector and connector configuration statuses.- Specified by:
getConnectorStatus
in interfaceConnectorStatusService
- Returns:
- connector and connector configuration statuses
-
updateConnectorStatus
public void updateConnectorStatus(FullConnectorStatus connectorStatus)
Description copied from interface:ConnectorStatusService
Updates the connector and connector configuration statuses.- Specified by:
updateConnectorStatus
in interfaceConnectorStatusService
- Parameters:
connectorStatus
- new statuses
-
-