Interface SubspaceProvider

    • Method Detail

      • getSubspace

        @Nonnull
        Subspace getSubspace​(@Nonnull
                             FDBRecordContext context)
        This might be blocking if the subspace is never fetched before.
        Parameters:
        context - record context used to resolve the subspace
        Returns:
        Subspace
      • toString

        String toString​(@Nonnull
                        FDBRecordContext context)
        This method is typically called in support of error logging; hence, implementations should not assume a working FDBRecordContext but might, for example, use it to retrieve a subspace previously resolved against the corresponding database.
        Parameters:
        context - record context used to resolve the subspace
        Returns:
        CompletableFuture<Subspace>