openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Woods (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OPENJPA-1334) Support instance level distribution policy for named cache partitions
Date Mon, 26 Oct 2009 13:28:59 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Donald Woods updated OPENJPA-1334:
----------------------------------

    Fix Version/s:     (was: 2.0.0)
                   2.0.0-M4

Comment from Pinaki in an email about r828880 -

   1. introduces a JPAProperties class. It is in preliminary stage but its purpose is to corral
all JPA property key/value manipulation. If you are playing with JPA properties and needs
more support, please consider adding them to this class rather than spreading them. 

   2. Or know of some related processing happening elsewhere please consider relocation. For
example, I found the following logic tucked in FetchPlanHintHandler...which may now live in
JPAProperties.
             // to accomodate alias name input in relationship with enum values
            //  e.g. "optimistic-force-increment" == 
            //          LockModeType.OPTIMISTIC_FORCE_INCREMENT
            String strValue = ((String) value).toUpperCase().replace('-', '_');

    3. Changed use of implementation to interfaces in HintHandler. Please note that implementations
are preferred not only for architectural aesthetics or programming discipline, but also helps
any other downstream plug-ins.  

    4. Used FetchPlan to carry these cache mode properties from facade to kernel. This decision
aligns better with other configuration properties such as lock modes etc, and also tagging
them on FetchPlan helps to reuse tested pathways. This change deprecated supporting methods/constructs
appearing in StoreContext.


> Support instance level distribution policy for named cache partitions
> ---------------------------------------------------------------------
>
>                 Key: OPENJPA-1334
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1334
>             Project: OpenJPA
>          Issue Type: New Feature
>          Components: datacache
>    Affects Versions: 2.0.0
>            Reporter: Pinaki Poddar
>            Assignee: Pinaki Poddar
>             Fix For: 2.0.0-M4
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> OpenJPA models L2 cache as one or more named partitions. And is able to assign a managed
instance to a named partition. However, this distribution of managed instances to specific
named partition is based on the instance's type and not an the instance itself. The type based
as distribution allows the named cache partition be specified at metadata level. 
> This proposed feature is to introduce a distribution policy that extends the support
for instance based distribution policy. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message