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 TypeMethodDescriptionvoiddeleteSpaceAsync(long spaceId) Removes space asynchronously.voiddeleteSpaceSync(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:
deleteSpaceSyncin 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:
deleteSpaceAsyncin interfaceSpaceDeletionManager- Parameters:
spaceId- space id
-