All Superinterfaces:
AutoCloseable, Identifiable<ClientIdentifier>

@Beta @NonNullByDefault public interface DataStoreClient extends Identifiable<ClientIdentifier>, AutoCloseable
Client interface for interacting with the frontend actor. This interface is the primary access point through which the DistributedDataStore frontend interacts with backend Shards.

Keep this interface as clean as possible, as it needs to be implemented in thread-safe and highly-efficient manner.

Author:
Robert Varga
  • Method Details

    • close

      void close()
      Specified by:
      close in interface AutoCloseable
    • createLocalHistory

      ClientLocalHistory createLocalHistory()
      Create a new local history. ClientLocalHistory represents the interface exposed to the client.
      Returns:
      Client history handle
    • createSnapshot

      ClientSnapshot createSnapshot()
      Create a new free-standing snapshot.
      Returns:
      Client snapshot handle
    • createTransaction

      ClientTransaction createTransaction()
      Create a new free-standing transaction.
      Returns:
      Client transaction handle