org.codelibs.elasticsearch.taste.model.cache.DmValue Maven / Gradle / Ivy
package org.codelibs.elasticsearch.taste.model.cache;
public class DmValue {
private Object value;
private int size;
public DmValue(final Object value, final int size) {
this.value = value;
this.size = size;
}
@SuppressWarnings("unchecked")
public T getValue() {
return (T) value;
}
public int getSize() {
return size;
}
}