Package com.eventstore.dbclient
Class EventStoreDBClientBase
- java.lang.Object
-
- com.eventstore.dbclient.EventStoreDBClientBase
-
- Direct Known Subclasses:
EventStoreDBClient,EventStoreDBPersistentSubscriptionsClient,EventStoreDBProjectionManagementClient
public class EventStoreDBClientBase extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected com.eventstore.dbclient.GrpcClientclientprotected UserCredentialscredentials
-
Constructor Summary
Constructors Modifier Constructor Description protectedEventStoreDBClientBase(EventStoreDBClientSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisShutdown()Checks if this client instance has been shutdown.voidshutdown()
-
-
-
Field Detail
-
client
protected final com.eventstore.dbclient.GrpcClient client
-
credentials
protected final UserCredentials credentials
-
-
Constructor Detail
-
EventStoreDBClientBase
protected EventStoreDBClientBase(EventStoreDBClientSettings settings)
-
-
Method Detail
-
shutdown
public void shutdown() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException- Throws:
java.util.concurrent.ExecutionExceptionjava.lang.InterruptedException
-
isShutdown
public boolean isShutdown()
Checks if this client instance has been shutdown. After shutdown a client instance can no longer process new operations and a new client instance has to be created.- Returns:
trueif client instance has been shutdown.
-
-