示例#1
0
文件: dns.java 项目: lemmy/dnsjava
 /**
  * Obtains the Cache used by functions in the dns class. This can be used to perform more specific
  * queries and/or remove elements.
  *
  * @param dclass The dns class of data in the cache
  */
 public static synchronized Cache getCache(int dclass) {
   return Lookup.getDefaultCache(dclass);
 }
示例#2
0
文件: dns.java 项目: lemmy/dnsjava
 /**
  * Obtains the (class IN) Cache used by functions in the dns class. This can be used to perform
  * more specific queries and/or remove elements.
  */
 public static synchronized Cache getCache() {
   return Lookup.getDefaultCache(DClass.IN);
 }