@senzing/sz-sdk-typescript-grpc - v4.0.0-beta.4.0
    Preparing search index...

    Class SzGrpcDiagnostic

    SzGrpcDiagnostic Access the Senzing Diagnostic module via gRPC

    Hierarchy

    • SzGrpcBase
      • SzGrpcDiagnostic

    Implements

    • SzDiagnostic
    Index

    Properties

    grpcConnectionReadyTimeOut: number = DEFAULT_CONNECTION_READY_TIMEOUT
    productId: string = "5052"

    Methods

    • Performs inserts to determine rate of insertion.

      Parameters

      • secondsToRun: number

        Duration of the test in seconds.

      Returns Promise<SzError | CHECK_DATASTORE_PERFORMANCE_RESPONSE>

      A JSON document

    • Parameters

      • OptionalsecondsFromNow: number

      Returns Date

    • Experimental

      Returns diagnostic information of a feature. Not recommended for use.

      Parameters

      • featureId: number

        The identifier of the feature to describe.

      Returns Promise<string>

      A string containing a JSON document

    • Returns details of the datastore currently in use by Senzing.

      Returns Promise<string>

    • Removes every record in the Senzing repository.

      Returns Promise<undefined>

      for async flow control.

    • Wait for the client to be ready. The callback will be called when the client has successfully connected to the server, and it will be called with an error if the attempt to connect to the server has unrecoverablly failed or if the deadline expires. This function will make the channel start connecting if it has not already done so.

      Parameters

      • deadline: Date
      • cb: (error: Error | null) => void

      Returns any