Uses of Interface
com.datastax.astra.internal.command.CommandObserver
Package
Description
Entrypoint and core classes for the client.
Administration classes to manage Databases and Namespaces.
Domain model classes with
Requests
, Results
, Options
and Iterables
.Internal technical classes to run commands against the API.
-
Uses of CommandObserver in com.datastax.astra.client
Modifier and TypeMethodDescriptionvoid
Collection.registerListener
(String logger, CommandObserver commandObserver) Register a listener to execute commands on the collection.void
Database.registerListener
(String logger, CommandObserver commandObserver) Register a listener to execute commands on the collection.DataAPIOptions.DataAPIClientOptionsBuilder.withObserver
(CommandObserver observer) Register an observer with its className.DataAPIOptions.DataAPIClientOptionsBuilder.withObserver
(String name, CommandObserver observer) Allow to register a listener for the command. -
Uses of CommandObserver in com.datastax.astra.client.admin
Modifier and TypeMethodDescriptionvoid
DataAPIDatabaseAdmin.registerListener
(String logger, CommandObserver commandObserver) Register a listener to execute commands on the collection. -
Uses of CommandObserver in com.datastax.astra.client.model
Modifier and TypeFieldDescriptionprotected Map
<String, CommandObserver> CommandOptions.observers
List of observers to notify.Modifier and TypeMethodDescriptionCommandOptions.registerObserver
(CommandObserver observer) Register an observer with its className.CommandOptions.registerObserver
(String name, CommandObserver observer) Allow to register a listener for the command.Modifier and TypeMethodDescriptionCommandOptions.unregisterObserver
(Class<CommandObserver> observer) Remove an observer by its class. -
Uses of CommandObserver in com.datastax.astra.internal.command
Modifier and TypeClassDescriptionclass
Implements aCommandObserver
that logs command execution details.