Class | Line # | Actions | |||||
---|---|---|---|---|---|---|---|
EntryEvictionConfiguration | 38 | 5 | 0% | 5 | 0 | 1.0100% |
|
EntryEvictionConfiguration.Algorithm | 55 | 0 | - | 0 | 0 | -1.0 - |
Class EntryEvictionConfiguration |
Line # 38 |
5 |
0% |
5 |
0 |
1.0100% |
---|---|---|---|---|---|---|
setAlgorithm(Algorithm) : void setAlgorithm(Algorithm) : void | 7979 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
getAlgorithm() : Algorithm getAlgorithm() : Algorithm | 8787 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
setTimeToLive(int) : void setTimeToLive(int) : void | 9595 | 1.01 | 0.00% | 1.01 | 0.00 | 1.0 1.0100% |
getTimeToLive() : int getTimeToLive() : int | 106106 | 2.02 | 0.00% | 2.02 | 0.00 | 1.0 1.0100% |
Class EntryEvictionConfiguration.Algorithm |
Line # 55 |
0 |
- |
0 |
0 |
-1.0 - |
---|
0.90909094
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplaycom.xpn.xwiki.doc.XWikiDocumentTest.testDisplay | 1PASS | ||
0.90909094
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithnumberversioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithnumberversion | 1PASS | ||
0.90909094
|
org.xwiki.cache.infinispan.InfinispanCacheTest.testCreateAndDestroyCacheLRUAllorg.xwiki.cache.infinispan.InfinispanCacheTest.testCreateAndDestroyCacheLRUAll | 1PASS | ||
0.90909094
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenNotMatchingTitleHeaderDepthcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenNotMatchingTitleHeaderDepth | 1PASS | ||
0.90909094
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceHTMLContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceHTMLContentLength | 1PASS | ||
0.90909094
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleNoTitleAndContentcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleNoTitleAndContent | 1PASS | ||
0.90909094
|
com.xpn.xwiki.internal.template.TemplateManagerTest.testRenderVelocitycom.xpn.xwiki.internal.template.TemplateManagerTest.testRenderVelocity | 1PASS | ||
0.90909094
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplay1020com.xpn.xwiki.doc.XWikiDocumentTest.testDisplay1020 | 1PASS | ||
0.90909094
|
com.xpn.xwiki.internal.filter.input.DocumentInstanceInputFilterStreamTest.testImportDocumentsPreserveVersioncom.xpn.xwiki.internal.filter.input.DocumentInstanceInputFilterStreamTest.testImportDocumentsPreserveVersion | 1PASS | ||
0.90909094
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourcePolymorphismcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourcePolymorphism | 1PASS | ||
0.90909094
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleRecursivecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleRecursive | 1PASS | ||
0.90909094
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourcePlainContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourcePlainContentLength | 1PASS | ||
0.90909094
|
org.xwiki.cache.infinispan.InfinispanCacheTest.testCreateAndDestroyCacheLRUMAxIdleorg.xwiki.cache.infinispan.InfinispanCacheTest.testCreateAndDestroyCacheLRUMAxIdle | 1PASS | ||
0.90909094
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceConsistencycom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceConsistency | 1PASS | ||
0.90909094
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithTitlecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithTitle | 1PASS | ||
0.90909094
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsPreserveVersioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsPreserveVersion | 1PASS | ||
0.90909094
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContent | 1PASS | ||
0.90909094
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentCleansVelocityMacroCachecom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentCleansVelocityMacroCache | 1PASS | ||
0.90909094
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithattachmentwithoutdatecom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithattachmentwithoutdate | 1PASS | ||
0.90909094
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectField | 1PASS | ||
0.90909094
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunexistingobjectpropertycom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunexistingobjectproperty | 1PASS | ||
0.90909094
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextWithSourceSyntaxcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextWithSourceSyntax | 1PASS | ||
0.90909094
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunknownclasspropertycom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithunknownclassproperty | 1PASS | ||
0.90909094
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitlePLAINcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitlePLAIN | 1PASS | ||
0.90909094
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceXMLContentLengthcom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testArticleSourceXMLContentLength | 1PASS | ||
0.90909094
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentWithSourceSyntaxcom.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentWithSourceSyntax | 1PASS | ||
0.90909094
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceAccessRightscom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceAccessRights | 1PASS | ||
0.90909094
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentRightscom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentRights | 1PASS | ||
0.90909094
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersAttachmentcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersAttachment | 1PASS | ||
0.90909094
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testCurrentDocumentVariableIsInjectedBeforeRenderingcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testCurrentDocumentVariableIsInjectedBeforeRendering | 1PASS | ||
0.90909094
|
com.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContentcom.xpn.xwiki.doc.XWikiDocumentTest.testGetRenderedContent | 1PASS | ||
0.90909094
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextRightscom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedContentTextRights | 1PASS | ||
0.90909094
|
com.xpn.xwiki.internal.template.TemplateManagerTest.testRenderClassloaderTemplatecom.xpn.xwiki.internal.template.TemplateManagerTest.testRenderClassloaderTemplate | 1PASS | ||
0.90909094
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenMatchingTitleHeaderDepthcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWhenMatchingTitleHeaderDepth | 1PASS | ||
0.90909094
|
com.xpn.xwiki.internal.template.TemplateManagerTest.testRenderWikicom.xpn.xwiki.internal.template.TemplateManagerTest.testRenderWiki | 1PASS | ||
0.90909094
|
com.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitleHTMLcom.xpn.xwiki.doc.XWikiDocumentRenderingTest.testGetRenderedTitleWithoutTitleHTML | 1PASS | ||
0.90909094
|
com.xpn.xwiki.doc.XWikiDocumentTest.testDisplayTemplate20com.xpn.xwiki.doc.XWikiDocumentTest.testDisplayTemplate20 | 1PASS | ||
0.90909094
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsWithoutLocaleAndRevisioncom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testImportDocumentsWithoutLocaleAndRevision | 1PASS | ||
0.90909094
|
com.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceContentTypecom.xpn.xwiki.plugin.feed.SyndEntryDocumentSourceTest.testSourceContentType | 1PASS | ||
0.90909094
|
com.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithoutauthorandcreatorcom.xpn.xwiki.internal.filter.output.DocumentInstanceOutputFilterStreamTest.testDocumentwithoutauthorandcreator | 1PASS | ||
0.90909094
|
com.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldBeforeAttachmentcom.xpn.xwiki.XWikiTest.testParseTemplateConsidersObjectFieldBeforeAttachment | 1PASS | ||
0.72727275
|
org.xwiki.cache.infinispan.InfinispanCacheTest.testCreateAndDestroyCacheLRULifespanorg.xwiki.cache.infinispan.InfinispanCacheTest.testCreateAndDestroyCacheLRULifespan | 1PASS | ||
0.72727275
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRoot | 1PASS | ||
0.72727275
|
org.xwiki.rendering.internal.macro.cache.CacheMacroTest.executeWithDifferentMaxEntriesorg.xwiki.rendering.internal.macro.cache.CacheMacroTest.executeWithDifferentMaxEntries | 1PASS | ||
0.72727275
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiRequiringPRAfterDropPermissionorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiRequiringPRAfterDropPermission | 1PASS | ||
0.72727275
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallMandatoryorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallMandatory | 1PASS | ||
0.72727275
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallFromWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallFromWiki | 1PASS | ||
0.72727275
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWiki | 1PASS | ||
0.72727275
|
org.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testUnRegisterWikiMacroWithDifferentVisibilityKeysorg.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testUnRegisterWikiMacroWithDifferentVisibilityKeys | 1PASS | ||
0.72727275
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRoot | 1PASS | ||
0.72727275
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnRoot | 1PASS | ||
0.72727275
|
org.xwiki.rendering.internal.macro.cache.CacheMacroTest.executeWithDifferentTimeToLiveorg.xwiki.rendering.internal.macro.cache.CacheMacroTest.executeWithDifferentTimeToLive | 1PASS | ||
0.72727275
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAdminRights | 1PASS | ||
0.72727275
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testCreateNewWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testCreateNewWiki | 1PASS | ||
0.72727275
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnRootWithoutAdminRights | 1PASS | ||
0.72727275
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnUnsupportedNamespaceorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnUnsupportedNamespace | 1PASS | ||
0.72727275
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiAndRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiAndRoot | 1PASS | ||
0.72727275
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUpgradeOnWiki | 1PASS | ||
0.72727275
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnWikiWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnWikiWithoutAdminRights | 1PASS | ||
0.72727275
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootAndWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnRootAndWiki | 1PASS | ||
0.72727275
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnRootWithoutAdminRightsorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallOnRootWithoutAdminRights | 1PASS | ||
0.72727275
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAuthororg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnWikiWithoutAuthor | 1PASS | ||
0.72727275
|
org.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiMacroBindingorg.xwiki.rendering.wikimacro.internal.DefaultWikiMacroTest.testExecuteWhenWikiMacroBinding | 1PASS | ||
0.72727275
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testUninstallExtensionWithCommonDocumentOnWiki | 1PASS | ||
0.72727275
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.72727275
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRootorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRoot | 1PASS | ||
0.72727275
|
org.xwiki.cache.infinispan.InfinispanCacheTest.testCreateAndDestroyCacheLRUMaxEntriesorg.xwiki.cache.infinispan.InfinispanCacheTest.testCreateAndDestroyCacheLRUMaxEntries | 1PASS | ||
0.72727275
|
org.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testSaveWikiMacroorg.xwiki.rendering.wikimacro.internal.WikiMacrosTest.testSaveWikiMacro | 1PASS | ||
0.72727275
|
org.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testDowngradeOnWikiorg.xwiki.extension.xar.internal.handler.XarExtensionHandlerTest.testDowngradeOnWiki | 1PASS | ||
0.36363637
|
org.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewANewVersionOfAnExistingOfficeAttachmentorg.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewANewVersionOfAnExistingOfficeAttachment | 1PASS | ||
0.36363637
|
org.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewPresentationorg.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewPresentation | 1PASS | ||
0.36363637
|
org.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewNonExistingOfficeAttachmentorg.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewNonExistingOfficeAttachment | 1PASS | ||
0.36363637
|
org.xwiki.activitystream.WebRssTest.webRssDisplayorg.xwiki.activitystream.WebRssTest.webRssDisplay | 3FAIL | ||
0.36363637
|
org.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewExistingOfficeAttachmentWithCacheHitorg.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewExistingOfficeAttachmentWithCacheHit | 1PASS | ||
0.36363637
|
org.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewExistingOfficeFileWithCacheHitorg.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewExistingOfficeFileWithCacheHit | 1PASS | ||
0.36363637
|
org.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewExistingOfficeAttachmentWithCacheMissorg.xwiki.office.viewer.internal.DefaultOfficeResourceViewerTest.testViewExistingOfficeAttachmentWithCacheMiss | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallExtensionOnIncompatibleNamespaceorg.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallExtensionOnIncompatibleNamespace | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteOnNamespaceorg.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteOnNamespace | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeOnDifferentIdorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeOnDifferentId | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithLowerCoreDependencyFeatureorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithLowerCoreDependencyFeature | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithDependencyOnANamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithDependencyOnANamespace | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionOnNamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionOnNamespace | 1PASS | ||
0.18181819
|
org.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusWithNullIdorg.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusWithNullId | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnRootorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithSimpleRemoteExtensionOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithSimpleRemoteExtensionOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallLowerVersionOfDependencyOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallLowerVersionOfDependencyOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusWithMultipleIdorg.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusWithMultipleId | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallAllorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallAll | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithInstalledDependencyOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithInstalledDependencyOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallEntensionAndUninstallDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallEntensionAndUninstallDependency | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallExtensionAndUninstallDependencyOnANamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallExtensionAndUninstallDependencyOnANamespace | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithDependency | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanWithDependencyOnRootorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanWithDependencyOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreExtensionorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreExtension | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallDependencyInstallExtensionOnANamespaceAndUninstallDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallDependencyInstallExtensionOnANamespaceAndUninstallDependency | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnRootorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairInvalidOnRootorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairInvalidOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithOverwrittenManagedDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithOverwrittenManagedDependency | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testExtensionInstalledOnNamespaceAtInitorg.xwiki.extension.jar.JarExtensionHandlerTest.testExtensionInstalledOnNamespaceAtInit | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallRemoteWithMissingDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallRemoteWithMissingDependency | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenMoveDependencyOnRootorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenMoveDependencyOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenOnRootWithLowerDependencyorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenOnRootWithLowerDependency | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallNameSpaceExtensionWithExistingRootExtensionorg.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallNameSpaceExtensionWithExistingRootExtension | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallNameSpaceExtensionWithExistingRootExtensionorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallNameSpaceExtensionWithExistingRootExtension | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithDowngradeOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithDowngradeOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithoutComponentsorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionWithoutComponents | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallDependency | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteOnNamespacesorg.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteOnNamespaces | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallDependencyAllorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallDependencyAll | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.job.internal.DefaultJobStatusStoreTest.removeJobStatusorg.xwiki.job.internal.DefaultJobStatusStoreTest.removeJobStatus | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallDependencyInstallExtensionOnANamespaceAndUninstallExtensionorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallDependencyInstallExtensionOnANamespaceAndUninstallExtension | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRootorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallOnNamespaceThenUpgradeOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallWithBackwarDepencencyorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallWithBackwarDepencency | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceWithGlobalDependencyAndUninstallDependencyorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceWithGlobalDependencyAndUninstallDependency | 1PASS | ||
0.18181819
|
com.xpn.xwiki.store.XWikiCacheStoreTest.testLoadXWikiDoccom.xpn.xwiki.store.XWikiCacheStoreTest.testLoadXWikiDoc | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanWithDependencyOnNamespaceorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanWithDependencyOnNamespace | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithRemoteDependencyOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithRemoteDependencyOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteWithMissingDependencyorg.xwiki.extension.job.internal.InstallJobTest.testInstallRemoteWithMissingDependency | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreDependencyOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreDependencyOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallOnNamespaceThenUnpgradeOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallOnNamespaceThenUnpgradeOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnRootWithTargetDependencyExtensionorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnRootWithTargetDependencyExtension | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallTwiceorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallTwice | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallorg.xwiki.extension.job.internal.UninstallJobTest.testUninstall | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnNamespaceWithExtensionOnRootorg.xwiki.extension.job.internal.UpgradePlanJobTest.testUpgradePlanOnNamespaceWithExtensionOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUnsupportedTypeorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUnsupportedType | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testUpgradeAndDowngradeExtensionOnNamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testUpgradeAndDowngradeExtensionOnNamespace | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithFeatureAsCoreExtensionorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithFeatureAsCoreExtension | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusInWrongPlaceAndWithInvalidLogArgumentorg.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusInWrongPlaceAndWithInvalidLogArgument | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallOnNamespaceThenOnRootorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallOnNamespaceThenOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceWithGlobalDependencyAndUninstallorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceWithGlobalDependencyAndUninstall | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallNameSpaceExtensionWithIncompatibleRootDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testForbiddenInstallNameSpaceExtensionWithIncompatibleRootDependency | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromNamespaceWithBackwarDepencencyorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromNamespaceWithBackwarDepencency | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeFeatureWithDifferentVersionorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithUpgradeFeatureWithDifferentVersion | 1PASS | ||
0.18181819
|
org.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnWikiorg.xwiki.extension.xar.internal.job.RepairXarJobTest.testRepairOnWiki | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithManagedDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithManagedDependency | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallJobTest.testReplaceDependencyWithFeatureorg.xwiki.extension.job.internal.InstallJobTest.testReplaceDependencyWithFeature | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromNamespaceorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromNamespace | 1PASS | ||
0.18181819
|
org.xwiki.job.internal.DefaultJobStatusStoreTest.storeJobStatusorg.xwiki.job.internal.DefaultJobStatusStoreTest.storeJobStatus | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallJobTest.testUpgradeFirstOnRootorg.xwiki.extension.job.internal.InstallJobTest.testUpgradeFirstOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testExtensionInstalledOnRootAtInitorg.xwiki.extension.jar.JarExtensionHandlerTest.testExtensionInstalledOnRootAtInit | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtensionorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallExtension | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithFeatureAsCoreExtensionFeatureorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithFeatureAsCoreExtensionFeature | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallWebjarExtensionorg.xwiki.extension.jar.JarExtensionHandlerTest.testInstallAndUninstallWebjarExtension | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testReInstalledWithMissingDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testReInstalledWithMissingDependency | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallJobTest.testDowngradeFirstOnRootorg.xwiki.extension.job.internal.InstallJobTest.testDowngradeFirstOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromAllNamespacesorg.xwiki.extension.job.internal.UninstallJobTest.testUninstallFromAllNamespaces | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallNameSpaceExtensionWithDependencyAllowedOnRootOnlyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallNameSpaceExtensionWithDependencyAllowedOnRootOnly | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreExtensionFeatureorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithCoreExtensionFeature | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithManagedTransitiveDependencyorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallWithManagedTransitiveDependency | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnRootorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusThatDoesNotExistorg.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusThatDoesNotExist | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenUpgradeOnRootorg.xwiki.extension.job.internal.InstallJobTest.testInstallOnNamespaceThenUpgradeOnRoot | 1PASS | ||
0.18181819
|
org.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusInOldPlaceorg.xwiki.job.internal.DefaultJobStatusStoreTest.getJobStatusInOldPlace | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testUninstallInvalidExtensionFromNamespaceorg.xwiki.extension.jar.JarExtensionHandlerTest.testUninstallInvalidExtensionFromNamespace | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithHigherCoreDependencyFeatureorg.xwiki.extension.job.internal.InstallPlanJobTest.testInstallPlanWithHigherCoreDependencyFeature | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstallorg.xwiki.extension.jar.JarExtensionHandlerTest.testMultipleInstallOnANamespaceAndUninstall | 1PASS | ||
0.18181819
|
org.xwiki.extension.jar.JarExtensionHandlerTest.testUninstallInvalidExtensionFromRootorg.xwiki.extension.jar.JarExtensionHandlerTest.testUninstallInvalidExtensionFromRoot | 1PASS | ||
0.18181819
|
org.xwiki.extension.job.internal.InstallPlanJobTest.testUpgradeExtensionOnNamespaceWithDependencyAllowedOnRootOnlyorg.xwiki.extension.job.internal.InstallPlanJobTest.testUpgradeExtensionOnNamespaceWithDependencyAllowedOnRootOnly | 1PASS |
1 | /* | ||||||
2 | * See the NOTICE file distributed with this work for additional | ||||||
3 | * information regarding copyright ownership. | ||||||
4 | * | ||||||
5 | * This is free software; you can redistribute it and/or modify it | ||||||
6 | * under the terms of the GNU Lesser General Public License as | ||||||
7 | * published by the Free Software Foundation; either version 2.1 of | ||||||
8 | * the License, or (at your option) any later version. | ||||||
9 | * | ||||||
10 | * This software is distributed in the hope that it will be useful, | ||||||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||||||
13 | * Lesser General Public License for more details. | ||||||
14 | * | ||||||
15 | * You should have received a copy of the GNU Lesser General Public | ||||||
16 | * License along with this software; if not, write to the Free | ||||||
17 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | ||||||
18 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. | ||||||
19 | */ | ||||||
20 | package org.xwiki.cache.eviction; | ||||||
21 | |||||||
22 | import java.util.HashMap; | ||||||
23 | |||||||
24 | /** | ||||||
25 | * This configuration class is used to add constraints in the configuration of the cache to create. | ||||||
26 | * <p> | ||||||
27 | * <code> | ||||||
28 | * CacheFactory factory = (CacheFactory) getComponentManager().lookup(CacheFactory.class, this.roleHint); | ||||||
29 | * | ||||||
30 | * CacheConfiguration conf = new CacheConfiguration(); | ||||||
31 | * LRUEvictionConfiguration lec = new LRUEvictionConfiguration(); | ||||||
32 | * lec.setMaxEntries(1); | ||||||
33 | * conf.put(LRUEvictionConfiguration.CONFIGURATIONID, lec); | ||||||
34 | * </code> | ||||||
35 | * | ||||||
36 | * @version $Id: 8c63261a8d7b04a568a0bbf424f129bb3a68426e $ | ||||||
37 | */ | ||||||
|
|||||||
38 | public class EntryEvictionConfiguration extends HashMap<String, Object> | ||||||
39 | { | ||||||
40 | /** | ||||||
41 | * The key use to access eviction configuration in the {@link org.xwiki.cache.config.CacheConfiguration}. | ||||||
42 | */ | ||||||
43 | public static final String CONFIGURATIONID = "eviction"; | ||||||
44 | |||||||
45 | /** | ||||||
46 | * @see #getTimeToLive() | ||||||
47 | */ | ||||||
48 | public static final String TIMETOLIVE_ID = "timetolive"; | ||||||
49 | |||||||
50 | /** | ||||||
51 | * The ordering/storing algorithm used by the cache. | ||||||
52 | * | ||||||
53 | * @version $Id: 8c63261a8d7b04a568a0bbf424f129bb3a68426e $ | ||||||
54 | */ | ||||||
|
|||||||
55 | public enum Algorithm | ||||||
56 | { | ||||||
57 | /** | ||||||
58 | * Unlimited cache. Depends of the implementation own limitations. | ||||||
59 | * <p> | ||||||
60 | * No specific configuration. | ||||||
61 | */ | ||||||
62 | NONE, | ||||||
63 | /** | ||||||
64 | * Evicts the least recently used entry when thresholds are hit. | ||||||
65 | * <p> | ||||||
66 | * Support <code>maxentries</code> property. See {@link LRUEvictionConfiguration}. | ||||||
67 | */ | ||||||
68 | LRU | ||||||
69 | } | ||||||
70 | |||||||
71 | /** | ||||||
72 | * The ordering/storing algorithm used by the cache. | ||||||
73 | */ | ||||||
74 | private Algorithm mode; | ||||||
75 | |||||||
76 | /** | ||||||
77 | * @param mode the ordering/storing algorithm used by the cache. | ||||||
78 | */ | ||||||
|
|||||||
79 | 730 | public void setAlgorithm(Algorithm mode)... | |||||
80 | { | ||||||
81 | 730 | this.mode = mode; | |||||
82 | } | ||||||
83 | |||||||
84 | /** | ||||||
85 | * @return the ordering/storing algorithm used by the cache. | ||||||
86 | */ | ||||||
|
|||||||
87 | 468 | public Algorithm getAlgorithm()... | |||||
88 | { | ||||||
89 | 468 | return mode; | |||||
90 | } | ||||||
91 | |||||||
92 | /** | ||||||
93 | * @param timeToLive see {@link #getTimeToLive()} | ||||||
94 | */ | ||||||
|
|||||||
95 | 109 | public void setTimeToLive(int timeToLive)... | |||||
96 | { | ||||||
97 | 109 | put(TIMETOLIVE_ID, timeToLive); | |||||
98 | } | ||||||
99 | |||||||
100 | /** | ||||||
101 | * @return the time a cache entry will continue to stay in the cache after being last accessed, in seconds. When | ||||||
102 | * the time is reached, the entry is expired and removed from the cache. In addition, when the cache | ||||||
103 | * reaches its maximum number of entries, the defined eviction algorithm is used (e.g. LRU) and thus an | ||||||
104 | * entry can stay less time in the cache than its maximum defined time. | ||||||
105 | */ | ||||||
|
|||||||
106 | 672 | public int getTimeToLive()... | |||||
107 | { | ||||||
108 | 672 | Object obj = get(TIMETOLIVE_ID); | |||||
109 | |||||||
110 | 672 | return obj == null ? 0 : (Integer) get(TIMETOLIVE_ID); | |||||
111 | } | ||||||
112 | } |