Clone
Abdullah Alamoudi <bamousaa@gmail.com>
committed
on 06 Nov 17
[NO ISSUE][STO] Add a callback on recycling of memory components
- user model changes: no
- storage format changes: no
- interface change: y… Show more
[NO ISSUE][STO] Add a callback on recycling of memory components

- user model changes: no

- storage format changes: no

- interface change: yes

 - ILSMIOOperationCallbackFactory.createIoOpCallback now takes

   the ILSMIndex as a parameter.

 - Remove ILSMIOOperationCallback.setNumOfMutableComponents

   The callback can find out the number of mutable components

   on instantiation since the lsm index is now passed.

 - ILSMIOOperationCallback.allocated was added.

   It gets called whenever a memory component is allocated.

 - ILSMIOOperationCallback.recycled was added.

   It gets called whenever a memory component is recycled.

 - ILSMIndex.hasMemoryComponent is replaced with

   ILSMIndex.getNumberOfMemoryComponents

Change-Id: I578ffd7ef17784034c94f3c0d23cd5094e39f6e0

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2126

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

Show less

master + 4 more