org.terracotta.management.resource.ResponseEntityV2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ehcache Show documentation
Show all versions of ehcache Show documentation
Ehcache is an open source, standards-based cache used to boost performance,
offload the database and simplify scalability. Ehcache is robust, proven and full-featured and
this has made it the most widely-used Java-based cache.
package org.terracotta.management.resource;
import java.util.ArrayList;
import java.util.Collection;
public class ResponseEntityV2 extends AbstractEntityV2 {
private String apiVersion = VERSION_V2;
private final Collection entities = new ArrayList();
private final Collection exceptionEntities = new ArrayList();
public Collection getEntities() {
return entities;
}
public Collection getExceptionEntities() {
return exceptionEntities;
}
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
/**
* @return version detail for associated with this entity
*/
public String getApiVersion() {
return apiVersion;
}
}