org.terracotta.management.resource.events.EventEntityV2 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 Terracotta, Inc., unless otherwise indicated. All rights reserved.
*/
package org.terracotta.management.resource.events;
import java.util.HashMap;
import java.util.Map;
import org.terracotta.management.resource.AbstractEntityV2;
/**
* A {@link org.terracotta.management.resource.AbstractEntityV2} representing an event
* from the management API.
*
* @author Ludovic Orban
*/
public class EventEntityV2 extends AbstractEntityV2 {
private String type;
private String apiVersion = VERSION_V2;
private final Map rootRepresentables = new HashMap();
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getApiVersion() {
return apiVersion;
}
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
public Map getRootRepresentables() {
return rootRepresentables;
}
}