1 5 package com.opensymphony.oscache.base.events; 6 7 import com.opensymphony.oscache.base.Cache; 8 9 15 public final class CachePatternEvent extends CacheEvent { 16 19 private Cache map = null; 20 21 24 private String pattern = null; 25 26 32 public CachePatternEvent(Cache map, String pattern) { 33 this(map, pattern, null); 34 } 35 36 46 public CachePatternEvent(Cache map, String pattern, String origin) { 47 super(origin); 48 this.map = map; 49 this.pattern = pattern; 50 } 51 52 55 public Cache getMap() { 56 return map; 57 } 58 59 62 public String getPattern() { 63 return pattern; 64 } 65 66 public String toString() { 67 return "pattern=" + pattern; 68 } 69 } 70 | Popular Tags |