Class NullCache

java.lang.Object
com.google.common.util.concurrent.AbstractIdleService
org.graylog2.plugin.lookup.LookupCache
org.graylog2.lookup.caches.NullCache
All Implemented Interfaces:
com.google.common.util.concurrent.Service

public class NullCache extends LookupCache
The cache that doesn't. Used in place when no cache is wanted, having a null implementation saves us ugly null checks.