aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/measite/minidns/DNSCache.java
blob: 78e6c041f6f72b7605fb222f94fc1b4b31e02274 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package de.measite.minidns;

/**
 * Cache for DNS Entries. Implementations must be thread safe.
 */
public interface DNSCache {

    void put(Question q, DNSMessage message);

    DNSMessage get(Question q);

}