net.sf.ehcache.management.resource.CacheConfigEntity 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.
/* All content copyright (c) 2003-2012 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.*/
package net.sf.ehcache.management.resource;
import org.terracotta.management.resource.VersionedEntity;
/**
*
* A {@link VersionedEntity} representing a cache configuration resource from the management API.
*
*
* @author brandony
*
*/
public class CacheConfigEntity extends VersionedEntity {
private String cacheName;
private String cacheManagerName;
private String agentId;
private String xml;
public String getCacheManagerName() {
return cacheManagerName;
}
public void setCacheManagerName(String cacheManagerName) {
this.cacheManagerName = cacheManagerName;
}
public String getXml() {
return xml;
}
public void setXml(String xml) {
this.xml = xml;
}
public String getCacheName() {
return cacheName;
}
public void setCacheName(String cacheName) {
this.cacheName = cacheName;
}
@Override
public String getAgentId() {
return agentId;
}
@Override
public void setAgentId(String agentId) {
this.agentId = agentId;
}
}