From a460c8a7f38552f6cc838851668a2044b8c871ba Mon Sep 17 00:00:00 2001 From: David Estes Date: Mon, 6 Jan 2025 14:13:19 -0500 Subject: [PATCH] datastore tpye stuff --- .../morpheusdata/core/providers/DatastoreTypeProvider.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/morpheus-plugin-api/src/main/java/com/morpheusdata/core/providers/DatastoreTypeProvider.java b/morpheus-plugin-api/src/main/java/com/morpheusdata/core/providers/DatastoreTypeProvider.java index 42bb20f2..68920951 100644 --- a/morpheus-plugin-api/src/main/java/com/morpheusdata/core/providers/DatastoreTypeProvider.java +++ b/morpheus-plugin-api/src/main/java/com/morpheusdata/core/providers/DatastoreTypeProvider.java @@ -81,6 +81,11 @@ default boolean getLocalStorage() { return false; } + /** + * Flags if this {@link DatastoreType} implements its own refresh logic for refreshing volumes within the datastore type, or if this falls back to generic sync. + * @return if the {@link DatastoreType} implements its own refresh logic + */ + default boolean getPluginManagedVolumeRefresh() { return false; } /** * Perform any operations necessary on the target to remove a volume. This is used to remove a volume on a storage server