1 5 package com.opensymphony.oscache.base.events; 6 7 import com.opensymphony.oscache.base.Cache; 8 9 17 public final class CacheGroupEvent extends CacheEvent { 18 21 private Cache map = null; 22 23 26 private String group = null; 27 28 34 public CacheGroupEvent(Cache map, String group) { 35 this(map, group, null); 36 } 37 38 48 public CacheGroupEvent(Cache map, String group, String origin) { 49 super(origin); 50 this.map = map; 51 this.group = group; 52 } 53 54 57 public String getGroup() { 58 return group; 59 } 60 61 64 public Cache getMap() { 65 return map; 66 } 67 68 public String toString() { 69 return "groupName=" + group; 70 } 71 } 72 | Popular Tags |