class NegativeLookupCache extends Object
| Constructor and Description |
|---|
NegativeLookupCache(RouterContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
failPermanently(net.i2p.data.Destination dest)
Negative cache the hash until restart,
but cache the destination.
|
net.i2p.data.Destination |
getBadDest(net.i2p.data.Hash h)
Get an unsupported but cached Destination
|
boolean |
isCached(net.i2p.data.Hash h) |
void |
lookupFailed(net.i2p.data.Hash h) |
public NegativeLookupCache(RouterContext context)
public void lookupFailed(net.i2p.data.Hash h)
public boolean isCached(net.i2p.data.Hash h)
public void failPermanently(net.i2p.data.Destination dest)
public net.i2p.data.Destination getBadDest(net.i2p.data.Hash h)
public void clear()