Package org.qubership.profiler.client
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic voidinjectFactory(org.qubership.profiler.agent.DumperCollectorClientFactory override) static org.qubership.profiler.agent.DumperCollectorClientFactoryinstance()org.qubership.profiler.agent.DumperCollectorClientnewClient(String host, int port, boolean ssl, String cloudNamespace, String microserviceName, String podName) org.qubership.profiler.agent.DumperRemoteControlledStreamwrapOutputStream(int rollingSequenceId, String streamName, long rotationPeriod, long requiredRotationSize, org.qubership.profiler.agent.DumperCollectorClient collectorClient)
-
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:
newClientin interfaceorg.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:
wrapOutputStreamin interfaceorg.qubership.profiler.agent.DumperCollectorClientFactory
-