1 package org.hibernate.cache; 3 4 import java.util.Properties ; 5 6 11 public class HashtableCacheProvider implements CacheProvider { 12 13 public Cache buildCache(String regionName, Properties properties) throws CacheException { 14 return new HashtableCache( regionName ); 15 } 16 17 public long nextTimestamp() { 18 return Timestamper.next(); 19 } 20 21 27 public void start(Properties properties) throws CacheException { 28 } 29 30 34 public void stop() { 35 } 36 37 public boolean isMinimalPutsEnabledByDefault() { 38 return false; 39 } 40 41 } 42 43 | Popular Tags |