LPS-33359 Update API so as to not use deprecated methods from Ehcache