[
https://issues.apache.org/jira/browse/JCS-204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17081524#comment-17081524
]
Simon Legner commented on JCS-204:
----------------------------------
Hi [~tv], testing the {{jcs-122-logging-abstraction}} branch in JOSM (via
[https://josm.openstreetmap.de/browser/josm/trunk/src/org/openstreetmap/josm/data/cache/JCSCacheManager.java])
didn't reveal any problems:
{code:java}
2020-04-11 20:55:15.359 INFO: Instance is null, returning unconfigured instance
2020-04-11 20:55:15.430 WARNING: No configuration settings found. Using
hardcoded default values for all pools.
2020-04-11 20:55:15.458 INFO: Setting default auxiliaries to "null"
2020-04-11 20:55:15.466 INFO: setting defaultCompositeCacheAttributes to [
useLateral = true, useRemote = true, useDisk = true, maxObjs = 1000,
maxSpoolPerRun = -1, diskUsagePattern = UPDATE, spoolChunkSize = 2 ]
2020-04-11 20:55:15.483 INFO: setting defaultElementAttributes to [ IS_LATERAL
= true, IS_SPOOL = true, IS_REMOTE = true, IS_ETERNAL = false, MaxLifeSeconds =
-1, IdleTime = -1, CreateTime = 1586631315467, LastAccessTime = 1586631315467,
getTimeToLiveSeconds() = -1, createTime = 1586631315467 ]
2020-04-11 20:55:15.488 INFO: Parsed regions []
2020-04-11 20:55:15.489 INFO: Finished configuration in 32 ms.
2020-04-11 20:55:15.489 INFO: No special ElementAttribute class defined for key
[jcs.region.TMS.elementattributes], using default class.
2020-04-11 20:55:15.503 INFO: initialized MemoryCache for TMS
2020-04-11 20:55:15.503 INFO: Constructed cache with name [TMS] and cache
attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 0,
maxSpoolPerRun = -1, diskUsagePattern = UPDATE, spoolChunkSize = 2 ]
2020-04-11 20:55:15.540 INFO: Region [TMS_BLOCK_v2] : Constructing
BlockDiskCache with attributes
BlockDiskAttributes
DiskPath [/tmp/.josm/cache/tiles]
MaxKeySize [524288]
MaxPurgatorySize [5000]
BlockSizeBytes [4096]
KeyPersistenceIntervalSeconds [300]
DiskLimitType [SIZE]
2020-04-11 20:55:15.540 INFO: Region [TMS_BLOCK_v2] : Cache file root
directory: [/tmp/.josm/cache/tiles]
2020-04-11 20:55:15.541 INFO: Constructing BlockDisk, blockSizeBytes [4,096]
2020-04-11 20:55:15.543 INFO: Region [TMS_BLOCK_v2] : Cache file root directory
[/tmp/.josm/cache/tiles]
2020-04-11 20:55:15.543 INFO: Region [TMS_BLOCK_v2] : Key File
[/tmp/.josm/cache/tiles/TMS_BLOCK_v2.key]
2020-04-11 20:55:15.544 INFO: Region [TMS_BLOCK_v2] : Loading keys for
/tmp/.josm/cache/tiles/TMS_BLOCK_v2.key
2020-04-11 20:55:15.544 INFO: Region [TMS_BLOCK_v2] : Set maxKeySize to:
"524,288"
2020-04-11 20:55:15.557 INFO: Region [TMS_BLOCK_v2] : Loaded keys from
[TMS_BLOCK_v2], key count: 371; up to 524,288 will be available.
2020-04-11 20:55:15.649 INFO: Region [TMS_BLOCK_v2] : Block Disk Cache is alive.
{code}
The only flaw is that the following {{WARNING}} ist still present, see JCS-201:
{code:java}
WARNING: No configuration settings found. Using hardcoded default values for
all pools.{code}
> Release JCS 3.0
> ---------------
>
> Key: JCS-204
> URL: https://issues.apache.org/jira/browse/JCS-204
> Project: Commons JCS
> Issue Type: Task
> Reporter: Simon Legner
> Assignee: Thomas Vandahl
> Priority: Major
> Labels: release
>
> Many improvements have been made since the last 2.2.1 release in 2017:
> https://github.com/apache/commons-jcs/compare/commons-jcs-2.2.1...master
> [JOSM|https://josm.openstreetmap.de/] always has been using the latest SVN
> version of JCS without any known problems. We would like to switch to Apache
> Ivy for dependency management and thus require a published release.
> Can you craft a new 2.3 release of JCS? Are there any blockers?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)