Class SpaceDeletionManagerImpl
java.lang.Object
com.atlassian.confluence.impl.space.deletion.SpaceDeletionManagerImpl
- All Implemented Interfaces:
SpaceDeletionManager
-
Constructor Summary
ConstructorsConstructorDescriptionSpaceDeletionManagerImpl
(SpaceConcealer spaceConcealer, SpaceDeletionBackgroundJobProcessor spaceDeletionBackgroundJobProcessor, com.atlassian.event.api.EventPublisher eventPublisher) -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteSpaceAsync
(long spaceId) Removes space asynchronously.void
deleteSpaceSync
(long spaceId) Removes space synchronously.
-
Constructor Details
-
SpaceDeletionManagerImpl
public SpaceDeletionManagerImpl(SpaceConcealer spaceConcealer, SpaceDeletionBackgroundJobProcessor spaceDeletionBackgroundJobProcessor, com.atlassian.event.api.EventPublisher eventPublisher)
-
-
Method Details
-
deleteSpaceSync
public void deleteSpaceSync(long spaceId) Removes space synchronously.- Specified by:
deleteSpaceSync
in interfaceSpaceDeletionManager
- Parameters:
spaceId
- space id
-
deleteSpaceAsync
public void deleteSpaceAsync(long spaceId) Removes space asynchronously. Space key can be re-used immediately, the space content will be removed in background. Instance restart will not prevent data removal.- Specified by:
deleteSpaceAsync
in interfaceSpaceDeletionManager
- Parameters:
spaceId
- space id
-