Cake

Tree caching

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: Cake Retired
  • Labels:
    None
  • Number of attachments :
    0

Description

Treemode
1)
unique keys
Op<K, TreeNode> for deciding to which treenode the key belongs

Mostly for configuring per node policies, maxsize, expirationtime, ...
And for quickly clearing selected parts of the cache.
getService-> has an (TreeNodeAttribute->TreeNode) attached, so services can return stuff on a treenode basis.
shutdown/awaitTermination()??

Questions
Allow Unique keys per node, but not per cache??
CacheServices per


Should we allow to retrieving services on a node basis?
Probably to complex?

package org.codehaus.cake.cache.service.tree

Configuration
.setEnabled();

TreeTypeKeys
StringSomething "/foo/bar/sjjsd"

Key is attached to attribute


Containers=folders;
items=cache entries;

settings for each containerallowing stuff
AllowSubContainers
AllowItems
AllowItemsAndSubContainers

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: