git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1023795 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2010-10-18 13:38:26 +00:00
parent e4cd23e35d
commit 51ef021073
1 changed files with 8 additions and 0 deletions

View File

@ -58,4 +58,12 @@ public class StoreUsage extends Usage<StoreUsage> {
this.store = store;
onLimitChange();
}
@Override
public int getPercentUsage() {
synchronized (usageMutex) {
percentUsage = caclPercentUsage();
return super.getPercentUsage();
}
}
}