aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/hub/hydration.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenserver/hub/hydration.h')
-rw-r--r--src/zenserver/hub/hydration.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/zenserver/hub/hydration.h b/src/zenserver/hub/hydration.h
index 7edf5d996..fc2f309b2 100644
--- a/src/zenserver/hub/hydration.h
+++ b/src/zenserver/hub/hydration.h
@@ -57,6 +57,9 @@ struct HydrationStrategyBase
// Download state from the configured target into ServerStateDir. Returns cached state for the next Dehydrate.
// On failure, ServerStateDir is wiped and an empty CbObject is returned.
virtual CbObject Hydrate() = 0;
+
+ // Delete all stored data for this module from the configured backend, then clean ServerStateDir and TempDir.
+ virtual void Obliterate() = 0;
};
// Create a configured hydrator based on Config. Ready to call Hydrate/Dehydrate immediately.