How to put catche in liferay? -
earlier putting catche in liferay of below code.
multivmkeypoolutil.put("school", "id", "files"); in liferay 6.2 multivmkeypoolutil not available how can put catche. there no method put in multivmpoolutil class. had search many alternative couldn't find put method in it.
as multivmkeypoolutil not supported liferay 6.2. had used multivmpoolutil class below.
multivmpoolutil.getcache("school").put("id","files"); if want put collection cache use below code.we require make list serializable
multivmpoolutil.getcache("school").put("id",(serializable) courses);
Comments
Post a Comment