コード例 #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);
 }