[
https://issues.apache.org/jira/browse/DIRECTMEMORY-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13220839#comment-13220839
]
Hudson commented on DIRECTMEMORY-77:
------------------------------------
Integrated in directmemory-trunk #163 (See
[https://builds.apache.org/job/directmemory-trunk/163/])
DIRECTMEMORY-77 : make MemoryManagerServiceWithAllocationPolicyImpl the
default MemoryManagerService (Revision 1296107)
Result = SUCCESS
bperroud :
Files :
*
/incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/MemoryManager.java
*
/incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/MemoryManagerServiceImpl.java
*
/incubator/directmemory/trunk/directmemory-cache/src/main/java/org/apache/directmemory/memory/MemoryManagerServiceWithAllocationPolicyImpl.java
*
/incubator/directmemory/trunk/directmemory-cache/src/test/java/org/apache/directmemory/cache/CacheServiceImplTest.java
*
/incubator/directmemory/trunk/integrations/ehcache/src/main/java/org/apache/directmemory/ehcache/DirectMemoryCache.java
*
/incubator/directmemory/trunk/itests/osgi/src/test/java/org/apache/directmemory/tests/osgi/cache/CacheServiceExportingActivator.java
> Make MemoryManagerServiceWithAllocationPolicyImpl the default
> MemoryManagerService implementation
> -------------------------------------------------------------------------------------------------
>
> Key: DIRECTMEMORY-77
> URL: https://issues.apache.org/jira/browse/DIRECTMEMORY-77
> Project: Apache DirectMemory
> Issue Type: Improvement
> Reporter: Benoit Perroud
> Assignee: Benoit Perroud
> Priority: Trivial
> Fix For: 0.6.0
>
>
> {{{MemoryManagerServiceWithAllocationPolicyImpl}}} extends
> {{{MemoryManagerServiceImpl}}} and adds the ability to specify an
> {{{AllocationPolicy}}}.
> {{{MemoryManagerServiceImpl}}} has a somehow strange behavior, it try a
> second time to allocate space in a buffer if the first allocation failed.
> This behavior is generalized and configurable in
> {{{MemoryManagerServiceWithAllocationPolicyImpl}}}, and the default
> {{{RoundRobinAllocationPolicy}}} is even by default configured to 2.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira