Interface AgentWorkspacesManager

    • Method Detail

      • scanAndRemoveUnusedWorkspaces

        void scanAndRemoveUnusedWorkspaces()
        Search for workspaces related to deleted jobs & environments. If workspace has not been used for the last 24h (see: registerWorkspace(Key), contact the server and check if the corresponding object still exists. After that, remove workspaces that are no longer used.
      • registerWorkspace

        void registerWorkspace​(@NotNull
                               @NotNull Key key)
        Register workspace as being in use. It will be skipped during scanAndRemoveUnusedWorkspaces() for the next 24h.