public class DefaultCssResourceCounterManager extends Object implements CssResourceCounterManager
Constructor and Description |
---|
DefaultCssResourceCounterManager(com.atlassian.bandana.BandanaManager bandanaManager,
TenantRegistry tenantRegistry) |
Modifier and Type | Method and Description |
---|---|
int |
getGlobalCssResourceCounter()
Get the resource counter for the global CSS file.
|
int |
getSpaceCssResourceCounter(String spaceKey)
Get the resource counter for a particular space's CSS file.
|
void |
invalidateGlobalCssResourceCounter()
Cause the manager to start sending out new values for the global CSS resource counter.
|
void |
invalidateSpaceCssResourceCounter(String spaceKey)
Cause the manager to start sending out new values for the space's CSS resource counter.
|
public DefaultCssResourceCounterManager(com.atlassian.bandana.BandanaManager bandanaManager, TenantRegistry tenantRegistry)
public void invalidateGlobalCssResourceCounter()
CssResourceCounterManager
invalidateGlobalCssResourceCounter
in interface CssResourceCounterManager
public void invalidateSpaceCssResourceCounter(String spaceKey)
CssResourceCounterManager
invalidateSpaceCssResourceCounter
in interface CssResourceCounterManager
spaceKey
- the key of the space that has had its CSS changedpublic int getGlobalCssResourceCounter()
CssResourceCounterManager
getGlobalCssResourceCounter
in interface CssResourceCounterManager
public int getSpaceCssResourceCounter(String spaceKey)
CssResourceCounterManager
getSpaceCssResourceCounter
in interface CssResourceCounterManager
spaceKey
- the key of the space we're viewing the CSS for, or null for the global CSS.Copyright © 2003–2016 Atlassian. All rights reserved.