예제 #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);
 }