org.terracotta.management.resource.AgentEntityV2 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 org.terracotta.management.resource;
import java.util.HashMap;
import java.util.Map;
/**
*
* Represents an agent for some monitorable application. It provides access to the root {@link Representable} objects
* in an appropriate state as determined by the resource providing it.
*
*
* @author brandony
*
*/
public class AgentEntityV2 extends AbstractEntityV2 {
private String agencyOf;
private final Map rootRepresentables = new HashMap();
public String getAgencyOf() {
return agencyOf;
}
public void setAgencyOf(String agencyOf) {
this.agencyOf = agencyOf;
}
public Map getRootRepresentables() {
return rootRepresentables;
}
}