Home | History | Annotate | Download | only in DNS

Lines Matching defs:Cache

9  * A cache of DNS records.  The cache obeys TTLs, so items are purged after
20 public class Cache {
164 * Creates an empty Cache
166 * @param dclass The DNS class of this cache
170 Cache(int dclass) {
176 * Creates an empty Cache for class IN.
180 Cache() {
185 * Creates a Cache which initially contains all records in the specified file.
188 Cache(String file) throws IOException {
313 /** Empties the Cache. */
320 * Adds a record to the Cache.
345 * Adds an RRset to the Cache.
374 * Adds a negative entry to the Cache.
377 * @param soa The SOA record to add to the negative cache entry, or null.
378 * The negative cache ttl is derived from the SOA.
502 * Looks up Records in the Cache. This follows CNAMEs and handles negatively
526 * Looks up credible Records in the Cache (a wrapper around lookupRecords).
539 * Looks up Records in the Cache (a wrapper around lookupRecords). Unlike
585 * Adds all data from a Message into the Cache. Each record is added with
588 * @return A SetResponse that reflects what would be returned from a cache
703 /* Cache the NS set from a positive response. */
726 * Flushes an RRset from the cache
737 * Flushes all RRsets with a given name from the cache
748 * in this Cache. A negative value disables this feature (that is, sets
758 * in this Cache. A negative value indicates no limit.
767 * Cache. A negative value disables this feature (that is, sets no limit).
776 * in this Cache. A negative value indicates no limit.
784 * Gets the current number of entries in the Cache, where an entry consists
793 * Gets the maximum number of entries in the Cache, where an entry consists
803 * Sets the maximum number of entries in the Cache, where an entry consists
808 * of entries will not cause the Cache to shrink immediately.
812 * @param entries The maximum number of entries in the Cache.
820 * Returns the DNS class of this cache.
828 * Returns the contents of the Cache as a string.