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 management-ehcache-v2 Show documentation
Show all versions of management-ehcache-v2 Show documentation
A library defining the ehcache management resource services and resource entities, version 2
The newest version!
/* 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;
}
}