CacheEntry: Support caching of jsonobject

This will allow to store json objects in the cache.

Signed-off-by: Amnon Heiman <amnon@scylladb.com>
This commit is contained in:
Amnon Heiman 2016-05-17 09:32:50 +03:00
parent 2ff16fa2a5
commit a028e59699

View File

@ -21,6 +21,8 @@
package com.scylladb.jmx.api;
import javax.json.JsonObject;
import com.scylladb.jmx.utils.EstimatedHistogram;
public class CacheEntry {
@ -43,4 +45,8 @@ public class CacheEntry {
public EstimatedHistogram getEstimatedHistogram() {
return (EstimatedHistogram)value;
}
public JsonObject jsonObject() {
return (JsonObject) value;
}
}