Beispiel #1
0
 /**
  * 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);
 }
Beispiel #2
0
 /**
  * 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);
 }