Class CollectorClientFactory

java.lang.Object
org.qubership.profiler.client.CollectorClientFactory
All Implemented Interfaces:
org.qubership.profiler.agent.DumperCollectorClientFactory

public class CollectorClientFactory extends Object implements org.qubership.profiler.agent.DumperCollectorClientFactory
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    injectFactory(org.qubership.profiler.agent.DumperCollectorClientFactory override)
     
    static org.qubership.profiler.agent.DumperCollectorClientFactory
     
    org.qubership.profiler.agent.DumperCollectorClient
    newClient(String host, int port, boolean ssl, String cloudNamespace, String microserviceName, String podName)
     
    org.qubership.profiler.agent.DumperRemoteControlledStream
    wrapOutputStream(int rollingSequenceId, String streamName, long rotationPeriod, long requiredRotationSize, org.qubership.profiler.agent.DumperCollectorClient collectorClient)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CollectorClientFactory

      public CollectorClientFactory()
  • Method Details

    • instance

      public static org.qubership.profiler.agent.DumperCollectorClientFactory instance()
    • injectFactory

      public static void injectFactory(org.qubership.profiler.agent.DumperCollectorClientFactory override)
    • newClient

      public org.qubership.profiler.agent.DumperCollectorClient newClient(String host, int port, boolean ssl, String cloudNamespace, String microserviceName, String podName)
      Specified by:
      newClient in interface org.qubership.profiler.agent.DumperCollectorClientFactory
    • wrapOutputStream

      public org.qubership.profiler.agent.DumperRemoteControlledStream wrapOutputStream(int rollingSequenceId, String streamName, long rotationPeriod, long requiredRotationSize, org.qubership.profiler.agent.DumperCollectorClient collectorClient)
      Specified by:
      wrapOutputStream in interface org.qubership.profiler.agent.DumperCollectorClientFactory