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