net.sf.ehcache.management.resource.CacheManagerEntityV2 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.AbstractEntityV2;
import java.util.HashMap;
import java.util.Map;
/**
*
* A {@link AbstractEntityV2} representing a cache manager resource from the management API.
*
*
* @author brandony
*/
public class CacheManagerEntityV2 extends AbstractEntityV2 {
private String name;
private final Map attributes = new HashMap();
/**
* @return the name
*/
public String getName() {
return name;
}
/**
* @param name to set
*/
public void setName(String name) {
this.name = name;
}
/**
*
* @return the cache manager's attributes
*/
public Map getAttributes() {
return attributes;
}
}