本文整理了Java中org.geowebcache.diskquota.storage.Quota.toNiceString
方法的一些代码示例,展示了Quota.toNiceString
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Quota.toNiceString
方法的具体详情如下:
包路径:org.geowebcache.diskquota.storage.Quota
类名称:Quota
方法名:toNiceString
[英]Returns a more user friendly string representation of this quota, like in 1.1GB, 0.75MB, etc.
[中]返回此配额的更用户友好的字符串表示形式,如1.1GB、0.75MB等。
代码示例来源:origin: GeoWebCache/geowebcache
@Override
public String toString() {
StringBuilder sb = new StringBuilder("[");
sb.append(tileSet);
sb.append(numAggregations).append(" aggregated updates, ");
sb.append(tilePages.size()).append(" different pages, ");
sb.append("accum quota diff: ").append(accumQuotaDiff.toNiceString());
sb.append(", created ")
.append((System.currentTimeMillis() - creationTime))
.append("ms ago")
.append("]");
return sb.toString();
}
}
代码示例来源:origin: GeoWebCache/geowebcache
+ stats.numTiles
+ " tiles for a storage space of "
+ stats.collectedQuota.toNiceString());
return stats;
代码示例来源:origin: GeoWebCache/geowebcache
throw e;
log.info("Quota Store initialized. Global quota: " + getGloballyUsedQuota().toNiceString());
代码示例来源:origin: GeoWebCache/geowebcache
log.info(
"Reached back Quota: "
+ limit.toNiceString()
+ " ("
+ used.toNiceString()
+ ") for layers "
+ layerNames);
"No more pages to expire, check if youd disk quota"
+ " database is out of date with your blob store. Quota: "
+ limit.toNiceString()
+ " used: "
+ usedQuota.toNiceString());
代码示例来源:origin: GeoWebCache/geowebcache
+ layerName
+ ": "
+ usedQuota.toNiceString());
} else {
log.debug(
代码示例来源:origin: GeoWebCache/geowebcache
+ layerName
+ "' exceeds its quota of "
+ quota.toNiceString()
+ " by "
+ excedent.toNiceString()
+ ". Currently used: "
+ usedQuota.toNiceString()
+ ". Clean up task will be performed using expiration policy "
+ policy);
log.trace(
"Won't launch global quota enforcement task, "
+ globalUsedQuota.toNiceString()
+ " used out of "
+ globalQuota.toNiceString()
+ " configured for the whole cache size.");
代码示例来源:origin: GeoWebCache/geowebcache
globallyConfigured
+ " layers attached to global quota "
+ globalQuota.toNiceString());
内容来源于网络,如有侵权,请联系作者删除!