@Internal
public interface AgentWorkspacesManager
Modifier and Type | Method and Description |
---|---|
void |
registerWorkspace(Key key)
Register workspace as being in use.
|
void |
scanAndRemoveUnusedWorkspaces()
Search for workspaces related to deleted jobs & environments.
|
void |
unregisterWorkspace(Key key)
Mark workspace as unused and to be deleted in the next
scanAndRemoveUnusedWorkspaces() . |
void scanAndRemoveUnusedWorkspaces()
registerWorkspace(Key)
, contact the server and check if the corresponding object still exists.
After that, remove workspaces that are no longer used.void registerWorkspace(@NotNull Key key)
scanAndRemoveUnusedWorkspaces()
for the next 24h.void unregisterWorkspace(@NotNull Key key)
scanAndRemoveUnusedWorkspaces()
.Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.