diff options
Diffstat (limited to 'src/zenserver/hub/hubinstancestate.h')
| -rw-r--r-- | src/zenserver/hub/hubinstancestate.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/zenserver/hub/hubinstancestate.h b/src/zenserver/hub/hubinstancestate.h new file mode 100644 index 000000000..ce1f222bd --- /dev/null +++ b/src/zenserver/hub/hubinstancestate.h @@ -0,0 +1,23 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +#pragma once + +#include <cstdint> +#include <string_view> + +namespace zen { + +enum class HubInstanceState : uint32_t +{ + Unprovisioned, // Initial state; process not running + Provisioning, // Hydrating and spawning process + Provisioned, // Process running and serving requests + Hibernating, // Shutting down process, preserving data on disk + Hibernated, // Process stopped, data preserved; can be woken + Waking, // Starting process from preserved data + Deprovisioning, // Shutting down process and cleaning up data +}; + +std::string_view ToString(HubInstanceState State); + +} // namespace zen |