Uses of Interface
com.datastax.astra.internal.command.CommandObserver
Packages that use 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
Methods in com.datastax.astra.client with parameters of type CommandObserverModifier and TypeMethodDescriptionvoidCollection.registerListener(String logger, CommandObserver commandObserver) Register a listener to execute commands on the collection.voidDatabase.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
Methods in com.datastax.astra.client.admin with parameters of type CommandObserverModifier and TypeMethodDescriptionvoidDataAPIDatabaseAdmin.registerListener(String logger, CommandObserver commandObserver) Register a listener to execute commands on the collection. -
Uses of CommandObserver in com.datastax.astra.client.model
Fields in com.datastax.astra.client.model with type parameters of type CommandObserverModifier and TypeFieldDescriptionprotected Map<String, CommandObserver> CommandOptions.observersList of observers to notify.Methods in com.datastax.astra.client.model with parameters of type CommandObserverModifier 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.Method parameters in com.datastax.astra.client.model with type arguments of type CommandObserverModifier and TypeMethodDescriptionCommandOptions.unregisterObserver(Class<CommandObserver> observer) Remove an observer by its class. -
Uses of CommandObserver in com.datastax.astra.internal.command
Classes in com.datastax.astra.internal.command that implement CommandObserverModifier and TypeClassDescriptionclassImplements aCommandObserverthat logs command execution details.