1 52 53 package com.go.teaservlet; 54 55 import java.util.Map ; 56 import java.util.Arrays ; 57 import com.go.tea.runtime.Substitution; 58 import com.go.trove.io.*; 59 import com.go.trove.util.Depot; 60 import com.go.trove.util.Utils; 61 import com.go.trove.util.MultiKey; 62 63 69 public interface RegionCachingContext { 70 71 77 public void cache(Substitution s) throws Exception ; 78 79 86 public void cache(long ttlMillis, Substitution s) throws Exception ; 87 88 97 public void cache(long ttlMillis, Object key, Substitution s) 98 throws Exception ; 99 100 public void nocache(Substitution s) throws Exception ; 101 102 public RegionCachingApplication.RegionCacheInfo getRegionCacheInfo(); 103 104 public RegionCachingApplication.ClusterCacheInfo getClusterCacheInfo(); 105 } 106 | Popular Tags |