fixed and debugget the shared cache mehtod, two new method has been added

- the method added need to get the value, a read-write or a read only value ptr for a determinate domain and attribute name