Class OracleServerSurveyActionService

All Implemented Interfaces:
AuditLoggingComponent, SecureConnectorExtension, VirtualConnectorExtension, SurveyActionService

public class OracleServerSurveyActionService extends SurveyActionServiceConnector
OracleServerSurveyActionService surveys each of the pluggable databases (PDBs) hosted by a multitenant Oracle Database Server.
  • Constructor Details

    • OracleServerSurveyActionService

      public OracleServerSurveyActionService()
  • Method Details

    • start

      Indicates that the survey action service is completely configured and can begin processing.

      The survey is broken into short units of work so that it does not hold a database transaction open for its whole duration (which would pin undo for its read-consistent snapshot and risk ORA-01555): every query runs in auto-commit mode, the connection to the CDB root is released before the individual pluggable databases are surveyed, and each pluggable database is surveyed through its own connection, which is released before the next one starts. A pluggable database that cannot be surveyed is logged and skipped, and the annotations for each pluggable database are stored as soon as it is complete, so a problem late in a large survey does not discard the work done before it.
      Overrides:
      start in class SurveyActionServiceConnector
      Throws:
      ConnectorCheckedException - a problem within the discovery service.
      UserNotAuthorizedException - the connector was disconnected before/during start
    • disconnect

      public void disconnect() throws ConnectorCheckedException
      Free up any resources held since the connector is no longer needed.
      Overrides:
      disconnect in class SurveyActionServiceConnector
      Throws:
      ConnectorCheckedException - the connector detected a problem.