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 management-ehcache Show documentation
Show all versions of management-ehcache Show documentation
A library defining the ehcache management resource service interfaces and resource entities.
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.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;
}
}