File tree Expand file tree Collapse file tree 2 files changed +6
-15
lines changed
databricks-sdk-java/src/main/java/com/databricks/sdk/core Expand file tree Collapse file tree 2 files changed +6
-15
lines changed Original file line number Diff line number Diff line change 44
55### New Features and Improvements
66
7+ * Add support for unified hosts with experimental flag.
78* Increase async cache stale period from 3 to 5 minutes to cover the maximum monthly downtime of a 99.99% uptime SLA.
89
910### Bug Fixes
Original file line number Diff line number Diff line change @@ -758,13 +758,8 @@ public boolean isAccountClient() {
758758 /**
759759 * Determines the type of host based on configuration settings and host URL.
760760 *
761- * <p>Detection logic:
762- *
763- * <ol>
764- * <li>If experimentalIsUnifiedHost is true → UNIFIED
765- * <li>If host starts with "accounts." or "accounts-dod." → ACCOUNTS
766- * <li>Otherwise → WORKSPACE
767- * </ol>
761+ * <p>Returns UNIFIED if experimentalIsUnifiedHost is true, ACCOUNTS if the host starts with
762+ * "accounts." or "accounts-dod.", and WORKSPACE otherwise.
768763 *
769764 * @return The detected host type
770765 */
@@ -784,14 +779,9 @@ public HostType getHostType() {
784779 /**
785780 * Determines the client type based on host type and workspace ID configuration.
786781 *
787- * <p>Client type logic:
788- *
789- * <ul>
790- * <li>UNIFIED host + workspaceId set → WORKSPACE_ON_UNIFIED
791- * <li>UNIFIED host + no workspaceId → ACCOUNT_ON_UNIFIED
792- * <li>ACCOUNTS host → ACCOUNT
793- * <li>WORKSPACE host → WORKSPACE
794- * </ul>
782+ * <p>For unified hosts, returns WORKSPACE_ON_UNIFIED if a workspace ID is set, or
783+ * ACCOUNT_ON_UNIFIED otherwise. For traditional hosts, returns ACCOUNT or WORKSPACE based on the
784+ * host type.
795785 *
796786 * @return The determined client type
797787 */
You can’t perform that action at this time.
0 commit comments