adaptation of the Infinispan