public class DiskUsageManagerImpl extends Object implements DiskUsageManager
Constructor and Description |
---|
DiskUsageManagerImpl() |
Modifier and Type | Method and Description |
---|---|
Long |
findUsedStorageByArtifactHandler(String artifactHandlerPluginKey)
Retrieve the all artifacts size for a given artifact handler.
|
void |
invalidateDiskUsageByArtifacts()
Invalidates disk usage values.
|
@Nullable public Long findUsedStorageByArtifactHandler(String artifactHandlerPluginKey)
DiskUsageManager
findUsedStorageByArtifactHandler
in interface DiskUsageManager
artifactHandlerPluginKey
- the plugin key of the artifact handler for which to retrieve the usage for.public void invalidateDiskUsageByArtifacts()
DiskUsageManager
DiskUsageManager.findUsedStorageByArtifactHandler(String)
called values will be refreshedinvalidateDiskUsageByArtifacts
in interface DiskUsageManager
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.