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