Package io.pravega.client.stream.impl
Class AbstractClientFactoryImpl
- java.lang.Object
-
- io.pravega.client.stream.impl.AbstractClientFactoryImpl
-
- All Implemented Interfaces:
EventStreamClientFactory
,SynchronizerClientFactory
,java.lang.AutoCloseable
- Direct Known Subclasses:
ClientFactoryImpl
public abstract class AbstractClientFactoryImpl extends java.lang.Object implements EventStreamClientFactory, SynchronizerClientFactory
-
-
Field Summary
Fields Modifier and Type Field Description protected @NonNull ConnectionPool
connectionPool
protected @NonNull Controller
controller
protected @NonNull java.lang.String
scope
-
Constructor Summary
Constructors Constructor Description AbstractClientFactoryImpl(@NonNull java.lang.String scope, @NonNull Controller controller, @NonNull ConnectionPool connectionPool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull ConnectionPool
getConnectionPool()
@NonNull Controller
getController()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.pravega.client.EventStreamClientFactory
close, createEventWriter, createEventWriter, createReader, createTransactionalEventWriter, createTransactionalEventWriter
-
Methods inherited from interface io.pravega.client.SynchronizerClientFactory
close, createRevisionedStreamClient, createStateSynchronizer
-
-
-
-
Field Detail
-
scope
@NonNull protected final @NonNull java.lang.String scope
-
controller
@NonNull protected final @NonNull Controller controller
-
connectionPool
@NonNull protected final @NonNull ConnectionPool connectionPool
-
-
Constructor Detail
-
AbstractClientFactoryImpl
@ConstructorProperties({"scope","controller","connectionPool"}) public AbstractClientFactoryImpl(@NonNull @NonNull java.lang.String scope, @NonNull @NonNull Controller controller, @NonNull @NonNull ConnectionPool connectionPool)
-
-
Method Detail
-
getController
@NonNull public @NonNull Controller getController()
-
getConnectionPool
@NonNull public @NonNull ConnectionPool getConnectionPool()
-
-