[
https://issues.jboss.org/browse/ISPN-2201?page=com.atlassian.jira.plugin....
]
Mircea Markus commented on ISPN-2201:
-------------------------------------
An interesting conversation related to flags:
http://infinispan.markmail.org/thread/5wdhk6suz2aepf62
This should be approached when re-designing the cache API to be closer to JCache and
provide specific methods would make the use of certain Flags unneeded:
e.g. putNoGet instead of cache.getAdvancedCache().withFlag(IGNORE_RETURN_VALUE) etc.
Make a distinction between user-level and internal flags
--------------------------------------------------------
Key: ISPN-2201
URL:
https://issues.jboss.org/browse/ISPN-2201
Project: Infinispan
Issue Type: Enhancement
Reporter: Galder ZamarreƱo
Assignee: Galder ZamarreƱo
Fix For: 6.0.0.Alpha1, 6.0.0.Final
This confusion is highlighted by ISPN-2187.
User-level flags, i.e. FORCE_WRITE_LOCK, should be separated from those that are purely
internal, i.e. PUT_FOR_EXTERNAL_READ.
Obviously, user-level flags might be used for internal purpouses, but by making the
separation and putting the internal-only flags separately, we should avoid misuse.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira