public Trie getCachedTrie(String type) {
// check to see if there is already a Trie in the memcache
// to do that, first get the cache
try {
CacheFactory cacheFactory = CacheManager.getInstance().getCacheFactory();
cache = cacheFactory.createCache(Collections.emptyMap());
} catch (CacheException e) {}
// then, look in it for a Trie by Key value
if (cache.containsKey(type+ "_trie")) {t = (Trie) cache.get(type+ "_trie");}
// if a Trie exists already in the memcache, return a reference to that memcached trie
if (t != null) {return t;}