Class CollectorClientFactory

java.lang.Object
com.netcracker.profiler.client.CollectorClientFactory
All Implemented Interfaces:
com.netcracker.profiler.agent.DumperCollectorClientFactory

public class CollectorClientFactory extends Object implements com.netcracker.profiler.agent.DumperCollectorClientFactory
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    injectFactory(com.netcracker.profiler.agent.DumperCollectorClientFactory override)
     
    static com.netcracker.profiler.agent.DumperCollectorClientFactory
     
    com.netcracker.profiler.agent.DumperCollectorClient
    newClient(String host, int port, boolean ssl, String cloudNamespace, String microserviceName, String podName)
     
    com.netcracker.profiler.agent.DumperRemoteControlledStream
    wrapOutputStream(int rollingSequenceId, String streamName, long rotationPeriod, long requiredRotationSize, com.netcracker.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 com.netcracker.profiler.agent.DumperCollectorClientFactory instance()
    • injectFactory

      public static void injectFactory(com.netcracker.profiler.agent.DumperCollectorClientFactory override)
    • newClient

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

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