Cache using java direct memory, and integrate with ehcahce.